papermario/asm/nonmatchings/code_303c0_len_3e10/func_80057E5C.s

27 lines
1.2 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_80057E5C
2020-09-24 05:16:13 +02:00
/* 3325C 80057E5C 0000302D */ daddu $a2, $zero, $zero
/* 33260 80057E60 3C05800A */ lui $a1, 0x800a
/* 33264 80057E64 8CA53FE0 */ lw $a1, 0x3fe0($a1)
/* 33268 80057E68 3C03800A */ lui $v1, 0x800a
/* 3326C 80057E6C 8C633FE4 */ lw $v1, 0x3fe4($v1)
2020-08-04 08:49:11 +02:00
.L80057E70:
2020-09-24 05:16:13 +02:00
/* 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, 0x800a
/* 33294 80057E94 A0243FEC */ sb $a0, 0x3fec($at)
/* 33298 80057E98 3C01800A */ lui $at, 0x800a
/* 3329C 80057E9C A4223FEE */ sh $v0, 0x3fee($at)
/* 332A0 80057EA0 3C01800A */ lui $at, 0x800a
/* 332A4 80057EA4 AC203FE8 */ sw $zero, 0x3fe8($at)
/* 332A8 80057EA8 03E00008 */ jr $ra
/* 332AC 80057EAC 00000000 */ nop