papermario/asm/nonmatchings/code_1776B0/FreezeBattleCam.s
2020-11-29 02:13:07 -05:00

16 lines
741 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel FreezeBattleCam
/* 17D658 8024ED78 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 17D65C 8024ED7C AFBF0010 */ sw $ra, 0x10($sp)
/* 17D660 8024ED80 8C82000C */ lw $v0, 0xc($a0)
/* 17D664 8024ED84 0C0B1EAF */ jal get_variable
/* 17D668 8024ED88 8C450000 */ lw $a1, ($v0)
/* 17D66C 8024ED8C 8FBF0010 */ lw $ra, 0x10($sp)
/* 17D670 8024ED90 3C018028 */ lui $at, %hi(D_80280CE0)
/* 17D674 8024ED94 A0220CE0 */ sb $v0, %lo(D_80280CE0)($at)
/* 17D678 8024ED98 24020002 */ addiu $v0, $zero, 2
/* 17D67C 8024ED9C 03E00008 */ jr $ra
/* 17D680 8024EDA0 27BD0018 */ addiu $sp, $sp, 0x18