0x142bd0

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
#   ROUTINE: ? 0x142bd0
#       Parameters:
#           r4 = (p1) ?

80142bd0: 27bdffe8 addiu r29,r29,-0x0018
80142bd4: 00802821 addu r5,r4,r0                #   p1
80142bd8: 3c038016 lui r3,0x8016
80142bdc: 94635ff6 lhu r3,0x5ff6(r3)            #   *0x80165ff6
80142be0: 34020002 ori r2,r0,0x0002
80142be4: 1462000b bne r3,r2,0x80142c14         #   if (*0x80165ff6 != 2) return;
80142be8: afbf0010 sw r31,0x0010(r29)
80142bec: 0c04ed91 jal 0x8013b644               #   ROUTINE: Set Script Variable (0x56, p1);
80142bf0: 34040056 ori r4,r0,0x0056             
80142bf4: 34040029 ori r4,r0,0x0029
80142bf8: 0c04ed91 jal 0x8013b644               #   ROUTINE: Set Script Variable (0x29, 0xffff);
80142bfc: 3405ffff ori r5,r0,0xffff
80142c00: 0c0532a0 jal 0x8014ca80               #   ROUTINE: Switch To Next Thread ();
80142c04: 00000000 nop
80142c08: 34040056 ori r4,r0,0x0056
80142c0c: 0c04ed91 jal 0x8013b644               #   ROUTINE: Set Script Variable (0x56, 0);
80142c10: 00002821 addu r5,r0,r0
80142c14: 8fbf0010 lw r31,0x0010(r29)
80142c18: 27bd0018 addiu r29,r29,0x0018
80142c1c: 03e00008 jr r31
80142c20: 00000000 nop