Get Job Data Pointer

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Get Job Data Pointer
0005a8a4: 288200a0 slti r2,r4,0x00a0
0005a8a8: 14400003 bne r2,r0,0x0005a8b8		Branch if Job ID < 0xa0 (Legal ID)
0005a8ac: 00041040 sll r2,r4,0x01		ID * 2
0005a8b0: 08016a33 j 0x0005a8cc
0005a8b4: 00001021 addu r2,r0,r0		r2 = 0
0005a8b8: 00441021 addu r2,r2,r4		ID * 3
0005a8bc: 00021100 sll r2,r2,0x04		ID * 48
0005a8c0: 3c038006 lui r3,0x8006
0005a8c4: 246310b8 addiu r3,r3,0x10b8
0005a8c8: 00431021 addu r2,r2,r3		r2 = Job's Data Pointer
0005a8cc: 03e00008 jr r31
0005a8d0: 00000000 nop


Return Locations

ATTACK.OUT
0x801c8268
0x801c8720

BUNIT.OUT
0x801c71ec
0x801c7428

JOBSTTS.OUT
0x801e032c
0x801e0374

REQUIRE.OUT
0x801c55c4

WORLD.BIN
0x800e5058
0x80109154
0x801092d4
0x8010cb44
0x801223fc
0x80122774