Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RAM_ARM9:0201AB44 @ =============== S U B R O U T I N E =======================================
- RAM_ARM9:0201AB44
- RAM_ARM9:0201AB44
- RAM_ARM9:0201AB44 @ unsigned int __fastcall getNextPartyPKMAdr__(void *pCurrent, int partyPos)
- RAM_ARM9:0201AB44 getNextPartyPKMAdr__: @ CODE XREF: sub_2007C34+1Ap
- RAM_ARM9:0201AB44 @ sub_200B2A4+1Cp ...
- RAM_ARM9:0201AB44 DC 22 MOVS R2, #0xDC @ '_' @ 220, size of pkm
- RAM_ARM9:0201AB46 08 30 ADDS R0, #8 @ r0 += 8
- RAM_ARM9:0201AB48 4A 43 MULS R2, R1 @ pkm # * 220 to give position
- RAM_ARM9:0201AB4A 80 18 ADDS R0, R0, R2 @ add r2 to current pos to get new pkm
- RAM_ARM9:0201AB4C 70 47 BX LR
- RAM_ARM9:0201AB4C @ End of function getNextPartyPKMAdr__
Advertisement
Add Comment
Please, Sign In to add comment