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

13 lines
562 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel get_menu_icon
/* DAFD4 801448D4 2402F7FF */ addiu $v0, $zero, -0x801
/* DAFD8 801448D8 00822024 */ and $a0, $a0, $v0
/* DAFDC 801448DC 3C028015 */ lui $v0, %hi(D_80157960)
/* DAFE0 801448E0 8C427960 */ lw $v0, %lo(D_80157960)($v0)
/* DAFE4 801448E4 00042080 */ sll $a0, $a0, 2
/* DAFE8 801448E8 00822021 */ addu $a0, $a0, $v0
/* DAFEC 801448EC 03E00008 */ jr $ra
/* DAFF0 801448F0 8C820000 */ lw $v0, ($a0)