mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
32 lines
1.5 KiB
ArmAsm
Generated
32 lines
1.5 KiB
ArmAsm
Generated
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel fio_erase_game
|
|
/* 682C 8002B42C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 6830 8002B430 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 6834 8002B434 0080902D */ daddu $s2, $a0, $zero
|
|
/* 6838 8002B438 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 683C 8002B43C AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 6840 8002B440 0C00AC55 */ jal fio_fetch_saved_file_info
|
|
/* 6844 8002B444 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 6848 8002B448 0000802D */ daddu $s0, $zero, $zero
|
|
/* 684C 8002B44C 3C11800A */ lui $s1, %hi(D_8009BA50)
|
|
/* 6850 8002B450 2631BA50 */ addiu $s1, $s1, %lo(D_8009BA50)
|
|
.L8002B454:
|
|
/* 6854 8002B454 8E220000 */ lw $v0, ($s1)
|
|
/* 6858 8002B458 54520004 */ bnel $v0, $s2, .L8002B46C
|
|
/* 685C 8002B45C 26100001 */ addiu $s0, $s0, 1
|
|
/* 6860 8002B460 0C00AE87 */ jal fio_erase_flash
|
|
/* 6864 8002B464 0200202D */ daddu $a0, $s0, $zero
|
|
/* 6868 8002B468 26100001 */ addiu $s0, $s0, 1
|
|
.L8002B46C:
|
|
/* 686C 8002B46C 2A020006 */ slti $v0, $s0, 6
|
|
/* 6870 8002B470 1440FFF8 */ bnez $v0, .L8002B454
|
|
/* 6874 8002B474 26310008 */ addiu $s1, $s1, 8
|
|
/* 6878 8002B478 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 687C 8002B47C 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 6880 8002B480 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 6884 8002B484 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 6888 8002B488 03E00008 */ jr $ra
|
|
/* 688C 8002B48C 27BD0020 */ addiu $sp, $sp, 0x20
|