Init card earlysafe

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
000287d8: 27bdffe8 addiu r29,r29,0xffe8
000287dc: afb00010 sw r16,0x0010(r29)
000287e0: 00808021 addu r16,r4,r0
000287e4: afbf0014 sw r31,0x0014(r29)
000287e8: 0c00883d jal 0x000220f4                    # Change Clear Pad
000287ec: 00002021 addu r4,r0,r0
000287f0: 0c00880d jal 0x00022034                    # Enter Critical Section
000287f4: 00000000 nop
000287f8: 0c00a225 jal 0x00028894                    # init card
000287fc: 02002021 addu r4,r16,r0
00028800: 0c00a247 jal 0x0002891c                    # early_card_irq_patch
00028804: 00000000 nop
00028808: 0c00a275 jal 0x000289d4                    # patch_card_specific_delay
0002880c: 00000000 nop
00028810: 0c008811 jal 0x00022044                    # Exit Critical Section
00028814: 00000000 nop
00028818: 8fbf0014 lw r31,0x0014(r29)
0002881c: 8fb00010 lw r16,0x0010(r29)
00028820: 27bd0018 addiu r29,r29,0x0018
00028824: 03e00008 jr r31
00028828: 00000000 nop