Difference between revisions of "00124fd0 - 00124ff0"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00124fd0: 308403ff andi r4,r4,0x03ff 00124fd4: 00041040 sll r2,r4,0x01 00124fd8: 00441021 addu r2,r2,r4 00124fdc: 00021080 sll r2,r2,0x02 0012...") |
|||
Line 2: | Line 2: | ||
00124fd0: 308403ff andi r4,r4,0x03ff | 00124fd0: 308403ff andi r4,r4,0x03ff | ||
− | 00124fd4: 00041040 sll r2,r4,0x01 | + | 00124fd4: 00041040 sll r2,r4,0x01 #Item ID * 2 |
00124fd8: 00441021 addu r2,r2,r4 | 00124fd8: 00441021 addu r2,r2,r4 | ||
− | 00124fdc: 00021080 sll r2,r2,0x02 | + | 00124fdc: 00021080 sll r2,r2,0x02 #Item ID * 0xc |
00124fe0: 3c018006 lui r1,0x8006 | 00124fe0: 3c018006 lui r1,0x8006 | ||
00124fe4: 00220821 addu r1,r1,r2 | 00124fe4: 00220821 addu r1,r1,r2 | ||
− | 00124fe8: 90222ebd lbu r2,0x2ebd(r1) | + | 00124fe8: 90222ebd lbu r2,0x2ebd(r1) #return item's Item Type |
00124fec: 03e00008 jr r31 | 00124fec: 03e00008 jr r31 | ||
00124ff0: 00000000 nop | 00124ff0: 00000000 nop | ||
</font> | </font> |
Latest revision as of 02:14, 4 December 2022
00124fd0: 308403ff andi r4,r4,0x03ff 00124fd4: 00041040 sll r2,r4,0x01 #Item ID * 2 00124fd8: 00441021 addu r2,r2,r4 00124fdc: 00021080 sll r2,r2,0x02 #Item ID * 0xc 00124fe0: 3c018006 lui r1,0x8006 00124fe4: 00220821 addu r1,r1,r2 00124fe8: 90222ebd lbu r2,0x2ebd(r1) #return item's Item Type 00124fec: 03e00008 jr r31 00124ff0: 00000000 nop