mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
28 lines
1.3 KiB
ArmAsm
28 lines
1.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel SetMessageValue
|
|
/* F56F4 802D0D44 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* F56F8 802D0D48 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* F56FC 802D0D4C 0080882D */ daddu $s1, $a0, $zero
|
|
/* F5700 802D0D50 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* F5704 802D0D54 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* F5708 802D0D58 8E30000C */ lw $s0, 0xc($s1)
|
|
/* F570C 802D0D5C 8E050000 */ lw $a1, ($s0)
|
|
/* F5710 802D0D60 0C0B1EAF */ jal get_variable
|
|
/* F5714 802D0D64 26100004 */ addiu $s0, $s0, 4
|
|
/* F5718 802D0D68 0220202D */ daddu $a0, $s1, $zero
|
|
/* F571C 802D0D6C 8E050000 */ lw $a1, ($s0)
|
|
/* F5720 802D0D70 0C0B1EAF */ jal get_variable
|
|
/* F5724 802D0D74 0040802D */ daddu $s0, $v0, $zero
|
|
/* F5728 802D0D78 0200202D */ daddu $a0, $s0, $zero
|
|
/* F572C 802D0D7C 0C0496FA */ jal set_message_value
|
|
/* F5730 802D0D80 0040282D */ daddu $a1, $v0, $zero
|
|
/* F5734 802D0D84 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* F5738 802D0D88 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* F573C 802D0D8C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* F5740 802D0D90 24020002 */ addiu $v0, $zero, 2
|
|
/* F5744 802D0D94 03E00008 */ jr $ra
|
|
/* F5748 802D0D98 27BD0020 */ addiu $sp, $sp, 0x20
|
|
/* F574C 802D0D9C 00000000 */ nop
|