00138acc - 00138d74

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

00138acc: 03e00008 jr r31
00138ad0: 2402ffff addiu r2,r0,0xffff
00138ad4: 3c028019 lui r2,0x8019
00138ad8: 90425a64 lbu r2,0x5a64(r2)
00138adc: 27bdffd8 addiu r29,r29,0xffd8
00138ae0: afbf0024 sw r31,0x0024(r29)
00138ae4: 1440001c bne r2,r0,0x00138b58
00138ae8: afb00020 sw r16,0x0020(r29)
00138aec: 3c02801d lui r2,0x801d
00138af0: 8c42d52c lw r2,-0x2ad4(r2)
00138af4: 00000000 nop
00138af8: 304200f0 andi r2,r2,0x00f0
00138afc: 14400009 bne r2,r0,0x00138b24
00138b00: 34040002 ori r4,r0,0x0002
00138b04: 0c04cf87 jal 0x00133e1c
00138b08: 00000000 nop
00138b0c: 0c04e3a9 jal 0x00138ea4
00138b10: 00000000 nop
00138b14: 0c04e3bf jal 0x00138efc
00138b18: 00000000 nop
00138b1c: 0804e359 j 0x00138d64
00138b20: 00000000 nop
00138b24: 34050019 ori r5,r0,0x0019
00138b28: 2406ffff addiu r6,r0,0xffff
00138b2c: 0c03ffc2 jal 0x000fff08
00138b30: 00003821 addu r7,r0,r0
00138b34: 34020001 ori r2,r0,0x0001
00138b38: 3c01801d lui r1,0x801d
00138b3c: a020d0f8 sb r0,-0x2f08(r1)
00138b40: 3c018019 lui r1,0x8019
00138b44: a0225a64 sb r2,0x5a64(r1)
00138b48: 0c04587a jal 0x001161e8
00138b4c: 00002021 addu r4,r0,r0
00138b50: 3c018019 lui r1,0x8019
00138b54: a02050d6 sb r0,0x50d6(r1)
00138b58: 3c028019 lui r2,0x8019
00138b5c: 9042ba25 lbu r2,-0x45db(r2)
00138b60: 00000000 nop
00138b64: 1040000b beq r2,r0,0x00138b94
00138b68: 00000000 nop
00138b6c: 3c02801d lui r2,0x801d
00138b70: 9042d80c lbu r2,-0x27f4(r2)
00138b74: 00000000 nop
00138b78: 10400002 beq r2,r0,0x00138b84
00138b7c: 3c030002 lui r3,0x0002
00138b80: 34630001 ori r3,r3,0x0001
00138b84: 3c01801d lui r1,0x801d
00138b88: ac23d754 sw r3,-0x28ac(r1)
00138b8c: 0804e2e8 j 0x00138ba0
00138b90: 34040001 ori r4,r0,0x0001
00138b94: 3c01801d lui r1,0x801d
00138b98: ac20d754 sw r0,-0x28ac(r1)
00138b9c: 34040001 ori r4,r0,0x0001           #r4 = 1 (argument for routine below)
00138ba0: 34050001 ori r5,r0,0x0001           #r5 = 1 (argument for routine below)
00138ba4: 3c07801d lui r7,0x801d              #
00138ba8: 84e7d668 lh r7,-0x2998(r7)          #r7 = halfword at 0x801cd668 ? (argument for routine below)
00138bac: 3c028014 lui r2,0x8014              #
00138bb0: 24428acc addiu r2,r2,0x8acc         #r2 = 0x80148acc
00138bb4: afa20014 sw r2,0x0014(r29)          #save 0x80148acc to stack (argument for routine below)
00138bb8: 3c028015 lui r2,0x8015              #
00138bbc: 8442330c lh r2,0x330c(r2)           #r2 = halfword at 0x8015330c ?
00138bc0: 00003021 addu r6,r0,r0              #r6 = 0 (argument for routine below)
00138bc4: afa00018 sw r0,0x0018(r29)          #save 0 to stack (argument for routine below)
00138bc8: 0c045899 jal 0x00116264             #00116264 - 00116dcc
00138bcc: afa20010 sw r2,0x0010(r29)          #save value at 0x8015330c to stack (argument for routine above)
00138bd0: 3c02801d lui r2,0x801d
00138bd4: 9042d0f8 lbu r2,-0x2f08(r2)
00138bd8: 00000000 nop
00138bdc: 1040000e beq r2,r0,0x00138c18
00138be0: 2403ffff addiu r3,r0,0xffff
00138be4: 3c02801d lui r2,0x801d
00138be8: 8c42d52c lw r2,-0x2ad4(r2)
00138bec: 3c01801d lui r1,0x801d
00138bf0: ac23d754 sw r3,-0x28ac(r1)
00138bf4: 304200f0 andi r2,r2,0x00f0
00138bf8: 10400007 beq r2,r0,0x00138c18
00138bfc: 34040002 ori r4,r0,0x0002
00138c00: 3c01801d lui r1,0x801d
00138c04: a020d0f8 sb r0,-0x2f08(r1)
00138c08: 34050019 ori r5,r0,0x0019
00138c0c: 2406ffff addiu r6,r0,0xffff
00138c10: 0c03ffc2 jal 0x000fff08
00138c14: 00003821 addu r7,r0,r0
00138c18: 0c03ffbb jal 0x000ffeec
00138c1c: 34040002 ori r4,r0,0x0002
00138c20: 14400050 bne r2,r0,0x00138d64
00138c24: 00000000 nop
00138c28: 0c045728 jal 0x00115ca0
00138c2c: 00000000 nop
00138c30: 1440004c bne r2,r0,0x00138d64
00138c34: 00000000 nop
00138c38: 3c03801d lui r3,0x801d
00138c3c: 8c63d52c lw r3,-0x2ad4(r3)
00138c40: 00000000 nop
00138c44: 30620020 andi r2,r3,0x0020
00138c48: 1040002f beq r2,r0,0x00138d08
00138c4c: 30620040 andi r2,r3,0x0040
00138c50: 3c028019 lui r2,0x8019
00138c54: 8442ba20 lh r2,-0x45e0(r2)
00138c58: 00000000 nop
00138c5c: 00021080 sll r2,r2,0x02
00138c60: 3c01801d lui r1,0x801d
00138c64: 00220821 addu r1,r1,r2
00138c68: 8c22d5ec lw r2,-0x2a14(r1)
00138c6c: 00000000 nop
00138c70: 90430072 lbu r3,0x0072(r2)
00138c74: 34020048 ori r2,r0,0x0048
00138c78: 14620018 bne r3,r2,0x00138cdc
00138c7c: 3402001b ori r2,r0,0x001b
00138c80: 3c02801d lui r2,0x801d
00138c84: 9042d80c lbu r2,-0x27f4(r2)
00138c88: 00000000 nop
00138c8c: 10400002 beq r2,r0,0x00138c98
00138c90: 34100002 ori r16,r0,0x0002
00138c94: 34100001 ori r16,r0,0x0001
00138c98: 3c058011 lui r5,0x8011
00138c9c: 24a5f250 addiu r5,r5,0xf250
00138ca0: 0c03ff5c jal 0x000ffd70
00138ca4: 34040002 ori r4,r0,0x0002
00138ca8: 34040002 ori r4,r0,0x0002
00138cac: 36050018 ori r5,r16,0x0018
00138cb0: 3406f848 ori r6,r0,0xf848
00138cb4: 0c03ffc2 jal 0x000fff08
00138cb8: 00003821 addu r7,r0,r0
00138cbc: 34020005 ori r2,r0,0x0005
00138cc0: 3c018019 lui r1,0x8019
00138cc4: a022bacc sb r2,-0x4534(r1)
00138cc8: 34020001 ori r2,r0,0x0001
00138ccc: 3c01801d lui r1,0x801d
00138cd0: a022d0f8 sb r2,-0x2f08(r1)
00138cd4: 0804e359 j 0x00138d64
00138cd8: 00000000 nop
00138cdc: 3c01801d lui r1,0x801d
00138ce0: a422d784 sh r2,-0x287c(r1)
00138ce4: 34020001 ori r2,r0,0x0001
00138ce8: 3c018019 lui r1,0x8019
00138cec: a022bacc sb r2,-0x4534(r1)
00138cf0: 3c018019 lui r1,0x8019
00138cf4: a020ba25 sb r0,-0x45db(r1)
00138cf8: 3c018019 lui r1,0x8019
00138cfc: a0205a64 sb r0,0x5a64(r1)
00138d00: 0804e359 j 0x00138d64
00138d04: 00000000 nop
00138d08: 10400016 beq r2,r0,0x00138d64
00138d0c: 34020001 ori r2,r0,0x0001
00138d10: 3c058011 lui r5,0x8011
00138d14: 24a5f250 addiu r5,r5,0xf250
00138d18: 3c018019 lui r1,0x8019
00138d1c: a02250d6 sb r2,0x50d6(r1)
00138d20: 3c018019 lui r1,0x8019
00138d24: a0205a64 sb r0,0x5a64(r1)
00138d28: 3c018019 lui r1,0x8019
00138d2c: a020ba25 sb r0,-0x45db(r1)
00138d30: 0c03ff5c jal 0x000ffd70
00138d34: 34040002 ori r4,r0,0x0002
00138d38: 34040002 ori r4,r0,0x0002
00138d3c: 34050019 ori r5,r0,0x0019
00138d40: 3406f821 ori r6,r0,0xf821
00138d44: 0c03ffc2 jal 0x000fff08
00138d48: 00003821 addu r7,r0,r0
00138d4c: 34020002 ori r2,r0,0x0002
00138d50: 3c018019 lui r1,0x8019
00138d54: a022bacc sb r2,-0x4534(r1)
00138d58: 34020019 ori r2,r0,0x0019
00138d5c: 3c01801d lui r1,0x801d
00138d60: a422d784 sh r2,-0x287c(r1)
00138d64: 8fbf0024 lw r31,0x0024(r29)
00138d68: 8fb00020 lw r16,0x0020(r29)
00138d6c: 27bd0028 addiu r29,r29,0x0028
00138d70: 03e00008 jr r31
00138d74: 00000000 nop