Get Unit's Data Pointer
Jump to navigation
Jump to search
00180afc: 2c820015 sltiu r2,r4,0x0015 00180b00: 10400007 beq r2,r0,0x00180b20 Branch if ID >= 0x15 00180b04: 000410c0 sll r2,r4,0x03 ID * 8 00180b08: 00441023 subu r2,r2,r4 ID * 7 00180b0c: 00021180 sll r2,r2,0x06 ID * 448 00180b10: 3c038019 lui r3,0x8019 00180b14: 246308cc addiu r3,r3,0x08cc 00180b18: 080602c9 j 0x00180b24 00180b1c: 00431021 addu r2,r2,r3 r2 = Unit's Data Pointer 00180b20: 00001021 addu r2,r0,r0 r2 = 0 00180b24: 03e00008 jr r31 00180b28: 00000000 nop