001c58d0 - 001c5dcc

From Final Fantasy Hacktics Wiki
Revision as of 19:23, 3 June 2022 by WKW (talk | contribs) (jal links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

< REQUIRE.OUT

001c58d0: 27bdffd8 addiu r29,r29,0xffd8
001c58d4: afb10014 sw r17,0x0014(r29)
001c58d8: 00a08821 addu r17,r5,r0
001c58dc: afb00010 sw r16,0x0010(r29)
001c58e0: 3c10801e lui r16,0x801e
001c58e4: 261080c4 addiu r16,r16,0x80c4
001c58e8: 02002021 addu r4,r16,r0
001c58ec: 00003021 addu r6,r0,r0
001c58f0: afbf0020 sw r31,0x0020(r29)
001c58f4: afb3001c sw r19,0x001c(r29)
001c58f8: 0c016a35 jal 0x0005a8d4			Initialize Unit's Job Data
001c58fc: afb20018 sw r18,0x0018(r29)
001c5900: 3c12801d lui r18,0x801d
001c5904: 2652b384 addiu r18,r18,0xb384
001c5908: 3c03801e lui r3,0x801e
001c590c: 906380c7 lbu r3,-0x7f39(r3)
001c5910: 3c04801e lui r4,0x801e
001c5914: 908480e8 lbu r4,-0x7f18(r4)
001c5918: 3c05801e lui r5,0x801e
001c591c: 90a580ea lbu r5,-0x7f16(r5)
001c5920: 3c02801e lui r2,0x801e
001c5924: 944280cc lhu r2,-0x7f34(r2)
001c5928: 3c01801d lui r1,0x801d
001c592c: a431b364 sh r17,-0x4c9c(r1)
001c5930: 3c01801d lui r1,0x801d
001c5934: a431b36e sh r17,-0x4c92(r1)
001c5938: 3c01801d lui r1,0x801d
001c593c: a420b31e sh r0,-0x4ce2(r1)
001c5940: 3c01801d lui r1,0x801d
001c5944: a423b366 sh r3,-0x4c9a(r1)
001c5948: 3c03801e lui r3,0x801e
001c594c: 9063827e lbu r3,-0x7d82(r3)
001c5950: 00021302 srl r2,r2,0x0c
001c5954: 3c01801d lui r1,0x801d
001c5958: a424b368 sh r4,-0x4c98(r1)
001c595c: 3c01801d lui r1,0x801d
001c5960: a425b36a sh r5,-0x4c96(r1)
001c5964: 3c01801d lui r1,0x801d
001c5968: a422b36c sh r2,-0x4c94(r1)
001c596c: 30620030 andi r2,r3,0x0030
001c5970: 10400004 beq r2,r0,0x001c5984
001c5974: 02009821 addu r19,r16,r0
001c5978: 34020001 ori r2,r0,0x0001
001c597c: 3c01801d lui r1,0x801d
001c5980: a422b31e sh r2,-0x4ce2(r1)
001c5984: 30620038 andi r2,r3,0x0038
001c5988: 14400004 bne r2,r0,0x001c599c
001c598c: 26230100 addiu r3,r17,0x0100
001c5990: 34020002 ori r2,r0,0x0002
001c5994: 3c01801d lui r1,0x801d
001c5998: a422b31e sh r2,-0x4ce2(r1)
001c599c: 3c02801e lui r2,0x801e
001c59a0: 904280e6 lbu r2,-0x7f1a(r2)
001c59a4: 3c04801e lui r4,0x801e
001c59a8: 908480e5 lbu r4,-0x7f1b(r4)
001c59ac: 3c05801e lui r5,0x801e
001c59b0: 94a580ee lhu r5,-0x7f12(r5)
001c59b4: 3c01801d lui r1,0x801d
001c59b8: a420b320 sh r0,-0x4ce0(r1)
001c59bc: 3c01801d lui r1,0x801d
001c59c0: a420b322 sh r0,-0x4cde(r1)
001c59c4: 3c01801d lui r1,0x801d
001c59c8: a423b326 sh r3,-0x4cda(r1)
001c59cc: 3c01801d lui r1,0x801d
001c59d0: a422b31c sh r2,-0x4ce4(r1)
001c59d4: 3c01801d lui r1,0x801d
001c59d8: a424b324 sh r4,-0x4cdc(r1)
001c59dc: 3c01801d lui r1,0x801d
001c59e0: a425b32c sh r5,-0x4cd4(r1)
001c59e4: 14a00003 bne r5,r0,0x001c59f4
001c59e8: 24a20001 addiu r2,r5,0x0001
001c59ec: 3c01801d lui r1,0x801d
001c59f0: a422b32c sh r2,-0x4cd4(r1)
001c59f4: 3c02801d lui r2,0x801d
001c59f8: 9442b32c lhu r2,-0x4cd4(r2)
001c59fc: 3c03801e lui r3,0x801e
001c5a00: 946380f2 lhu r3,-0x7f0e(r3)
001c5a04: 3c01801d lui r1,0x801d
001c5a08: a422b328 sh r2,-0x4cd8(r1)
001c5a0c: 3c01801d lui r1,0x801d
001c5a10: a423b332 sh r3,-0x4cce(r1)
001c5a14: 14600003 bne r3,r0,0x001c5a24
001c5a18: 24620001 addiu r2,r3,0x0001
001c5a1c: 3c01801d lui r1,0x801d
001c5a20: a422b332 sh r2,-0x4cce(r1)
001c5a24: 3c04801d lui r4,0x801d
001c5a28: 9484b332 lhu r4,-0x4cce(r4)
001c5a2c: 3c05801e lui r5,0x801e
001c5a30: 90a580fe lbu r5,-0x7f02(r5)
001c5a34: 3c06801e lui r6,0x801e
001c5a38: 90c680fc lbu r6,-0x7f04(r6)
001c5a3c: 3c07801e lui r7,0x801e
001c5a40: 90e780ff lbu r7,-0x7f01(r7)
001c5a44: 3c08801e lui r8,0x801e
001c5a48: 91088102 lbu r8,-0x7efe(r8)
001c5a4c: 3c09801e lui r9,0x801e
001c5a50: 91298103 lbu r9,-0x7efd(r9)
001c5a54: 3c0a801e lui r10,0x801e
001c5a58: 914a8100 lbu r10,-0x7f00(r10)
001c5a5c: 3c0b801e lui r11,0x801e
001c5a60: 916b8101 lbu r11,-0x7eff(r11)
001c5a64: 3c0c801e lui r12,0x801e
001c5a68: 918c80fa lbu r12,-0x7f06(r12)
001c5a6c: 3c0d801e lui r13,0x801e
001c5a70: 91ad8107 lbu r13,-0x7ef9(r13)
001c5a74: 3c0e801e lui r14,0x801e
001c5a78: 91ce8105 lbu r14,-0x7efb(r14)
001c5a7c: 3c0f801e lui r15,0x801e
001c5a80: 91ef8105 lbu r15,-0x7efb(r15)
001c5a84: 3c03801e lui r3,0x801e
001c5a88: 90638106 lbu r3,-0x7efa(r3)
001c5a8c: 34020064 ori r2,r0,0x0064
001c5a90: 3c01801d lui r1,0x801d
001c5a94: a422b338 sh r2,-0x4cc8(r1)
001c5a98: 3c01801d lui r1,0x801d
001c5a9c: a422b334 sh r2,-0x4ccc(r1)
001c5aa0: 006f182b sltu r3,r3,r15
001c5aa4: 3c01801d lui r1,0x801d
001c5aa8: a424b32e sh r4,-0x4cd2(r1)
001c5aac: a6450000 sh r5,0x0000(r18)
001c5ab0: 3c01801d lui r1,0x801d
001c5ab4: a426b386 sh r6,-0x4c7a(r1)
001c5ab8: 3c01801d lui r1,0x801d
001c5abc: a427b388 sh r7,-0x4c78(r1)
001c5ac0: 3c01801d lui r1,0x801d
001c5ac4: a428b38e sh r8,-0x4c72(r1)
001c5ac8: 3c01801d lui r1,0x801d
001c5acc: a429b390 sh r9,-0x4c70(r1)
001c5ad0: 3c01801d lui r1,0x801d
001c5ad4: a42ab38a sh r10,-0x4c76(r1)
001c5ad8: 3c01801d lui r1,0x801d
001c5adc: a42bb38c sh r11,-0x4c74(r1)
001c5ae0: 3c01801d lui r1,0x801d
001c5ae4: a42cb396 sh r12,-0x4c6a(r1)
001c5ae8: 3c01801d lui r1,0x801d
001c5aec: a42db398 sh r13,-0x4c68(r1)
001c5af0: 3c01801d lui r1,0x801d
001c5af4: a42eb39a sh r14,-0x4c66(r1)
001c5af8: 14600005 bne r3,r0,0x001c5b10
001c5afc: 00000000 nop
001c5b00: 3c02801e lui r2,0x801e
001c5b04: 90428106 lbu r2,-0x7efa(r2)
001c5b08: 3c01801d lui r1,0x801d
001c5b0c: a422b39a sh r2,-0x4c66(r1)
001c5b10: 3c03801e lui r3,0x801e
001c5b14: 90638104 lbu r3,-0x7efc(r3)
001c5b18: 3c04801e lui r4,0x801e
001c5b1c: 908480fb lbu r4,-0x7f05(r4)
001c5b20: 3c05801e lui r5,0x801e
001c5b24: 90a58109 lbu r5,-0x7ef7(r5)
001c5b28: 3c06801e lui r6,0x801e
001c5b2c: 90c68109 lbu r6,-0x7ef7(r6)
001c5b30: 3c02801e lui r2,0x801e
001c5b34: 9042810a lbu r2,-0x7ef6(r2)
001c5b38: 3c01801d lui r1,0x801d
001c5b3c: a420b3a2 sh r0,-0x4c5e(r1)
001c5b40: 0046102b sltu r2,r2,r6
001c5b44: 3c01801d lui r1,0x801d
001c5b48: a423b39c sh r3,-0x4c64(r1)
001c5b4c: 3c01801d lui r1,0x801d
001c5b50: a424b3a0 sh r4,-0x4c60(r1)
001c5b54: 3c01801d lui r1,0x801d
001c5b58: a425b3a4 sh r5,-0x4c5c(r1)
001c5b5c: 14400005 bne r2,r0,0x001c5b74
001c5b60: 34040004 ori r4,r0,0x0004
001c5b64: 3c02801e lui r2,0x801e
001c5b68: 9042810a lbu r2,-0x7ef6(r2)
001c5b6c: 3c01801d lui r1,0x801d
001c5b70: a422b3a4 sh r2,-0x4c5c(r1)
001c5b74: 3c02801e lui r2,0x801e
001c5b78: 90428108 lbu r2,-0x7ef8(r2)
001c5b7c: 26430008 addiu r3,r18,0x0008
001c5b80: 3c01801d lui r1,0x801d
001c5b84: a422b3a6 sh r2,-0x4c5a(r1)
001c5b88: a4600024 sh r0,0x0024(r3)
001c5b8c: 2484ffff addiu r4,r4,0xffff
001c5b90: 0481fffd bgez r4,0x001c5b88
001c5b94: 2463fffe addiu r3,r3,0xfffe
001c5b98: 92620006 lbu r2,0x0006(r19)
001c5b9c: 00000000 nop
001c5ba0: 30420020 andi r2,r2,0x0020
001c5ba4: 1440001a bne r2,r0,0x001c5c10
001c5ba8: 340200ff ori r2,r0,0x00ff
001c5bac: 9263001d lbu r3,0x001d(r19)
001c5bb0: 00000000 nop
001c5bb4: 10620004 beq r3,r2,0x001c5bc8
001c5bb8: 00000000 nop
001c5bbc: 9262001d lbu r2,0x001d(r19)
001c5bc0: 080716f5 j 0x001c5bd4
001c5bc4: a6420024 sh r2,0x0024(r18)
001c5bc8: 9262001e lbu r2,0x001e(r19)
001c5bcc: 00000000 nop
001c5bd0: a6420024 sh r2,0x0024(r18)
001c5bd4: 9263001f lbu r3,0x001f(r19)
001c5bd8: 340200ff ori r2,r0,0x00ff
001c5bdc: 10620004 beq r3,r2,0x001c5bf0
001c5be0: 00000000 nop
001c5be4: 9265001f lbu r5,0x001f(r19)
001c5be8: 080716fd j 0x001c5bf4
001c5bec: 00000000 nop
001c5bf0: 92650020 lbu r5,0x0020(r19)
001c5bf4: 9262001a lbu r2,0x001a(r19)
001c5bf8: 9263001b lbu r3,0x001b(r19)
001c5bfc: 9264001c lbu r4,0x001c(r19)
001c5c00: a6450026 sh r5,0x0026(r18)
001c5c04: a6420028 sh r2,0x0028(r18)
001c5c08: a643002a sh r3,0x002a(r18)
001c5c0c: a644002c sh r4,0x002c(r18)
001c5c10: 00002021 addu r4,r0,r0
001c5c14: 340600ff ori r6,r0,0x00ff
001c5c18: 2405ffff addiu r5,r0,0xffff
001c5c1c: 02401821 addu r3,r18,r0
001c5c20: 84620024 lh r2,0x0024(r3)
001c5c24: 00000000 nop
001c5c28: 10400003 beq r2,r0,0x001c5c38
001c5c2c: 00000000 nop
001c5c30: 14460002 bne r2,r6,0x001c5c3c
001c5c34: 00000000 nop
001c5c38: a4650024 sh r5,0x0024(r3)
001c5c3c: 24840001 addiu r4,r4,0x0001
001c5c40: 28820005 slti r2,r4,0x0005
001c5c44: 1440fff6 bne r2,r0,0x001c5c20
001c5c48: 24630002 addiu r3,r3,0x0002
001c5c4c: 92620012 lbu r2,0x0012(r19)
001c5c50: 00000000 nop
001c5c54: 24420050 addiu r2,r2,0x0050
001c5c58: 304200ff andi r2,r2,0x00ff
001c5c5c: 2c420030 sltiu r2,r2,0x0030
001c5c60: 10400003 beq r2,r0,0x001c5c70
001c5c64: a640000e sh r0,0x000e(r18)
001c5c68: 34020001 ori r2,r0,0x0001
001c5c6c: a642000e sh r2,0x000e(r18)
001c5c70: 8642000e lh r2,0x000e(r18)
001c5c74: 00000000 nop
001c5c78: 10400010 beq r2,r0,0x001c5cbc
001c5c7c: 00000000 nop
001c5c80: 92640012 lbu r4,0x0012(r19)
001c5c84: 0c01698e jal 0x0005a638			Store Skillset's Abilities
001c5c88: 34050001 ori r5,r0,0x0001
001c5c8c: 00402821 addu r5,r2,r0
001c5c90: 00002021 addu r4,r0,r0
001c5c94: 02401821 addu r3,r18,r0
001c5c98: 94a20000 lhu r2,0x0000(r5)
001c5c9c: 24a50002 addiu r5,r5,0x0002
001c5ca0: 24840001 addiu r4,r4,0x0001
001c5ca4: a462002e sh r2,0x002e(r3)
001c5ca8: 28820005 slti r2,r4,0x0005
001c5cac: 1440fffa bne r2,r0,0x001c5c98
001c5cb0: 24630002 addiu r3,r3,0x0002
001c5cb4: 08071743 j 0x001c5d0c
001c5cb8: a6400034 sh r0,0x0034(r18)
001c5cbc: 92620012 lbu r2,0x0012(r19)
001c5cc0: 00000000 nop
001c5cc4: 14400004 bne r2,r0,0x001c5cd8
001c5cc8: a642002e sh r2,0x002e(r18)
001c5ccc: 340200fe ori r2,r0,0x00fe
001c5cd0: 3c01801d lui r1,0x801d
001c5cd4: a022b404 sb r2,-0x4bfc(r1)
001c5cd8: 92620013 lbu r2,0x0013(r19)
001c5cdc: 00000000 nop
001c5ce0: 14400004 bne r2,r0,0x001c5cf4
001c5ce4: a6420030 sh r2,0x0030(r18)
001c5ce8: 340200fe ori r2,r0,0x00fe
001c5cec: 3c01801d lui r1,0x801d
001c5cf0: a022b419 sb r2,-0x4be7(r1)
001c5cf4: 96620014 lhu r2,0x0014(r19)
001c5cf8: 96630016 lhu r3,0x0016(r19)
001c5cfc: 96640018 lhu r4,0x0018(r19)
001c5d00: a6420032 sh r2,0x0032(r18)
001c5d04: a6430034 sh r3,0x0034(r18)
001c5d08: a6440036 sh r4,0x0036(r18)
001c5d0c: 00008021 addu r16,r0,r0
001c5d10: 86430024 lh r3,0x0024(r18)
001c5d14: 2402ffff addiu r2,r0,0xffff
001c5d18: 10620008 beq r3,r2,0x001c5d3c
001c5d1c: a6400010 sh r0,0x0010(r18)
001c5d20: 86420026 lh r2,0x0026(r18)
001c5d24: 00000000 nop
001c5d28: 00021027 nor r2,r0,r2
001c5d2c: 2c420001 sltiu r2,r2,0x0001
001c5d30: 00021023 subu r2,r0,r2
001c5d34: 08071754 j 0x001c5d50
001c5d38: 00628024 and r16,r3,r2
001c5d3c: 86420026 lh r2,0x0026(r18)
001c5d40: 00000000 nop
001c5d44: 10430002 beq r2,r3,0x001c5d50
001c5d48: 00000000 nop
001c5d4c: 00408021 addu r16,r2,r0
001c5d50: 12000017 beq r16,r0,0x001c5db0
001c5d54: 00000000 nop
001c5d58: 0c016a21 jal 0x0005a884			Get Item Data Pointer
001c5d5c: 02002021 addu r4,r16,r0
001c5d60: 90420003 lbu r2,0x0003(r2)
001c5d64: 00000000 nop
001c5d68: 30420080 andi r2,r2,0x0080
001c5d6c: 10400010 beq r2,r0,0x001c5db0
001c5d70: 001010c0 sll r2,r16,0x03
001c5d74: 3c018006 lui r1,0x8006
001c5d78: 00220821 addu r1,r1,r2
001c5d7c: 90233ab9 lbu r3,0x3ab9(r1)
001c5d80: 00000000 nop
001c5d84: 30620001 andi r2,r3,0x0001
001c5d88: 14400008 bne r2,r0,0x001c5dac
001c5d8c: 34020001 ori r2,r0,0x0001
001c5d90: 92620091 lbu r2,0x0091(r19)
001c5d94: 00000000 nop
001c5d98: 30420002 andi r2,r2,0x0002
001c5d9c: 10400004 beq r2,r0,0x001c5db0
001c5da0: 30620004 andi r2,r3,0x0004
001c5da4: 10400002 beq r2,r0,0x001c5db0
001c5da8: 34020001 ori r2,r0,0x0001
001c5dac: a6420010 sh r2,0x0010(r18)
001c5db0: 8fbf0020 lw r31,0x0020(r29)
001c5db4: 8fb3001c lw r19,0x001c(r29)
001c5db8: 8fb20018 lw r18,0x0018(r29)
001c5dbc: 8fb10014 lw r17,0x0014(r29)
001c5dc0: 8fb00010 lw r16,0x0010(r29)
001c5dc4: 27bd0028 addiu r29,r29,0x0028
001c5dc8: 03e00008 jr r31
001c5dcc: 00000000 nop