Get some Spritesheet data address
Jump to navigation
Jump to search
000819a8: 3084ffff andi r4,r4,0xffff 000819ac: 00042080 sll r4,r4,0x02 spritesheet ID*4 000819b0: 3c018009 lui r1,0x8009 000819b4: 00240821 addu r1,r1,r4 000819b8: 90234748 lbu r3,0x4748(r1) load spritesheet type? 000819bc: 00000000 nop 000819c0: 28620005 slti r2,r3,0x0005 000819c4: 14400005 bne r2,r0,0x000819dc branch if Ruka or below 000819c8: 00031040 sll r2,r3,0x01 spritesheet ID*2 000819cc: 3c02800a lui r2,0x800a 000819d0: 2442839c addiu r2,r2,0x839c return 0x8009839c 000819d4: 08020680 j 0x00081a00 jump to end 000819d8: 00000000 nop 000819dc: 00431021 addu r2,r2,r3 spritesheetID*3 000819e0: 00021080 sll r2,r2,0x02 spritesheetID*12 000819e4: 00431021 addu r2,r2,r3 spritesheet ID*13 000819e8: 00021100 sll r2,r2,0x04 ID*208 000819ec: 00431021 addu r2,r2,r3 ID*209 000819f0: 000210c0 sll r2,r2,0x03 ID*1672 (0x688) 000819f4: 3c038009 lui r3,0x8009 000819f8: 246362f4 addiu r3,r3,0x62f4 load pointer for spritesheet ID 000819fc: 00431021 addu r2,r2,r3 800962f4 00081a00: 03e00008 jr r31 00081a04: 00000000 nop