papermario/asm/nonmatchings/code_303c0_len_3e10/func_80057FD8.s
2020-09-23 23:16:13 -04:00

18 lines
715 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80057FD8
/* 333D8 80057FD8 18C00008 */ blez $a2, .L80057FFC
/* 333DC 80057FDC 0000182D */ daddu $v1, $zero, $zero
.L80057FE0:
/* 333E0 80057FE0 90820000 */ lbu $v0, ($a0)
/* 333E4 80057FE4 24840001 */ addiu $a0, $a0, 1
/* 333E8 80057FE8 24630001 */ addiu $v1, $v1, 1
/* 333EC 80057FEC A0A20000 */ sb $v0, ($a1)
/* 333F0 80057FF0 0066102A */ slt $v0, $v1, $a2
/* 333F4 80057FF4 1440FFFA */ bnez $v0, .L80057FE0
/* 333F8 80057FF8 24A50001 */ addiu $a1, $a1, 1
.L80057FFC:
/* 333FC 80057FFC 03E00008 */ jr $ra
/* 33400 80058000 00000000 */ nop