mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
46 lines
1.6 KiB
ArmAsm
46 lines
1.6 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel func_80054248
|
||
|
/* 02F648 80054248 308400FF */ andi $a0, $a0, 0xff
|
||
|
/* 02F64C 8005424C 24020002 */ addiu $v0, $zero, 2
|
||
|
/* 02F650 80054250 10820010 */ beq $a0, $v0, .L80054294
|
||
|
/* 02F654 80054254 28820003 */ slti $v0, $a0, 3
|
||
|
/* 02F658 80054258 10400005 */ beqz $v0, .L80054270
|
||
|
/* 02F65C 8005425C 24020001 */ addiu $v0, $zero, 1
|
||
|
/* 02F660 80054260 10820008 */ beq $a0, $v0, .L80054284
|
||
|
/* 02F664 80054264 0000102D */ daddu $v0, $zero, $zero
|
||
|
/* 02F668 80054268 080150AD */ j .L800542B4
|
||
|
/* 02F66C 8005426C 00000000 */ nop
|
||
|
|
||
|
.L80054270:
|
||
|
/* 02F670 80054270 24020004 */ addiu $v0, $zero, 4
|
||
|
/* 02F674 80054274 1082000B */ beq $a0, $v0, .L800542A4
|
||
|
/* 02F678 80054278 0000102D */ daddu $v0, $zero, $zero
|
||
|
/* 02F67C 8005427C 080150AD */ j .L800542B4
|
||
|
/* 02F680 80054280 00000000 */ nop
|
||
|
|
||
|
.L80054284:
|
||
|
/* 02F684 80054284 3C02800A */ lui $v0, 0x800a
|
||
|
/* 02F688 80054288 8C42A664 */ lw $v0, -0x599c($v0)
|
||
|
/* 02F68C 8005428C 03E00008 */ jr $ra
|
||
|
/* 02F690 80054290 00000000 */ nop
|
||
|
|
||
|
.L80054294:
|
||
|
/* 02F694 80054294 3C02800A */ lui $v0, 0x800a
|
||
|
/* 02F698 80054298 8C42A5FC */ lw $v0, -0x5a04($v0)
|
||
|
/* 02F69C 8005429C 03E00008 */ jr $ra
|
||
|
/* 02F6A0 800542A0 00000000 */ nop
|
||
|
|
||
|
.L800542A4:
|
||
|
/* 02F6A4 800542A4 3C02800A */ lui $v0, 0x800a
|
||
|
/* 02F6A8 800542A8 8C42A640 */ lw $v0, -0x59c0($v0)
|
||
|
/* 02F6AC 800542AC 03E00008 */ jr $ra
|
||
|
/* 02F6B0 800542B0 00000000 */ nop
|
||
|
|
||
|
.L800542B4:
|
||
|
/* 02F6B4 800542B4 03E00008 */ jr $ra
|
||
|
/* 02F6B8 800542B8 00000000 */ nop
|
||
|
|