papermario/asm/nonmatchings/code_28910_len_5090/func_800521D0.s
2020-09-23 23:16:13 -04:00

11 lines
425 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800521D0
/* 2D5D0 800521D0 8C830008 */ lw $v1, 8($a0)
/* 2D5D4 800521D4 90620000 */ lbu $v0, ($v1)
/* 2D5D8 800521D8 24630001 */ addiu $v1, $v1, 1
/* 2D5DC 800521DC AC830008 */ sw $v1, 8($a0)
/* 2D5E0 800521E0 03E00008 */ jr $ra
/* 2D5E4 800521E4 304200FF */ andi $v0, $v0, 0xff