0007f1d4 - 0007f23c

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

ERROR not the right Offset !!


0007eec0: 27bdff98 addiu r29,r29,0xff98
0007eec4: afb1005c sw r17,0x005c(r29)
0007eec8: 00808821 addu r17,r4,r0					r17 = unit misc data
0007eecc: afbf0064 sw r31,0x0064(r29)
0007eed0: afb20060 sw r18,0x0060(r29)
0007eed4: afb00058 sw r16,0x0058(r29)
0007eed8: 3c058006 lui r5,0x8006
0007eedc: 24a57830 addiu r5,r5,0x7830				80067830
0007eee0: 88a20003 lwl r2,0x0003(r5)
0007eee4: 98a20000 lwr r2,0x0000(r5)
0007eee8: 88a30007 lwl r3,0x0007(r5)
0007eeec: 98a30004 lwr r3,0x0004(r5)
0007eef0: aba2002b swl r2,0x002b(r29)
0007eef4: bba20028 swr r2,0x0028(r29)
0007eef8: aba3002f swl r3,0x002f(r29)
0007eefc: bba3002c swr r3,0x002c(r29)
0007ef00: 34020015 ori r2,r0,0x0015
0007ef04: 922302dd lbu r3,0x02dd(r17)				
0007ef08: 8e3002e4 lw r16,0x02e4(r17)				pointer to status/text bubbles
0007ef0c: 1462000a bne r3,r2,0x0007ef38				branch if ?? not 15
0007ef10: 34020072 ori r2,r0,0x0072
0007ef14: a2020012 sb r2,0x0012(r16)				
0007ef18: 340200b0 ori r2,r0,0x00b0
0007ef1c: a2020013 sb r2,0x0013(r16)
0007ef20: 962202e2 lhu r2,0x02e2(r17)
0007ef24: 00000000 nop
0007ef28: 10400057 beq r2,r0,0x0007f088
0007ef2c: 340200bc ori r2,r0,0x00bc
0007ef30: 0801fc22 j 0x0007f088
0007ef34: a2020013 sb r2,0x0013(r16)
0007ef38: 14600031 bne r3,r0,0x0007f000
0007ef3c: 34020014 ori r2,r0,0x0014
0007ef40: 8e220134 lw r2,0x0134(r17)				load unit data
0007ef44: 00000000 nop
0007ef48: 90440007 lbu r4,0x0007(r2)				load death counter
0007ef4c: 8e220140 lw r2,0x0140(r17)				load status flags 1
0007ef50: 3c031000 lui r3,0x1000
0007ef54: 00431024 and r2,r2,r3
0007ef58: 1040000f beq r2,r0,0x0007ef98				branch if not haste?
0007ef5c: 340200ff ori r2,r0,0x00ff
0007ef60: 3c028009 lui r2,0x8009
0007ef64: 904249e6 lbu r2,0x49e6(r2)				load
0007ef68: 00000000 nop
0007ef6c: a2020012 sb r2,0x0012(r16)				store ??
0007ef70: 3c038009 lui r3,0x8009
0007ef74: 906349fe lbu r3,0x49fe(r3)
0007ef78: 00000000 nop
0007ef7c: a2030013 sb r3,0x0013(r16)				store 0x1000 (haste?)
0007ef80: 962202e2 lhu r2,0x02e2(r17)				load ?? half
0007ef84: 00000000 nop
0007ef88: 1040003f beq r2,r0,0x0007f088				branch if none
0007ef8c: 2462000c addiu r2,r3,0x000c				r3 += 0x0C
0007ef90: 0801fc22 j 0x0007f088
0007ef94: a2020013 sb r2,0x0013(r16)
0007ef98: 1082000b beq r4,r2,0x0007efc8				branch if death counter = 0xFF (knocked out stars)
0007ef9c: 00000000 nop
branch if no death counter
0007efa0: 3c018009 lui r1,0x8009
0007efa4: 00240821 addu r1,r1,r4
0007efa8: 90224a0c lbu r2,0x4a0c(r1)				load X load location?
0007efac: 00000000 nop
0007efb0: a2020012 sb r2,0x0012(r16)				store X location
0007efb4: 3c018009 lui r1,0x8009
0007efb8: 00240821 addu r1,r1,r4
0007efbc: 90224a24 lbu r2,0x4a24(r1)
0007efc0: 0801fc22 j 0x0007f088
0007efc4: a2020013 sb r2,0x0013(r16)
Knocked out stars
0007efc8: 3c028009 lui r2,0x8009
0007efcc: 904249dc lbu r2,0x49dc(r2)				load location
0007efd0: 00000000 nop
0007efd4: a2020012 sb r2,0x0012(r16)				store X
0007efd8: 3c038009 lui r3,0x8009
0007efdc: 906349f4 lbu r3,0x49f4(r3)
0007efe0: 00000000 nop
0007efe4: a2030013 sb r3,0x0013(r16)				store Y
0007efe8: 962202e2 lhu r2,0x02e2(r17)				load ??
0007efec: 00000000 nop
0007eff0: 10400025 beq r2,r0,0x0007f088				branch if not ??
0007eff4: 2462000c addiu r2,r3,0x000c
0007eff8: 0801fc22 j 0x0007f088
0007effc: a2020013 sb r2,0x0013(r16)				move by 0x0C
0007f000: 14620010 bne r3,r2,0x0007f044				branch if not 
0007f004: 00000000 nop
0007f008: 8e220134 lw r2,0x0134(r17)				load stats
0007f00c: 00000000 nop
0007f010: 9042006c lbu r2,0x006c(r2)				load death sentence CT
0007f014: 00000000 nop
0007f018: 30440003 andi r4,r2,0x0003
0007f01c: 3c018009 lui r1,0x8009
0007f020: 00240821 addu r1,r1,r4
0007f024: 90224a0c lbu r2,0x4a0c(r1)				load X location
0007f028: 00000000 nop
0007f02c: a2020012 sb r2,0x0012(r16)
0007f030: 3c018009 lui r1,0x8009
0007f034: 00240821 addu r1,r1,r4
0007f038: 90224a24 lbu r2,0x4a24(r1)
0007f03c: 0801fc22 j 0x0007f088
0007f040: a2020013 sb r2,0x0013(r16)
0007f044: 3c018009 lui r1,0x8009
0007f048: 00230821 addu r1,r1,r3
0007f04c: 902249dc lbu r2,0x49dc(r1)
0007f050: 00000000 nop
0007f054: a2020012 sb r2,0x0012(r16)
0007f058: 2462fff7 addiu r2,r3,0xfff7
0007f05c: 3c018009 lui r1,0x8009
0007f060: 00230821 addu r1,r1,r3
0007f064: 902449f4 lbu r4,0x49f4(r1)
0007f068: 2c420002 sltiu r2,r2,0x0002
0007f06c: 10400006 beq r2,r0,0x0007f088
0007f070: a2040013 sb r4,0x0013(r16)
0007f074: 962202e2 lhu r2,0x02e2(r17)
0007f078: 00000000 nop
0007f07c: 10400002 beq r2,r0,0x0007f088
0007f080: 2482000c addiu r2,r4,0x000c
0007f084: a2020013 sb r2,0x0013(r16)
0007f088: 3c10800a lui r16,0x800a
0007f08c: 26108a24 addiu r16,r16,0x8a24
0007f090: 0c00742a jal 0x0001d0a8
0007f094: 02002021 addu r4,r16,r0
0007f098: 0c00744e jal 0x0001d138
0007f09c: 02002021 addu r4,r16,r0
0007f0a0: 27b00040 addiu r16,r29,0x0040
0007f0a4: 02002021 addu r4,r16,r0
0007f0a8: 86230040 lh r3,0x0040(r17)
0007f0ac: 86250060 lh r5,0x0060(r17)
0007f0b0: 86260042 lh r6,0x0042(r17)
0007f0b4: 86220062 lh r2,0x0062(r17)
0007f0b8: 86270064 lh r7,0x0064(r17)
0007f0bc: 00652821 addu r5,r3,r5
0007f0c0: 00c23021 addu r6,r6,r2
0007f0c4: 822202df lb r2,0x02df(r17)
0007f0c8: 86230044 lh r3,0x0044(r17)
0007f0cc: 00c23021 addu r6,r6,r2
0007f0d0: 0c010ac7 jal 0x00042b1c
0007f0d4: 00673821 addu r7,r3,r7
0007f0d8: 02002021 addu r4,r16,r0
0007f0dc: 27b20030 addiu r18,r29,0x0030
0007f0e0: 02402821 addu r5,r18,r0
0007f0e4: 0c00755e jal 0x0001d578
0007f0e8: 2626012c addiu r6,r17,0x012c
0007f0ec: 922202de lbu r2,0x02de(r17)
0007f0f0: 97a30030 lhu r3,0x0030(r29)
0007f0f4: 96240058 lhu r4,0x0058(r17)
0007f0f8: 00021600 sll r2,r2,0x18
0007f0fc: 00021603 sra r2,r2,0x18
0007f100: 00641821 addu r3,r3,r4
0007f104: 00431021 addu r2,r2,r3
0007f108: 97a30034 lhu r3,0x0034(r29)
0007f10c: a7a20020 sh r2,0x0020(r29)
0007f110: 9622005a lhu r2,0x005a(r17)
0007f114: 00000000 nop
0007f118: 00621821 addu r3,r3,r2
0007f11c: a7a30022 sh r3,0x0022(r29)
0007f120: 962202e0 lhu r2,0x02e0(r17)
0007f124: 00000000 nop
0007f128: 30420010 andi r2,r2,0x0010
0007f12c: 10400003 beq r2,r0,0x0007f13c
0007f130: 02002021 addu r4,r16,r0
0007f134: 2462ffff addiu r2,r3,0xffff
0007f138: a7a20022 sh r2,0x0022(r29)
0007f13c: 27b00048 addiu r16,r29,0x0048
0007f140: 0c01ee4b jal 0x0007b92c
0007f144: 02002821 addu r5,r16,r0
0007f148: 02002021 addu r4,r16,r0
0007f14c: 02402821 addu r5,r18,r0
0007f150: 97a2004a lhu r2,0x004a(r29)
0007f154: 27a60050 addiu r6,r29,0x0050
0007f158: 2442000c addiu r2,r2,0x000c
0007f15c: 0c00755e jal 0x0001d578
0007f160: a7a2004a sh r2,0x004a(r29)
0007f164: 8e3002e4 lw r16,0x02e4(r17)
0007f168: 0c011298 jal 0x00044a60
0007f16c: 00000000 nop
0007f170: 8fa30038 lw r3,0x0038(r29)
0007f174: 00000000 nop
0007f178: 04610002 bgez r3,0x0007f184
0007f17c: 00404021 addu r8,r2,r0
0007f180: 24630003 addiu r3,r3,0x0003
0007f184: 02002021 addu r4,r16,r0
0007f188: 00003021 addu r6,r0,r0
0007f18c: 27a70020 addiu r7,r29,0x0020
0007f190: 90850003 lbu r5,0x0003(r4)
0007f194: 27a20028 addiu r2,r29,0x0028
0007f198: afa20018 sw r2,0x0018(r29)
0007f19c: 00031083 sra r2,r3,0x02
0007f1a0: 00021080 sll r2,r2,0x02
0007f1a4: 01021021 addu r2,r8,r2
0007f1a8: afa00010 sw r0,0x0010(r29)
0007f1ac: afa00014 sw r0,0x0014(r29)
0007f1b0: 0c01ebd1 jal 0x0007af44
0007f1b4: afa2001c sw r2,0x001c(r29)
0007f1b8: 8fbf0064 lw r31,0x0064(r29)
0007f1bc: 8fb20060 lw r18,0x0060(r29)
0007f1c0: 8fb1005c lw r17,0x005c(r29)
0007f1c4: 8fb00058 lw r16,0x0058(r29)
0007f1c8: 27bd0068 addiu r29,r29,0x0068
0007f1cc: 03e00008 jr r31
0007f1d0: 00000000 nop