papermario/asm/nonmatchings/code_789E60/func_802A1494_78A2F4.s

26 lines
1.3 KiB
ArmAsm
Raw Normal View History

2021-01-10 15:52:28 +01:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78A2F4
/* 78A2F4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A2F8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78A2FC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78A300 802A14A0 0C0B1EAF */ jal get_variable
/* 78A304 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78A308 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78A30C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78A310 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78A314 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78A318 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78A31C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78A320 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78A324 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78A328 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78A32C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78A330 802A14D0 0C098F3F */ jal set_animation
/* 78A334 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78A338 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78A33C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78A340 802A14E0 03E00008 */ jr $ra
/* 78A344 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18