001c4c78 - 001c4ec0
Jump to navigation
Jump to search
001c4c78: 27bdffd0 addiu r29,r29,0xffd0 001c4c7c: afbf002c sw r31,0x002c(r29) 001c4c80: afb40028 sw r20,0x0028(r29) 001c4c84: afb30024 sw r19,0x0024(r29) 001c4c88: afb20020 sw r18,0x0020(r29) 001c4c8c: afb1001c sw r17,0x001c(r29) 001c4c90: 0c0710fa jal 0x001c43e8 Low Brave/High Faith leaving 001c4c94: afb00018 sw r16,0x0018(r29) 001c4c98: 14400003 bne r2,r0,0x001c4ca8 001c4c9c: 00000000 nop 001c4ca0: 0c053256 jal 0x0014c958 Stop Current Thread | Seek New Thread 001c4ca4: 00000000 nop 001c4ca8: 3c04801d lui r4,0x801d 001c4cac: 2484bef0 addiu r4,r4,0xbef0 001c4cb0: 3c02801d lui r2,0x801d 001c4cb4: 8c42be74 lw r2,-0x418c(r2) 001c4cb8: 3c03801d lui r3,0x801d 001c4cbc: 8c63be78 lw r3,-0x4188(r3) 001c4cc0: 00441021 addu r2,r2,r4 001c4cc4: 3c018017 lui r1,0x8017 001c4cc8: ac223f90 sw r2,0x3f90(r1) 001c4ccc: 3c02801d lui r2,0x801d 001c4cd0: 8c42be7c lw r2,-0x4184(r2) 001c4cd4: 00641821 addu r3,r3,r4 001c4cd8: 3c018017 lui r1,0x8017 001c4cdc: ac233f94 sw r3,0x3f94(r1) 001c4ce0: 3c03801d lui r3,0x801d 001c4ce4: 8c63be80 lw r3,-0x4180(r3) 001c4ce8: 00441021 addu r2,r2,r4 001c4cec: 00641821 addu r3,r3,r4 001c4cf0: 3c018017 lui r1,0x8017 001c4cf4: ac223f98 sw r2,0x3f98(r1) 001c4cf8: 3c018017 lui r1,0x8017 001c4cfc: ac233fa4 sw r3,0x3fa4(r1) 001c4d00: 0c0532a0 jal 0x0014ca80 Some event data setting routine 001c4d04: 00009821 addu r19,r0,r0 001c4d08: 0c0526fb jal 0x00149bec Get Next Available Thread ID 001c4d0c: 34040010 ori r4,r0,0x0010 001c4d10: 0040a021 addu r20,r2,r0 001c4d14: 3c05801d lui r5,0x801d 001c4d18: 24a59fac addiu r5,r5,0x9fac 001c4d1c: 0c053228 jal 0x0014c8a0 Initialize Thread 001c4d20: 02802021 addu r4,r20,r0 001c4d24: 02802021 addu r4,r20,r0 001c4d28: 34050006 ori r5,r0,0x0006 001c4d2c: 00003021 addu r6,r0,r0 001c4d30: 0c05328e jal 0x0014ca38 Store Thread Function Parameters 001c4d34: 00003821 addu r7,r0,r0 001c4d38: 3404000d ori r4,r0,0x000d 001c4d3c: 34050005 ori r5,r0,0x0005 001c4d40: 0c070f04 jal 0x001c3c10 001c3c10 - 001c3d04 001c4d44: 34060002 ori r6,r0,0x0002 001c4d48: 0c0532a0 jal 0x0014ca80 Some event data setting routine 001c4d4c: 00000000 nop 001c4d50: 3c02801d lui r2,0x801d 001c4d54: 8c420b34 lw r2,0x0b34(r2) 001c4d58: 00000000 nop 001c4d5c: 18400043 blez r2,0x001c4e6c 001c4d60: 00000000 nop 001c4d64: 0c0526fb jal 0x00149bec Get Next Available Thread ID 001c4d68: 34040010 ori r4,r0,0x0010 001c4d6c: 00409021 addu r18,r2,r0 001c4d70: 3c11801d lui r17,0x801d 001c4d74: 26317388 addiu r17,r17,0x7388 001c4d78: 00138080 sll r16,r19,0x02 001c4d7c: 02118821 addu r17,r16,r17 001c4d80: 8e220000 lw r2,0x0000(r17) 001c4d84: 3c058013 lui r5,0x8013 001c4d88: 24a508c0 addiu r5,r5,0x08c0 001c4d8c: 3c018016 lui r1,0x8016 001c4d90: ac225ef4 sw r2,0x5ef4(r1) 001c4d94: 0c053228 jal 0x0014c8a0 Initialize Thread 001c4d98: 02402021 addu r4,r18,r0 001c4d9c: 02402021 addu r4,r18,r0 001c4da0: 3c01801d lui r1,0x801d 001c4da4: 00300821 addu r1,r1,r16 001c4da8: 8c2672c0 lw r6,0x72c0(r1) 001c4dac: 3c01801d lui r1,0x801d 001c4db0: 00300821 addu r1,r1,r16 001c4db4: 8c2771f8 lw r7,0x71f8(r1) 001c4db8: 0c05328e jal 0x0014ca38 Store Thread Function Parameters 001c4dbc: 3405001b ori r5,r0,0x001b 001c4dc0: 8e240000 lw r4,0x0000(r17) 001c4dc4: 0c0602bf jal 0x00180afc Get Unit's Data Pointer 001c4dc8: 00000000 nop 001c4dcc: 34040010 ori r4,r0,0x0010 001c4dd0: 0c0526fb jal 0x00149bec Get Next Available Thread ID 001c4dd4: 00408821 addu r17,r2,r0 001c4dd8: 00408021 addu r16,r2,r0 001c4ddc: 3c05801d lui r5,0x801d 001c4de0: 24a59fac addiu r5,r5,0x9fac 001c4de4: 0c053228 jal 0x0014c8a0 Initialize Thread 001c4de8: 02002021 addu r4,r16,r0 001c4dec: 92220006 lbu r2,0x0006(r17) 001c4df0: 00000000 nop 001c4df4: 30420040 andi r2,r2,0x0040 001c4df8: 10400003 beq r2,r0,0x001c4e08 001c4dfc: 34050009 ori r5,r0,0x0009 001c4e00: 08071384 j 0x001c4e10 001c4e04: 02002021 addu r4,r16,r0 001c4e08: 02002021 addu r4,r16,r0 001c4e0c: 34050008 ori r5,r0,0x0008 001c4e10: 34060001 ori r6,r0,0x0001 001c4e14: 0c05328e jal 0x0014ca38 Store Thread Function Parameters 001c4e18: 00003821 addu r7,r0,r0 001c4e1c: 0c053274 jal 0x0014c9d0 Wait For Thread 001c4e20: 02402021 addu r4,r18,r0 001c4e24: 02002021 addu r4,r16,r0 001c4e28: 00002821 addu r5,r0,r0 001c4e2c: 00003021 addu r6,r0,r0 001c4e30: 0c05328e jal 0x0014ca38 Store Thread Function Parameters 001c4e34: 34070002 ori r7,r0,0x0002 001c4e38: 0c053274 jal 0x0014c9d0 Wait For Thread 001c4e3c: 02002021 addu r4,r16,r0 001c4e40: 0c053216 jal 0x0014c858 Wait 001c4e44: 3404001e ori r4,r0,0x001e 001c4e48: 92240002 lbu r4,0x0002(r17) 001c4e4c: 0c0167f8 jal 0x00059fe0 Remove Unit from Party 001c4e50: 26730001 addiu r19,r19,0x0001 001c4e54: 3c02801d lui r2,0x801d 001c4e58: 8c420b34 lw r2,0x0b34(r2) 001c4e5c: 00000000 nop 001c4e60: 0262102a slt r2,r19,r2 001c4e64: 1440ffbf bne r2,r0,0x001c4d64 001c4e68: 00000000 nop 001c4e6c: 02802021 addu r4,r20,r0 001c4e70: 34050006 ori r5,r0,0x0006 001c4e74: 00003021 addu r6,r0,r0 001c4e78: 0c05328e jal 0x0014ca38 Store Thread Function Parameters 001c4e7c: 34070002 ori r7,r0,0x0002 001c4e80: 0c053274 jal 0x0014c9d0 Wait For Thread 001c4e84: 02802021 addu r4,r20,r0 001c4e88: 34040006 ori r4,r0,0x0006 001c4e8c: 34050005 ori r5,r0,0x0005 001c4e90: 0c070f04 jal 0x001c3c10 001c3c10 - 001c3d04 001c4e94: 34060002 ori r6,r0,0x0002 001c4e98: 0c053256 jal 0x0014c958 Stop Current Thread | Seek New Thread 001c4e9c: 00000000 nop 001c4ea0: 8fbf002c lw r31,0x002c(r29) 001c4ea4: 8fb40028 lw r20,0x0028(r29) 001c4ea8: 8fb30024 lw r19,0x0024(r29) 001c4eac: 8fb20020 lw r18,0x0020(r29) 001c4eb0: 8fb1001c lw r17,0x001c(r29) 001c4eb4: 8fb00018 lw r16,0x0018(r29) 001c4eb8: 27bd0030 addiu r29,r29,0x0030 001c4ebc: 03e00008 jr r31 001c4ec0: 00000000 nop