papermario/asm/nonmatchings/code_2e230_len_2190/func_80054248.s
2020-09-23 23:16:13 -04:00

39 lines
1.6 KiB
ArmAsm

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