Difference between revisions of "00040b88 - 00040bd4"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00040b88: 27bdffe8 addiu r29,r29,0xffe8 00040b8c: afbf0010 sw r31,0x0010(r29) 00040b90: 0c0042b4 jal 0x00010ad0 00040b94: 00000000 nop 00040b9...")
 
 
Line 3: Line 3:
 
  00040b88: 27bdffe8 addiu r29,r29,0xffe8
 
  00040b88: 27bdffe8 addiu r29,r29,0xffe8
 
  00040b8c: afbf0010 sw r31,0x0010(r29)
 
  00040b8c: afbf0010 sw r31,0x0010(r29)
  00040b90: 0c0042b4 jal 0x00010ad0
+
  00040b90: 0c0042b4 jal 0x00010ad0             [[Main]] partway through (skips break instruction)
 
  00040b94: 00000000 nop
 
  00040b94: 00000000 nop
  00040b98: 0c010961 jal 0x00042584
+
  00040b98: 0c010961 jal 0x00042584             [[Initialise Game Environment]]
 
  00040b9c: 00000000 nop
 
  00040b9c: 00000000 nop
 
  00040ba0: 3c048004 lui r4,0x8004
 
  00040ba0: 3c048004 lui r4,0x8004
 
  00040ba4: 24847608 addiu r4,r4,0x7608
 
  00040ba4: 24847608 addiu r4,r4,0x7608
  00040ba8: 0c0046ec jal 0x00011bb0
+
  00040ba8: 0c0046ec jal 0x00011bb0             [[00011bb0 - 00011bbc]] get stack from r4
 
  00040bac: 00000000 nop
 
  00040bac: 00000000 nop
  00040bb0: 0c010280 jal 0x00040a00
+
  00040bb0: 0c010280 jal 0x00040a00             [[Initialise FFT Game state]]
 
  00040bb4: 00000000 nop
 
  00040bb4: 00000000 nop
  00040bb8: 0c0076e2 jal 0x0001db88
+
  00040bb8: 0c0076e2 jal 0x0001db88             [[PadStop]]
 
  00040bbc: 00000000 nop
 
  00040bbc: 00000000 nop
  00040bc0: 0c0077a0 jal 0x0001de80
+
  00040bc0: 0c0077a0 jal 0x0001de80             [[Stop Callback]]
 
  00040bc4: 00000000 nop
 
  00040bc4: 00000000 nop
 
  00040bc8: 8fbf0010 lw r31,0x0010(r29)
 
  00040bc8: 8fbf0010 lw r31,0x0010(r29)
 
  00040bcc: 27bd0018 addiu r29,r29,0x0018
 
  00040bcc: 27bd0018 addiu r29,r29,0x0018
  00040bd0: 03e00008 jr r31
+
  00040bd0: 03e00008 jr r31                     <-- game breaks if it gets past here. luckily, initialise game state can never return.
 
  00040bd4: 00000000 nop
 
  00040bd4: 00000000 nop
 
</font>
 
</font>

Latest revision as of 07:03, 15 June 2024

00040b88: 27bdffe8 addiu r29,r29,0xffe8
00040b8c: afbf0010 sw r31,0x0010(r29)
00040b90: 0c0042b4 jal 0x00010ad0              Main partway through (skips break instruction)
00040b94: 00000000 nop
00040b98: 0c010961 jal 0x00042584              Initialise Game Environment
00040b9c: 00000000 nop
00040ba0: 3c048004 lui r4,0x8004
00040ba4: 24847608 addiu r4,r4,0x7608
00040ba8: 0c0046ec jal 0x00011bb0              00011bb0 - 00011bbc get stack from r4
00040bac: 00000000 nop
00040bb0: 0c010280 jal 0x00040a00              Initialise FFT Game state
00040bb4: 00000000 nop
00040bb8: 0c0076e2 jal 0x0001db88              PadStop
00040bbc: 00000000 nop
00040bc0: 0c0077a0 jal 0x0001de80              Stop Callback
00040bc4: 00000000 nop
00040bc8: 8fbf0010 lw r31,0x0010(r29)
00040bcc: 27bd0018 addiu r29,r29,0x0018
00040bd0: 03e00008 jr r31                      <-- game breaks if it gets past here. luckily, initialise game state can never return.
00040bd4: 00000000 nop