Difference between revisions of "StartCARD earlysafe"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0002882c: 27bdffe8 addiu r29,r29,0xffe8 00028830: afbf0010 sw r31,0x0010(r29) 00028834: 0c00880d jal 0x00022034 00028838: 00000000 nop 0002883...")
 
m
Line 3: Line 3:
 
  0002882c: 27bdffe8 addiu r29,r29,0xffe8
 
  0002882c: 27bdffe8 addiu r29,r29,0xffe8
 
  00028830: afbf0010 sw r31,0x0010(r29)
 
  00028830: afbf0010 sw r31,0x0010(r29)
  00028834: 0c00880d jal 0x00022034
+
  00028834: 0c00880d jal 0x00022034           [[Enter Critical Section]] <-- destroys r3?
 
  00028838: 00000000 nop
 
  00028838: 00000000 nop
  0002883c: 0c00a229 jal 0x000288a4
+
  0002883c: 0c00a229 jal 0x000288a4           [[000289a4 - 000289d0]] <-- ... asks for r3 as an argument? otherwise just waits for 0xc8 cpu clockticks.
 
  00028840: 00000000 nop
 
  00028840: 00000000 nop
  00028844: 0c00883d jal 0x000220f4
+
  00028844: 0c00883d jal 0x000220f4           [[Change Clear Pad]]
 
  00028848: 00002021 addu r4,r0,r0
 
  00028848: 00002021 addu r4,r0,r0
  0002884c: 0c008811 jal 0x00022044
+
  0002884c: 0c008811 jal 0x00022044           [[Exit Critical Section]]
 
  00028850: 00000000 nop
 
  00028850: 00000000 nop
 
  00028854: 8fbf0010 lw r31,0x0010(r29)
 
  00028854: 8fbf0010 lw r31,0x0010(r29)

Revision as of 10:57, 17 July 2024

0002882c: 27bdffe8 addiu r29,r29,0xffe8
00028830: afbf0010 sw r31,0x0010(r29)
00028834: 0c00880d jal 0x00022034            Enter Critical Section <-- destroys r3?
00028838: 00000000 nop
0002883c: 0c00a229 jal 0x000288a4            000289a4 - 000289d0 <-- ... asks for r3 as an argument? otherwise just waits for 0xc8 cpu clockticks.
00028840: 00000000 nop
00028844: 0c00883d jal 0x000220f4            Change Clear Pad
00028848: 00002021 addu r4,r0,r0
0002884c: 0c008811 jal 0x00022044            Exit Critical Section
00028850: 00000000 nop
00028854: 8fbf0010 lw r31,0x0010(r29)
00028858: 27bd0018 addiu r29,r29,0x0018
0002885c: 03e00008 jr r31
00028860: 00000000 nop