papermario/asm/nonmatchings/code_17D6A0/SetMessageBoxDuration.s

16 lines
735 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 SetMessageBoxDuration
2020-09-24 05:16:13 +02:00
/* 17FCE8 80251408 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 17FCEC 8025140C AFBF0010 */ sw $ra, 0x10($sp)
/* 17FCF0 80251410 8C82000C */ lw $v0, 0xc($a0)
/* 17FCF4 80251414 0C0B1EAF */ jal get_variable
/* 17FCF8 80251418 8C450000 */ lw $a1, ($v0)
/* 17FCFC 8025141C 0C093EB1 */ jal set_popup_duration
/* 17FD00 80251420 0040202D */ daddu $a0, $v0, $zero
/* 17FD04 80251424 8FBF0010 */ lw $ra, 0x10($sp)
/* 17FD08 80251428 24020002 */ addiu $v0, $zero, 2
/* 17FD0C 8025142C 03E00008 */ jr $ra
/* 17FD10 80251430 27BD0018 */ addiu $sp, $sp, 0x18