JOBSTTS.OUT 001df9b4 - 001dfa20

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
001df9b4: 27bdffe8 addiu r29,r29,0xffe8
001df9b8: 3c028020 lui r2,0x8020
001df9bc: 2442a57c addiu r2,r2,0xa57c
001df9c0: 00042040 sll r4,r4,0x01
001df9c4: afb00010 sw r16,0x0010(r29)
001df9c8: 00828021 addu r16,r4,r2
001df9cc: 3c05801f lui r5,0x801f
001df9d0: 24a50050 addiu r5,r5,0x0050       store pointer to ability data 1
001df9d4: afbf0014 sw r31,0x0014(r29)
001df9d8: 96040000 lhu r4,0x0000(r16)       ability ID
001df9dc: 3c06801f lui r6,0x801f
001df9e0: 24c60050 addiu r6,r6,0x0050       store pointer to ability data 2 (overwrites r5?)
001df9e4: 0c0169cb jal 0x0005a72c           Calculate Ability Pointers and Type
001df9e8: 308403ff andi r4,r4,0x03ff      
001df9ec: 3c018020 lui r1,0x8020
001df9f0: ac22a5c4 sw r2,-0x5a3c(r1)        store ability type
001df9f4: 10400005 beq r2,r0,0x001dfa0c
001df9f8: 00001821 addu r3,r0,r0
001df9fc: 96020000 lhu r2,0x0000(r16)
001dfa00: 00000000 nop
001dfa04: 00021382 srl r2,r2,0x0e
001dfa08: 2c430001 sltiu r3,r2,0x0001
001dfa0c: 00601021 addu r2,r3,r0
001dfa10: 8fbf0014 lw r31,0x0014(r29)
001dfa14: 8fb00010 lw r16,0x0010(r29)
001dfa18: 27bd0018 addiu r29,r29,0x0018
001dfa1c: 03e00008 jr r31
001dfa20: 00000000 nop