papermario/ver/us/asm/nonmatchings/169BE0/filemenu_get_menu_message.s
2022-03-10 09:55:38 +00:00

10 lines
426 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel filemenu_get_menu_message
/* 16A304 80249AA4 00042080 */ sll $a0, $a0, 2
/* 16A308 80249AA8 3C028025 */ lui $v0, %hi(gFileMenuMessages)
/* 16A30C 80249AAC 00441021 */ addu $v0, $v0, $a0
/* 16A310 80249AB0 03E00008 */ jr $ra
/* 16A314 80249AB4 8C42B9D0 */ lw $v0, %lo(gFileMenuMessages)($v0)