papermario/asm/nonmatchings/code_303c0_len_3e10/func_80057344.s
2020-08-12 22:37:16 -04:00

17 lines
622 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80057344
/* 032744 80057344 308400FF */ andi $a0, $a0, 0xff
/* 032748 80057348 00041940 */ sll $v1, $a0, 5
/* 03274C 8005734C 3C028008 */ lui $v0, 0x8008
/* 032750 80057350 8C428E54 */ lw $v0, -0x71ac($v0)
/* 032754 80057354 00641823 */ subu $v1, $v1, $a0
/* 032758 80057358 8C42001C */ lw $v0, 0x1c($v0)
/* 03275C 8005735C 00031880 */ sll $v1, $v1, 2
/* 032760 80057360 00431021 */ addu $v0, $v0, $v1
/* 032764 80057364 03E00008 */ jr $ra
/* 032768 80057368 AC45003C */ sw $a1, 0x3c($v0)