papermario/asm/nonmatchings/code_759b0_len_61b0/func_800E0B38.s
Ethan Roseman 51c076bd8e symbols!
2020-09-27 21:13:56 -04:00

30 lines
1.4 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800E0B38
/* 79FE8 800E0B38 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 79FEC 800E0B3C 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 79FF0 800E0B40 80420070 */ lb $v0, 0x70($v0)
/* 79FF4 800E0B44 3C048011 */ lui $a0, %hi(gPlayerData)
/* 79FF8 800E0B48 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
/* 79FFC 800E0B4C 1440000E */ bnez $v0, .L800E0B88
/* 7A000 800E0B50 24050001 */ addiu $a1, $zero, 1
/* 7A004 800E0B54 24830004 */ addiu $v1, $a0, 4
/* 7A008 800E0B58 24840008 */ addiu $a0, $a0, 8
.L800E0B5C:
/* 7A00C 800E0B5C 90820014 */ lbu $v0, 0x14($a0)
/* 7A010 800E0B60 50400005 */ beql $v0, $zero, .L800E0B78
/* 7A014 800E0B64 24630004 */ addiu $v1, $v1, 4
/* 7A018 800E0B68 8C6202C4 */ lw $v0, 0x2c4($v1)
/* 7A01C 800E0B6C 24420001 */ addiu $v0, $v0, 1
/* 7A020 800E0B70 AC6202C4 */ sw $v0, 0x2c4($v1)
/* 7A024 800E0B74 24630004 */ addiu $v1, $v1, 4
.L800E0B78:
/* 7A028 800E0B78 24A50001 */ addiu $a1, $a1, 1
/* 7A02C 800E0B7C 28A2000C */ slti $v0, $a1, 0xc
/* 7A030 800E0B80 1440FFF6 */ bnez $v0, .L800E0B5C
/* 7A034 800E0B84 24840008 */ addiu $a0, $a0, 8
.L800E0B88:
/* 7A038 800E0B88 03E00008 */ jr $ra
/* 7A03C 800E0B8C 00000000 */ nop