Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __text:00065958 __ZN9CPlayChar8SetMaxHPEl ; CODE XREF: CBoss::ChangeShield(void)+66p
- __text:00065958 ; CBoss::ChangeRealHP(void)+20p ...
- __text:00065958 PUSH {R4,R5,R7,LR}
- __text:0006595A ADD R7, SP, #8
- __text:0006595C LDRB R3, [R0,#4]
- __text:0006595E MOV R4, R0
- __text:00065960 STR.W R1, [R0,#0x98]
- __text:00065964 CMP R3, #1
- __text:00065966 SXTB R2, R3
- __text:00065968 BEQ loc_65970
- __text:0006596A CBZ R3, loc_65970
- __text:0006596C CMP R2, #2
- __text:0006596E BNE locret_659B0
- __text:00065970
- __text:00065970 loc_65970 ; CODE XREF: CPlayChar::SetMaxHP(long)+10j
- __text:00065970 ; CPlayChar::SetMaxHP(long)+12j
- __text:00065970 LDRB.W R3, [R4,#0x7C]
- __text:00065974 CMP R3, #4
- __text:00065976 BEQ loc_6597A
- __text:00065978 CBNZ R3, locret_659B0
- __text:0006597A
- __text:0006597A loc_6597A ; CODE XREF: CPlayChar::SetMaxHP(long)+1Ej
- __text:0006597A LDR R3, [R4]
- __text:0006597C MOVS R1, #0xA
- __text:0006597E MOV R0, R4
- __text:00065980 LDR.W R3, [R3,#0xD4]
- __text:00065984 BLX R3
- __text:00065986 CMP R0, #0
- __text:00065988 BLE locret_659B0
- __text:0006598A LDR R3, [R4]
- __text:0006598C MOV R0, R4
- __text:0006598E MOVS R1, #0xA
- __text:00065990 LDR.W R5, [R4,#0x98]
- __text:00065994 LDR.W R3, [R3,#0x100]
- __text:00065998 BLX R3
- __text:0006599A LDR R3, =0x51EB851F
- __text:0006599C MUL.W R0, R5, R0
- __text:000659A0 SMULL.W R2, R3, R0, R3
- __text:000659A4 ASRS R0, R0, #0x1F
- __text:000659A6 RSB.W R0, R0, R3,ASR#5
- __text:000659AA ADDS R0, R0, R5
- __text:000659AC STR.W R0, [R4,#0x98]
- __text:000659B0
- __text:000659B0 locret_659B0 ; CODE XREF: CPlayChar::SetMaxHP(long)+16j
- __text:000659B0 ; CPlayChar::SetMaxHP(long)+20j ...
- __text:000659B0 POP {R4,R5,R7,PC}
- __text:000659B0 ; End of function CPlayChar::SetMaxHP(long)
Add Comment
Please, Sign In to add comment