papermario/asm/nonmatchings/code_7bb60_len_41b0/func_800E52F8.s
2020-08-12 22:37:16 -04:00

30 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800E52F8
/* 07E7A8 800E52F8 3C028011 */ lui $v0, 0x8011
/* 07E7AC 800E52FC 2442EBB0 */ addiu $v0, $v0, -0x1450
/* 07E7B0 800E5300 80440000 */ lb $a0, ($v0)
/* 07E7B4 800E5304 10800008 */ beqz $a0, .L800E5328
/* 07E7B8 800E5308 24030001 */ addiu $v1, $zero, 1
/* 07E7BC 800E530C 80430003 */ lb $v1, 3($v0)
/* 07E7C0 800E5310 24020003 */ addiu $v0, $zero, 3
/* 07E7C4 800E5314 1462000A */ bne $v1, $v0, .L800E5340
/* 07E7C8 800E5318 0000182D */ daddu $v1, $zero, $zero
/* 07E7CC 800E531C 0082102A */ slt $v0, $a0, $v0
/* 07E7D0 800E5320 080394D0 */ j .L800E5340
/* 07E7D4 800E5324 38430001 */ xori $v1, $v0, 1
.L800E5328:
/* 07E7D8 800E5328 3C028011 */ lui $v0, 0x8011
/* 07E7DC 800E532C 2442EFC8 */ addiu $v0, $v0, -0x1038
/* 07E7E0 800E5330 904200B4 */ lbu $v0, 0xb4($v0)
/* 07E7E4 800E5334 2C420003 */ sltiu $v0, $v0, 3
/* 07E7E8 800E5338 50400001 */ beql $v0, $zero, .L800E5340
/* 07E7EC 800E533C 0000182D */ daddu $v1, $zero, $zero
.L800E5340:
/* 07E7F0 800E5340 03E00008 */ jr $ra
/* 07E7F4 800E5344 0060102D */ daddu $v0, $v1, $zero