papermario/asm/nonmatchings/code_79BFA0/func_802A1494_79C434.s
Ethan Roseman 6a18fb8862 ⛰️
2021-01-10 23:52:28 +09:00

26 lines
1.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_79C434
/* 79C434 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79C438 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79C43C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 79C440 802A14A0 0C0B1EAF */ jal get_variable
/* 79C444 802A14A4 8C450000 */ lw $a1, ($v0)
/* 79C448 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79C44C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 79C450 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 79C454 802A14B4 00051880 */ sll $v1, $a1, 2
/* 79C458 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79C45C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 79C460 802A14C0 00031880 */ sll $v1, $v1, 2
/* 79C464 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 79C468 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79C46C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 79C470 802A14D0 0C098F3F */ jal set_animation
/* 79C474 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 79C478 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79C47C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 79C480 802A14E0 03E00008 */ jr $ra
/* 79C484 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18