papermario/asm/nonmatchings/code_28910_len_5090/func_80050818.s
2020-09-23 23:16:13 -04:00

16 lines
646 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050818
/* 2BC18 80050818 28A204B1 */ slti $v0, $a1, 0x4b1
/* 2BC1C 8005081C 14400003 */ bnez $v0, .L8005082C
/* 2BC20 80050820 28A2F6A0 */ slti $v0, $a1, -0x960
/* 2BC24 80050824 0801420D */ j .L80050834
/* 2BC28 80050828 240504B0 */ addiu $a1, $zero, 0x4b0
.L8005082C:
/* 2BC2C 8005082C 54400001 */ bnel $v0, $zero, .L80050834
/* 2BC30 80050830 2405F6A0 */ addiu $a1, $zero, -0x960
.L80050834:
/* 2BC34 80050834 03E00008 */ jr $ra
/* 2BC38 80050838 A485020E */ sh $a1, 0x20e($a0)