001000c4 - 001000f4

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
WORLD.BIN
No Parameters
Returns r2 as combinedTextIndex used in Find_Text_Entry_(WORLD.BIN) 
----------------------------------------------------------------------
001000c4: 3c01801d lui r1,0x801d
001000c8: 00200821 addu r1,r1,r0
001000cc: 8c28d170 lw r8,-0x2e90(r1)  Load Current Thread ID  ( 801cd170 )
001000d0: 00000000 nop
001000d4: 00084280 sll r8,r8,0x0a
001000d8: 3c018015 lui r1,0x8015
001000dc: 00200821 addu r1,r1,r0
001000e0: 8c29327c lw r9,0x327c(r1)   Pointer to ? 
001000e4: 00000000 nop
001000e8: 01094020 add r8,r8,r9       Pointer + Offset
001000ec: 8d020004 lw r2,0x0004(r8)   
001000f0: 03e00008 jr r31
001000f4: 00000000 nop

Notes

Used to find Shop text