Difference between revisions of "00081a94 - 00081acc"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
00081a94: 3084ffff andi r4,r4,0xffff | 00081a94: 3084ffff andi r4,r4,0xffff | ||
− | 00081a98: 00042080 sll r4,r4,0x02 | + | 00081a98: 00042080 sll r4,r4,0x02 Spritesheet ID * 4 |
00081a9c: 3c018009 lui r1,0x8009 | 00081a9c: 3c018009 lui r1,0x8009 | ||
00081aa0: 00240821 addu r1,r1,r4 | 00081aa0: 00240821 addu r1,r1,r4 | ||
− | 00081aa4: 90234748 lbu r3,0x4748(r1) | + | 00081aa4: 90234748 lbu r3,0x4748(r1) Load SEQ ID of spritesheet |
00081aa8: 00000000 nop | 00081aa8: 00000000 nop | ||
00081aac: 00031040 sll r2,r3,0x01 | 00081aac: 00031040 sll r2,r3,0x01 | ||
Line 13: | Line 13: | ||
00081abc: 00021180 sll r2,r2,0x06 | 00081abc: 00021180 sll r2,r2,0x06 | ||
00081ac0: 3c03800c lui r3,0x800c | 00081ac0: 3c03800c lui r3,0x800c | ||
− | 00081ac4: 2463e74c addiu r3,r3,0xe74c | + | 00081ac4: 2463e74c addiu r3,r3,0xe74c |
00081ac8: 03e00008 jr r31 | 00081ac8: 03e00008 jr r31 | ||
− | 00081acc: 00431021 addu r2,r2,r3 | + | 00081acc: 00431021 addu r2,r2,r3 return SEQ data pointer for sprite |
</font> | </font> |
Latest revision as of 05:47, 3 April 2023
00081a94: 3084ffff andi r4,r4,0xffff 00081a98: 00042080 sll r4,r4,0x02 Spritesheet ID * 4 00081a9c: 3c018009 lui r1,0x8009 00081aa0: 00240821 addu r1,r1,r4 00081aa4: 90234748 lbu r3,0x4748(r1) Load SEQ ID of spritesheet 00081aa8: 00000000 nop 00081aac: 00031040 sll r2,r3,0x01 00081ab0: 00431021 addu r2,r2,r3 00081ab4: 00021100 sll r2,r2,0x04 00081ab8: 00431021 addu r2,r2,r3 00081abc: 00021180 sll r2,r2,0x06 00081ac0: 3c03800c lui r3,0x800c 00081ac4: 2463e74c addiu r3,r3,0xe74c 00081ac8: 03e00008 jr r31 00081acc: 00431021 addu r2,r2,r3 return SEQ data pointer for sprite