0x113dd4

From Final Fantasy Hacktics Wiki
Revision as of 01:54, 18 May 2018 by Glain (talk | contribs) (Created page with " 80113dd4: 27bdffe8 addiu r29,r29,-0x0018 80113dd8: afbf0010 sw r31,0x0010(r29) 80113ddc: 3c028019 lui r2,0x8019 80113de0: 9042bacd lbu r2,-0x4533(r2) # *0x...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
80113dd4: 27bdffe8 addiu r29,r29,-0x0018
80113dd8: afbf0010 sw r31,0x0010(r29)
80113ddc: 3c028019 lui r2,0x8019
80113de0: 9042bacd lbu r2,-0x4533(r2)               #   *0x8018bacd
80113de4: 00000000 nop
80113de8: 10400003 beq r2,r0,0x80113df8             #   if (*0x8018bacd != 0)
80113dec: 00000000 nop                              #   {
80113df0: 3c018019 lui r1,0x8019
80113df4: a020bacc sb r0,-0x4534(r1)                #       *0x8018bacc = 0
                                                    #   }
80113df8: 3c038015 lui r3,0x8015
80113dfc: 8c633298 lw r3,0x3298(r3)                 #   *0x80153298
80113e00: 34020073 ori r2,r0,0x0073                 
80113e04: 10620003 beq r3,r2,0x80113e14
80113e08: 3402002d ori r2,r0,0x002d                 
                                                    #   if ((*0x80153298 == 0x73) 
80113e0c: 14620009 bne r3,r2,0x80113e34
80113e10: 34020030 ori r2,r0,0x0030
                                                    #       or (*0x80153298 == 0x2d))
                                                    #   {
80113e14: 3c048015 lui r4,0x8015
80113e18: 8c843298 lw r4,0x3298(r4)                 #       *0x80153298
80113e1c: 0c011006 jal 0x80044018                   #       ? 0x44018 (*0x80153298);
80113e20: 00000000 nop
80113e24: 3c018015 lui r1,0x8015
80113e28: ac203298 sw r0,0x3298(r1)                 #       *0x80153298 = 0
80113e2c: 08044f96 j 0x80113e58
80113e30: 00000000 nop                              #   } else {
80113e34: 3c038019 lui r3,0x8019
80113e38: 9063bacc lbu r3,-0x4534(r3)               #       *0x8018bacc
80113e3c: 00000000 nop
80113e40: 14620005 bne r3,r2,0x80113e58             #       if (*0x8018bacc == 0x30) {
80113e44: 00000000 nop
80113e48: 0c011006 jal 0x80044018                   #           ? 0x44018 (0x30);
80113e4c: 34040030 ori r4,r0,0x0030
80113e50: 3c018019 lui r1,0x8019
80113e54: a020bacc sb r0,-0x4534(r1)                #           *0x8018bacc = 0
                                                    #       }
                                                    #   }
80113e58: 3c028015 lui r2,0x8015
80113e5c: 8c423298 lw r2,0x3298(r2)                 #   *0x80153298
80113e60: 00000000 nop
80113e64: 2442fffe addiu r2,r2,-0x0002              #   *0x80153298 - 2
80113e68: 2c420002 sltiu r2,r2,0x0002
80113e6c: 10400005 beq r2,r0,0x80113e84             #   if ((*0x80153298 - 2) < 2) {        // (unsigned comparison)
80113e70: 00000000 nop
80113e74: 3c028015 lui r2,0x8015
80113e78: 90423298 lbu r2,0x3298(r2)                #       *0x80153298
80113e7c: 3c018019 lui r1,0x8019
80113e80: a022bacc sb r2,-0x4534(r1)                #       *0x8018bacc = *0x80153298
                                                    #   }
80113e84: 3c028015 lui r2,0x8015
80113e88: 8c423298 lw r2,0x3298(r2)                 #   *0x80153298
80113e8c: 00000000 nop
80113e90: 04400006 bltz r2,0x80113eac               #   if ((*0x80153298 < 0)
80113e94: 00000000 nop
80113e98: 3c028015 lui r2,0x8015
80113e9c: 8c4232a0 lw r2,0x32a0(r2)                 
80113ea0: 00000000 nop
80113ea4: 10400003 beq r2,r0,0x80113eb4             #      
80113ea8: 00000000 nop                              #       or (*0x801532a0 != 0))
                                                    #   {
80113eac: 3c018015 lui r1,0x8015
80113eb0: ac203298 sw r0,0x3298(r1)                 #       *0x80153298 = 0
                                                    #   }
80113eb4: 3c048015 lui r4,0x8015
80113eb8: 8c843298 lw r4,0x3298(r4)                 #   soundEffectID = *0x80153298
80113ebc: 00000000 nop
80113ec0: 14800003 bne r4,r0,0x80113ed0             #   if (soundEffectID == 0) {
80113ec4: 00000000 nop
80113ec8: 3c048019 lui r4,0x8019
80113ecc: 9084bacc lbu r4,-0x4534(r4)                       soundEffectID = *0x8018bacc
                                                    #   }
80113ed0: 3c018019 lui r1,0x8019
80113ed4: a020bacc sb r0,-0x4534(r1)                #   *0x8018bacc = 0
80113ed8: 3c018015 lui r1,0x8015
80113edc: ac203298 sw r0,0x3298(r1)                 #   *0x80153298 = 0
80113ee0: 10800003 beq r4,r0,0x80113ef0             #   if (soundEffectID != 0) {
80113ee4: 00000000 nop
80113ee8: 0c010ffe jal 0x80043ff8                   #       Play Sound Effect (soundEffectID);
80113eec: 00000000 nop                              #   }
80113ef0: 8fbf0010 lw r31,0x0010(r29)
80113ef4: 27bd0018 addiu r29,r29,0x0018
80113ef8: 03e00008 jr r31
80113efc: 00000000 nop