Find Unit's Misc Data Pointer (+0x15c)
Revision as of 17:39, 11 June 2016 by Emmy (talk | contribs) (Created page with " 0008ced0: 27bdffe8 addiu r29,r29,0xffe8 0008ced4: afbf0010 sw r31,0x0010(r29) 0008ced8: 0c01e9c9 jal 0x0007a724 Get unit misc data that matches r4 ID 0008cedc: 3084ff...")
0008ced0: 27bdffe8 addiu r29,r29,0xffe8 0008ced4: afbf0010 sw r31,0x0010(r29) 0008ced8: 0c01e9c9 jal 0x0007a724 Get unit misc data that matches r4 ID 0008cedc: 3084ffff andi r4,r4,0xffff r4 = Unit's ID 0008cee0: 14400002 bne r2,r0,0x0008ceec Branch if Pointer exists 0008cee4: 2442015c addiu r2,r2,0x015c Pointer += 0x15c (Target ID?) 0008cee8: 00001021 addu r2,r0,r0 Pointer = 0 0008ceec: 8fbf0010 lw r31,0x0010(r29) 0008cef0: 27bd0018 addiu r29,r29,0x0018 0008cef4: 03e00008 jr r31 0008cef8: 00000000 nop