papermario/asm/nonmatchings/code_de740_len_23f0/func_801498C4.s

25 lines
1.1 KiB
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_801498C4
2020-09-24 05:16:13 +02:00
/* DFFC4 801498C4 3C038016 */ lui $v1, 0x8016
/* DFFC8 801498C8 8C639AD0 */ lw $v1, -0x6530($v1)
/* DFFCC 801498CC 0000282D */ daddu $a1, $zero, $zero
2020-08-04 08:49:11 +02:00
.L801498D0:
2020-09-24 05:16:13 +02:00
/* 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
2020-08-04 08:49:11 +02:00
.L801498F4:
2020-09-24 05:16:13 +02:00
/* DFFF4 801498F4 28A2000A */ slti $v0, $a1, 0xa
2020-08-04 08:49:11 +02:00
.L801498F8:
2020-09-24 05:16:13 +02:00
/* 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