papermario/asm/nonmatchings/code_d5a50_len_5fd0/get_menu_icon.s
2020-09-23 23:16:13 -04:00

13 lines
544 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, 0x8015
/* DAFE0 801448E0 8C427960 */ lw $v0, 0x7960($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)