0x142b5c

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
00142b5c: 3c028017 lui r2,0x8017
00142b60: 84423cb0 lh r2,0x3cb0(r2)                 #   *0x80173cb0
00142b64: 27bdffe8 addiu r29,r29,0xffe8
00142b68: 10400009 beq r2,r0,0x00142b90             #   if (*0x80173cb0 == 0) return 0;
00142b6c: afbf0010 sw r31,0x0010(r29)
00142b70: 0c04ed64 jal 0x0013b590                   #   eventID = Get Script Variable (0x27);
00142b74: 34040027 ori r4,r0,0x0027
00142b78: 00021040 sll r2,r2,0x01                   #   eventID * 2
00142b7c: 3c018005 lui r1,0x8005
00142b80: 00220821 addu r1,r1,r2
00142b84: 9422e5d0 lhu r2,-0x1a30(r1)               #   *(0x8004e5d0 + (eventID * 2))
00142b88: 08050ae5 j 0x00142b94                     #   return *(0x8004e5d0 + (eventID * 2));
00142b8c: 00000000 nop
00142b90: 00001021 addu r2,r0,r0
00142b94: 8fbf0010 lw r31,0x0010(r29)
00142b98: 27bd0018 addiu r29,r29,0x0018
00142b9c: 03e00008 jr r31
00142ba0: 00000000 nop