00138d78 - 00138e70

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
00138d78: 3c028019 lui r2,0x8019              #
00138d7c: 90425a65 lbu r2,0x5a65(r2)          #r2 = value at 0x80195a65 ?
00138d80: 27bdffd8 addiu r29,r29,0xffd8       #
00138d84: 14400008 bne r2,r0,0x00138da8       #branch if r2 ≠ 0
00138d88: afbf0020 sw r31,0x0020(r29)         #
00138d8c: 3c018019 lui r1,0x8019                  #
00138d90: a020ba25 sb r0,-0x45db(r1)              #clear byte at 0x8018ba25
00138d94: 0c045518 jal 0x00115460                 #00115460 - 001154c0
00138d98: 00002021 addu r4,r0,r0                  #r4 = 0 (argument for above routine)
00138d9c: 34020001 ori r2,r0,0x0001               #
00138da0: 3c018019 lui r1,0x8019                  #
00138da4: a0225a65 sb r2,0x5a65(r1)               #save 0x01 at 0x80195a65
00138da8: 34040001 ori r4,r0,0x0001           #r4 = 1 (argument for routine below)
00138dac: 00002821 addu r5,r0,r0              #r5 = 0 (argument for routine below)
00138db0: 00003021 addu r6,r0,r0              #r6 = 0 (argument for routine below)
00138db4: 00003821 addu r7,r0,r0              #r7 = 0 (argument for routine below)
00138db8: 3c038015 lui r3,0x8015              #
00138dbc: 8463330c lh r3,0x330c(r3)           #r3 = value at 0x8015330c ?
00138dc0: 3c028014 lui r2,0x8014              #
00138dc4: 24428acc addiu r2,r2,0x8acc         #r2 = 0x80148acc
00138dc8: afa20014 sw r2,0x0014(r29)          #save r2 to stack (argument for routine below)
00138dcc: afa00018 sw r0,0x0018(r29)          #save 0 to stack (argument for routine below)
00138dd0: 0c045899 jal 0x00116264             #00116264 - 00116dcc
00138dd4: afa30010 sw r3,0x0010(r29)          #save r3 to stack (argument for routine above)
00138dd8: 3c028019 lui r2,0x8019
00138ddc: 8442ba20 lh r2,-0x45e0(r2)
00138de0: 00000000 nop
00138de4: 00021080 sll r2,r2,0x02
00138de8: 3c01801d lui r1,0x801d
00138dec: 00220821 addu r1,r1,r2
00138df0: 8c24d5ec lw r4,-0x2a14(r1)
00138df4: 00002821 addu r5,r0,r0
00138df8: 0c04e3d7 jal 0x00138f5c
00138dfc: 2484010e addiu r4,r4,0x010e
00138e00: 3c01801d lui r1,0x801d
00138e04: ac22d100 sw r2,-0x2f00(r1)
00138e08: 10400016 beq r2,r0,0x00138e64
00138e0c: 00402821 addu r5,r2,r0
00138e10: 3c048019 lui r4,0x8019
00138e14: 8484ba20 lh r4,-0x45e0(r4)
00138e18: 34020019 ori r2,r0,0x0019
00138e1c: 3c01801d lui r1,0x801d
00138e20: a422d784 sh r2,-0x287c(r1)
00138e24: 0c048299 jal 0x00120a64
00138e28: 00000000 nop
00138e2c: 3c058011 lui r5,0x8011
00138e30: 24a5f250 addiu r5,r5,0xf250
00138e34: 0c03ff5c jal 0x000ffd70
00138e38: 34040002 ori r4,r0,0x0002
00138e3c: 34040002 ori r4,r0,0x0002
00138e40: 34050019 ori r5,r0,0x0019
00138e44: 3406f821 ori r6,r0,0xf821
00138e48: 0c03ffc2 jal 0x000fff08
00138e4c: 00003821 addu r7,r0,r0
00138e50: 34020001 ori r2,r0,0x0001
00138e54: 3c018019 lui r1,0x8019
00138e58: a02250d6 sb r2,0x50d6(r1)
00138e5c: 3c018019 lui r1,0x8019
00138e60: a0205a65 sb r0,0x5a65(r1)
00138e64: 8fbf0020 lw r31,0x0020(r29)
00138e68: 27bd0028 addiu r29,r29,0x0028
00138e6c: 03e00008 jr r31
00138e70: 00000000 nop