DEBUGCHR.OUT/001c3d84 - 001c4388

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

< DEBUGCHR.OUT

001c3d84: 27bdffc8 addiu r29,r29,0xffc8
001c3d88: afb00010 sw r16,0x0010(r29)
001c3d8c: 00808021 addu r16,r4,r0
001c3d90: 3404003e ori r4,r0,0x003e
001c3d94: afbf0034 sw r31,0x0034(r29)
001c3d98: afbe0030 sw r30,0x0030(r29)
001c3d9c: afb7002c sw r23,0x002c(r29)
001c3da0: afb60028 sw r22,0x0028(r29)
001c3da4: afb50024 sw r21,0x0024(r29)
001c3da8: afb40020 sw r20,0x0020(r29)
001c3dac: afb3001c sw r19,0x001c(r29)
001c3db0: afb20018 sw r18,0x0018(r29)
001c3db4: 0c052752 jal 0x00149d48          Set Thread Task ID
001c3db8: afb10014 sw r17,0x0014(r29)
001c3dbc: 34020002 ori r2,r0,0x0002
001c3dc0: 3c01801c lui r1,0x801c
001c3dc4: ac2052a4 sw r0,0x52a4(r1)
001c3dc8: 3c01801c lui r1,0x801c
001c3dcc: a0226673 sb r2,0x6673(r1)
001c3dd0: 0c0602bf jal 0x00180afc          Get Unit's Data Pointer
001c3dd4: 02002021 addu r4,r16,r0
001c3dd8: 3c03801c lui r3,0x801c
001c3ddc: 246368e4 addiu r3,r3,0x68e4
001c3de0: a0700000 sb r16,0x0000(r3)
001c3de4: 90420182 lbu r2,0x0182(r2)
001c3de8: 90640000 lbu r4,0x0000(r3)
001c3dec: 90650000 lbu r5,0x0000(r3)
001c3df0: 90630000 lbu r3,0x0000(r3)
001c3df4: 3042001f andi r2,r2,0x001f
001c3df8: 3c01801c lui r1,0x801c
001c3dfc: a02268e5 sb r2,0x68e5(r1)
001c3e00: 3c01801c lui r1,0x801c
001c3e04: a424532e sh r4,0x532e(r1)
001c3e08: 3c01801c lui r1,0x801c
001c3e0c: a4255324 sh r5,0x5324(r1)
001c3e10: 3c01801c lui r1,0x801c
001c3e14: a42352e6 sh r3,0x52e6(r1)
001c3e18: 0c070abc jal 0x 001c2af0
001c3e1c: 00000000 nop
001c3e20: 3c02801c lui r2,0x801c
001c3e24: 84425352 lh r2,0x5352(r2)
001c3e28: 3c01801d lui r1,0x801d
001c3e2c: ac20ecec sw r0,-0x1314(r1)
001c3e30: 1040001b beq r2,r0,0x 001c3ea0
001c3e34: 00000000 nop
001c3e38: 3c04801c lui r4,0x801c
001c3e3c: 24845e34 addiu r4,r4,0x5e34
001c3e40: 3c05801c lui r5,0x801c
001c3e44: 24a55f94 addiu r5,r5,0x5f94
001c3e48: 08070fac j 0x 001c3eb0
001c3e4c: 00000000 nop
001c3e50: 34040008 ori r4,r0,0x0008
001c3e54: 00002821 addu r5,r0,r0
001c3e58: 00003021 addu r6,r0,r0
001c3e5c: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c3e60: 34070001 ori r7,r0,0x0001
001c3e64: 3404000c ori r4,r0,0x000c
001c3e68: 00002821 addu r5,r0,r0
001c3e6c: 00003021 addu r6,r0,r0
001c3e70: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c3e74: 34070001 ori r7,r0,0x0001
001c3e78: 34040009 ori r4,r0,0x0009
001c3e7c: 00002821 addu r5,r0,r0
001c3e80: 00003021 addu r6,r0,r0
001c3e84: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c3e88: 34070001 ori r7,r0,0x0001
001c3e8c: 34020002 ori r2,r0,0x0002
001c3e90: 3c018016 lui r1,0x8016
001c3e94: ac225fb4 sw r2,0x5fb4(r1)
001c3e98: 080710c3 j 0x 001c430c
001c3e9c: 00000000 nop
001c3ea0: 3c04801c lui r4,0x801c
001c3ea4: 24845e34 addiu r4,r4,0x5e34
001c3ea8: 3c05801c lui r5,0x801c
001c3eac: 24a55ee4 addiu r5,r5,0x5ee4
001c3eb0: 0c052fd5 jal 0x0014bf54          Copy Bytes (0x14bf54)
001c3eb4: 340600a8 ori r6,r0,0x00a8
001c3eb8: 3402000e ori r2,r0,0x000e
001c3ebc: 3c01801c lui r1,0x801c
001c3ec0: a022613a sb r2,0x613a(r1)
001c3ec4: 34040008 ori r4,r0,0x0008
001c3ec8: 3c05801c lui r5,0x801c
001c3ecc: 24a5f750 addiu r5,r5,0xf750
001c3ed0: 3c10801c lui r16,0x801c
001c3ed4: 261068b8 addiu r16,r16,0x68b8
001c3ed8: 3c11801c lui r17,0x801c
001c3edc: 263168cc addiu r17,r17,0x68cc
001c3ee0: 3c12801c lui r18,0x801c
001c3ee4: 265268e0 addiu r18,r18,0x68e0
001c3ee8: ae000000 sw r0,0x0000(r16)
001c3eec: ae200000 sw r0,0x0000(r17)
001c3ef0: 0c053228 jal 0x0014c8a0          Initialize Thread
001c3ef4: ae400000 sw r0,0x0000(r18)
001c3ef8: 34040008 ori r4,r0,0x0008
001c3efc: 2605fff0 addiu r5,r16,0xfff0
001c3f00: 00003021 addu r6,r0,r0
001c3f04: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c3f08: 00003821 addu r7,r0,r0
001c3f0c: 3c05801c lui r5,0x801c
001c3f10: 24a519e4 addiu r5,r5,0x19e4
001c3f14: 0c053228 jal 0x0014c8a0          Initialize Thread
001c3f18: 3404000c ori r4,r0,0x000c
001c3f1c: 3404000c ori r4,r0,0x000c
001c3f20: 2625fff0 addiu r5,r17,0xfff0
001c3f24: 00003021 addu r6,r0,r0
001c3f28: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c3f2c: 00003821 addu r7,r0,r0
001c3f30: 3c05801c lui r5,0x801c
001c3f34: 24a50b84 addiu r5,r5,0x0b84
001c3f38: 0c053228 jal 0x0014c8a0          Initialize Thread
001c3f3c: 34040009 ori r4,r0,0x0009
001c3f40: 34040009 ori r4,r0,0x0009
001c3f44: 2645fff0 addiu r5,r18,0xfff0
001c3f48: 00003021 addu r6,r0,r0
001c3f4c: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c3f50: 00003821 addu r7,r0,r0
001c3f54: 00009021 addu r18,r0,r0
001c3f58: 3c16801d lui r22,0x801d
001c3f5c: 26d6e2e4 addiu r22,r22,0xe2e4
001c3f60: 34110001 ori r17,r0,0x0001
001c3f64: 3c13801c lui r19,0x801c
001c3f68: 2673667c addiu r19,r19,0x667c
001c3f6c: 267e0001 addiu r30,r19,0x0001
001c3f70: 26770002 addiu r23,r19,0x0002
001c3f74: 3c14801c lui r20,0x801c
001c3f78: 2694532e addiu r20,r20,0x532e
001c3f7c: 3c018016 lui r1,0x8016
001c3f80: a4205f74 sh r0,0x5f74(r1)
001c3f84: 0c0532a0 jal 0x0014ca80          Switch To Next Thread
001c3f88: 00000000 nop
001c3f8c: 0c05295e jal 0x0014a578          0014a578 - 0014a594
001c3f90: 00002021 addu r4,r0,r0
001c3f94: 3c01801c lui r1,0x801c
001c3f98: ac226dec sw r2,0x6dec(r1)
001c3f9c: 32430001 andi r3,r18,0x0001
001c3fa0: 00031080 sll r2,r3,0x02
001c3fa4: 00431021 addu r2,r2,r3
001c3fa8: 00022100 sll r4,r2,0x04
001c3fac: 00822023 subu r4,r4,r2
001c3fb0: 00042100 sll r4,r4,0x04
001c3fb4: 0c070c9e jal 0x 001c3278
001c3fb8: 00962021 addu r4,r4,r22
001c3fbc: 0c053325 jal 0x0014cc94          Check Thread Running Status
001c3fc0: 34040003 ori r4,r0,0x0003
001c3fc4: 1040001c beq r2,r0,0x 001c4038
001c3fc8: 00000000 nop
001c3fcc: 16a00004 bne r21,r0,0x 001c3fe0
001c3fd0: 00000000 nop
001c3fd4: 3c018016 lui r1,0x8016
001c3fd8: ac315fb4 sw r17,0x5fb4(r1)
001c3fdc: 34150001 ori r21,r0,0x0001
001c3fe0: 0c05272f jal 0x00149cbc          Get Thread Running Task
001c3fe4: 34040001 ori r4,r0,0x0001
001c3fe8: 10400009 beq r2,r0,0x 001c4010
001c3fec: 00000000 nop
001c3ff0: 3c01801c lui r1,0x801c
001c3ff4: ac3168b8 sw r17,0x68b8(r1)
001c3ff8: 3c01801c lui r1,0x801c
001c3ffc: ac3168cc sw r17,0x68cc(r1)
001c4000: 3c01801c lui r1,0x801c
001c4004: ac3168e0 sw r17,0x68e0(r1)
001c4008: 0807100b j 0x 001c402c
001c400c: a2710000 sb r17,0x0000(r19)
001c4010: 3c01801c lui r1,0x801c
001c4014: ac2068b8 sw r0,0x68b8(r1)
001c4018: 3c01801c lui r1,0x801c
001c401c: ac2068cc sw r0,0x68cc(r1)
001c4020: 3c01801c lui r1,0x801c
001c4024: ac2068e0 sw r0,0x68e0(r1)
001c4028: a2710000 sb r17,0x0000(r19)
001c402c: a2710001 sb r17,0x0001(r19)
001c4030: 080710c1 j 0x 001c4304
001c4034: a2710002 sb r17,0x0002(r19)
001c4038: 3c028016 lui r2,0x8016
001c403c: 8c426028 lw r2,0x6028(r2)
001c4040: 0000a821 addu r21,r0,r0
001c4044: a2600000 sb r0,0x0000(r19)
001c4048: a2600001 sb r0,0x0001(r19)
001c404c: 14400056 bne r2,r0,0x 001c41a8
001c4050: a2600002 sb r0,0x0002(r19)
001c4054: 3c028016 lui r2,0x8016
001c4058: 8c42602c lw r2,0x602c(r2)
001c405c: 00000000 nop
001c4060: 14400051 bne r2,r0,0x 001c41a8
001c4064: 00000000 nop
001c4068: 0c053317 jal 0x0014cc5c          0014cc5c - 0014cc90
001c406c: 00000000 nop
001c4070: 1440004d bne r2,r0,0x 001c41a8
001c4074: 00000000 nop
001c4078: 3c02801c lui r2,0x801c
001c407c: 8c426dec lw r2,0x6dec(r2)
001c4080: 00000000 nop
001c4084: 8c430000 lw r3,0x0000(r2)
001c4088: 00000000 nop
001c408c: 30620040 andi r2,r3,0x0040
001c4090: 1440ff6f bne r2,r0,0x 001c3e50
001c4094: 30620020 andi r2,r3,0x0020
001c4098: 10400043 beq r2,r0,0x 001c41a8
001c409c: 00000000 nop
001c40a0: 0c053325 jal 0x0014cc94          Check Thread Running Status
001c40a4: 34040003 ori r4,r0,0x0003
001c40a8: 1440003f bne r2,r0,0x 001c41a8
001c40ac: 00000000 nop
001c40b0: 3c04801c lui r4,0x801c
001c40b4: 8484532e lh r4,0x532e(r4)
001c40b8: 0c04cf26 jal 0x00133c98          Has Status Effect (For Status Window)
001c40bc: 00000000 nop
001c40c0: 14400006 bne r2,r0,0x 001c40dc
001c40c4: 00000000 nop
001c40c8: 3c02801c lui r2,0x801c
001c40cc: 84425352 lh r2,0x5352(r2)
001c40d0: 00000000 nop
001c40d4: 14400034 bne r2,r0,0x 001c41a8
001c40d8: 00000000 nop
001c40dc: 3c048017 lui r4,0x8017
001c40e0: 8c844038 lw r4,0x4038(r4)
001c40e4: 3c058013 lui r5,0x8013
001c40e8: 24a53cec addiu r5,r5,0x3cec
001c40ec: 3c01801c lui r1,0x801c
001c40f0: ac3168b8 sw r17,0x68b8(r1)
001c40f4: 3c01801c lui r1,0x801c
001c40f8: ac3168cc sw r17,0x68cc(r1)
001c40fc: 3c01801c lui r1,0x801c
001c4100: ac3168e0 sw r17,0x68e0(r1)
001c4104: 0c053228 jal 0x0014c8a0          Initialize Thread
001c4108: 2484ffff addiu r4,r4,0xffff
001c410c: 00003021 addu r6,r0,r0
001c4110: 00003821 addu r7,r0,r0
001c4114: 3c048017 lui r4,0x8017
001c4118: 8c844038 lw r4,0x4038(r4)
001c411c: 3c058017 lui r5,0x8017
001c4120: 8ca53cb8 lw r5,0x3cb8(r5)
001c4124: 2484ffff addiu r4,r4,0xffff
001c4128: 0c05328e jal 0x0014ca38          Store Thread Function Parameters
001c412c: 24a501e0 addiu r5,r5,0x01e0
001c4130: a2710000 sb r17,0x0000(r19)
001c4134: a3d10000 sb r17,0x0000(r30)
001c4138: a2f10000 sb r17,0x0000(r23)
001c413c: 0c0532a0 jal 0x0014ca80          Switch To Next Thread
001c4140: 00000000 nop
001c4144: 32430001 andi r3,r18,0x0001
001c4148: 00031080 sll r2,r3,0x02
001c414c: 00431021 addu r2,r2,r3
001c4150: 00022100 sll r4,r2,0x04
001c4154: 00822023 subu r4,r4,r2
001c4158: 00042100 sll r4,r4,0x04
001c415c: 0c070c9e jal 0x 001c3278
001c4160: 00962021 addu r4,r4,r22
001c4164: 3c048017 lui r4,0x8017
001c4168: 8c844038 lw r4,0x4038(r4)
001c416c: 0c053325 jal 0x0014cc94          Check Thread Running Status
001c4170: 2484ffff addiu r4,r4,0xffff
001c4174: 10400003 beq r2,r0,0x 001c4184
001c4178: 00000000 nop
001c417c: 0807104f j 0x 001c413c
001c4180: 26520001 addiu r18,r18,0x0001
001c4184: a2600000 sb r0,0x0000(r19)
001c4188: a2600001 sb r0,0x0001(r19)
001c418c: a2600002 sb r0,0x0002(r19)
001c4190: 3c01801c lui r1,0x801c
001c4194: ac2068b8 sw r0,0x68b8(r1)
001c4198: 3c01801c lui r1,0x801c
001c419c: ac2068cc sw r0,0x68cc(r1)
001c41a0: 3c01801c lui r1,0x801c
001c41a4: ac2068e0 sw r0,0x68e0(r1)
001c41a8: 3c02801c lui r2,0x801c
001c41ac: 8c426dec lw r2,0x6dec(r2)
001c41b0: 00000000 nop
001c41b4: 8c420000 lw r2,0x0000(r2)
001c41b8: 00000000 nop
001c41bc: 30420008 andi r2,r2,0x0008
001c41c0: 10400024 beq r2,r0,0x 001c4254
001c41c4: 34020006 ori r2,r0,0x0006
001c41c8: 3c03801d lui r3,0x801d
001c41cc: 8c63ecec lw r3,-0x1314(r3)
001c41d0: 3c018016 lui r1,0x8016
001c41d4: ac225fb4 sw r2,0x5fb4(r1)
001c41d8: 34020007 ori r2,r0,0x0007
001c41dc: 3c01801c lui r1,0x801c
001c41e0: a022667d sb r2,0x667d(r1)
001c41e4: 3c02801c lui r2,0x801c
001c41e8: 244268e4 addiu r2,r2,0x68e4
001c41ec: 38630001 xori r3,r3,0x0001
001c41f0: 3c01801d lui r1,0x801d
001c41f4: ac23ecec sw r3,-0x1314(r1)
001c41f8: 00621821 addu r3,r3,r2
001c41fc: 90620000 lbu r2,0x0000(r3)
001c4200: 00000000 nop
001c4204: a6820000 sh r2,0x0000(r20)
001c4208: 90620000 lbu r2,0x0000(r3)
001c420c: 00000000 nop
001c4210: a682fff6 sh r2,-0x000a(r20)
001c4214: 90620000 lbu r2,0x0000(r3)
001c4218: 3c10801c lui r16,0x801c
001c421c: 261052e6 addiu r16,r16,0x52e6
001c4220: 0c070abc jal 0x 001c2af0
001c4224: a6020000 sh r2,0x0000(r16)
001c4228: 2604fff6 addiu r4,r16,0xfff6
001c422c: 3c06801c lui r6,0x801c
001c4230: 24c65344 addiu r6,r6,0x5344
001c4234: 0c04cfde jal 0x00133f78          00133f78 - 00133fe4
001c4238: 2685fff6 addiu r5,r20,0xfff6
001c423c: 3c01801c lui r1,0x801c
001c4240: ac3168b4 sw r17,0x68b4(r1)
001c4244: 3c01801c lui r1,0x801c
001c4248: ac3168c8 sw r17,0x68c8(r1)
001c424c: 3c01801c lui r1,0x801c
001c4250: ac3168dc sw r17,0x68dc(r1)
001c4254: 3c02801c lui r2,0x801c
001c4258: 8c426dec lw r2,0x6dec(r2)
001c425c: 00000000 nop
001c4260: 8c420000 lw r2,0x0000(r2)
001c4264: 00000000 nop
001c4268: 30420004 andi r2,r2,0x0004
001c426c: 10400025 beq r2,r0,0x 001c4304
001c4270: 34020006 ori r2,r0,0x0006
001c4274: 3c03801d lui r3,0x801d
001c4278: 8c63ecec lw r3,-0x1314(r3)
001c427c: 3c018016 lui r1,0x8016
001c4280: ac225fb4 sw r2,0x5fb4(r1)
001c4284: 34020007 ori r2,r0,0x0007
001c4288: 3c01801c lui r1,0x801c
001c428c: a022667c sb r2,0x667c(r1)
001c4290: 3c02801c lui r2,0x801c
001c4294: 244268e4 addiu r2,r2,0x68e4
001c4298: 38630001 xori r3,r3,0x0001
001c429c: 3c01801d lui r1,0x801d
001c42a0: ac23ecec sw r3,-0x1314(r1)
001c42a4: 00621821 addu r3,r3,r2
001c42a8: 90620000 lbu r2,0x0000(r3)
001c42ac: 00000000 nop
001c42b0: a6820000 sh r2,0x0000(r20)
001c42b4: 90620000 lbu r2,0x0000(r3)
001c42b8: 00000000 nop
001c42bc: a682fff6 sh r2,-0x000a(r20)
001c42c0: 90620000 lbu r2,0x0000(r3)
001c42c4: 3c10801c lui r16,0x801c
001c42c8: 261052e6 addiu r16,r16,0x52e6
001c42cc: 0c070abc jal 0x 001c2af0
001c42d0: a6020000 sh r2,0x0000(r16)
001c42d4: 2604fff6 addiu r4,r16,0xfff6
001c42d8: 3c06801c lui r6,0x801c
001c42dc: 24c65344 addiu r6,r6,0x5344
001c42e0: 0c04cfde jal 0x00133f78          00133f78 - 00133fe4
001c42e4: 2685fff6 addiu r5,r20,0xfff6
001c42e8: 34020002 ori r2,r0,0x0002
001c42ec: 3c01801c lui r1,0x801c
001c42f0: ac2268b4 sw r2,0x68b4(r1)
001c42f4: 3c01801c lui r1,0x801c
001c42f8: ac3168c8 sw r17,0x68c8(r1)
001c42fc: 3c01801c lui r1,0x801c
001c4300: ac3168dc sw r17,0x68dc(r1)
001c4304: 08070fe1 j 0x 001c3f84
001c4308: 26520001 addiu r18,r18,0x0001
001c430c: 3c02801c lui r2,0x801c
001c4310: 244268e4 addiu r2,r2,0x68e4
001c4314: 3c10801c lui r16,0x801c
001c4318: 2610532e addiu r16,r16,0x532e
001c431c: 90430000 lbu r3,0x0000(r2)
001c4320: 90440000 lbu r4,0x0000(r2)
001c4324: 3c11801c lui r17,0x801c
001c4328: 263152e6 addiu r17,r17,0x52e6
001c432c: a6030000 sh r3,0x0000(r16)
001c4330: a604fff6 sh r4,-0x000a(r16)
001c4334: 90420000 lbu r2,0x0000(r2)
001c4338: 2610fff6 addiu r16,r16,0xfff6
001c433c: 0c070abc jal 0x 001c2af0
001c4340: a6220000 sh r2,0x0000(r17)
001c4344: 2624fff6 addiu r4,r17,0xfff6
001c4348: 3c06801c lui r6,0x801c
001c434c: 24c65344 addiu r6,r6,0x5344
001c4350: 0c04cfde jal 0x00133f78          00133f78 - 00133fe4
001c4354: 02002821 addu r5,r16,r0
001c4358: 8fbf0034 lw r31,0x0034(r29)
001c435c: 8fbe0030 lw r30,0x0030(r29)
001c4360: 8fb7002c lw r23,0x002c(r29)
001c4364: 8fb60028 lw r22,0x0028(r29)
001c4368: 8fb50024 lw r21,0x0024(r29)
001c436c: 8fb40020 lw r20,0x0020(r29)
001c4370: 8fb3001c lw r19,0x001c(r29)
001c4374: 8fb20018 lw r18,0x0018(r29)
001c4378: 8fb10014 lw r17,0x0014(r29)
001c437c: 8fb00010 lw r16,0x0010(r29)
001c4380: 27bd0038 addiu r29,r29,0x0038
001c4384: 03e00008 jr r31
001c4388: 00000000 nop