papermario/asm/nonmatchings/code_d5a50_len_5fd0/get_menu_icon.s

13 lines
544 B
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel get_menu_icon
2020-09-24 05:16:13 +02:00
/* 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)