papermario/asm/nonmatchings/code_de740_len_23f0/func_801498C4.s
2020-11-29 02:13:07 -05:00

25 lines
1.1 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_801498C4
/* DFFC4 801498C4 3C038016 */ lui $v1, %hi(D_80159AD0)
/* DFFC8 801498C8 8C639AD0 */ lw $v1, %lo(D_80159AD0)($v1)
/* DFFCC 801498CC 0000282D */ daddu $a1, $zero, $zero
.L801498D0:
/* DFFD0 801498D0 8C620000 */ lw $v0, ($v1)
/* DFFD4 801498D4 30420001 */ andi $v0, $v0, 1
/* DFFD8 801498D8 10400006 */ beqz $v0, .L801498F4
/* DFFDC 801498DC 24A50001 */ addiu $a1, $a1, 1
/* DFFE0 801498E0 8C620004 */ lw $v0, 4($v1)
/* DFFE4 801498E4 14440004 */ bne $v0, $a0, .L801498F8
/* DFFE8 801498E8 28A2000A */ slti $v0, $a1, 0xa
/* DFFEC 801498EC 03E00008 */ jr $ra
/* DFFF0 801498F0 0060102D */ daddu $v0, $v1, $zero
.L801498F4:
/* DFFF4 801498F4 28A2000A */ slti $v0, $a1, 0xa
.L801498F8:
/* DFFF8 801498F8 1440FFF5 */ bnez $v0, .L801498D0
/* DFFFC 801498FC 2463001C */ addiu $v1, $v1, 0x1c
/* E0000 80149900 03E00008 */ jr $ra
/* E0004 80149904 0000102D */ daddu $v0, $zero, $zero