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

27 lines
1.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80057E5C
/* 3325C 80057E5C 0000302D */ daddu $a2, $zero, $zero
/* 33260 80057E60 3C05800A */ lui $a1, %hi(D_800A3FE0)
/* 33264 80057E64 8CA53FE0 */ lw $a1, %lo(D_800A3FE0)($a1)
/* 33268 80057E68 3C03800A */ lui $v1, %hi(D_800A3FE4)
/* 3326C 80057E6C 8C633FE4 */ lw $v1, %lo(D_800A3FE4)($v1)
.L80057E70:
/* 33270 80057E70 ACA00000 */ sw $zero, ($a1)
/* 33274 80057E74 24A50004 */ addiu $a1, $a1, 4
/* 33278 80057E78 AC600000 */ sw $zero, ($v1)
/* 3327C 80057E7C 24C60001 */ addiu $a2, $a2, 1
/* 33280 80057E80 28C20170 */ slti $v0, $a2, 0x170
/* 33284 80057E84 1440FFFA */ bnez $v0, .L80057E70
/* 33288 80057E88 24630004 */ addiu $v1, $v1, 4
/* 3328C 80057E8C 24020002 */ addiu $v0, $zero, 2
/* 33290 80057E90 3C01800A */ lui $at, %hi(D_800A3FEC)
/* 33294 80057E94 A0243FEC */ sb $a0, %lo(D_800A3FEC)($at)
/* 33298 80057E98 3C01800A */ lui $at, %hi(D_800A3FEE)
/* 3329C 80057E9C A4223FEE */ sh $v0, %lo(D_800A3FEE)($at)
/* 332A0 80057EA0 3C01800A */ lui $at, %hi(D_800A3FE8)
/* 332A4 80057EA4 AC203FE8 */ sw $zero, %lo(D_800A3FE8)($at)
/* 332A8 80057EA8 03E00008 */ jr $ra
/* 332AC 80057EAC 00000000 */ nop