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

17 lines
771 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80047BE4
/* 22FE4 80047BE4 00041040 */ sll $v0, $a0, 1
/* 22FE8 80047BE8 00441021 */ addu $v0, $v0, $a0
/* 22FEC 80047BEC 00021080 */ sll $v0, $v0, 2
/* 22FF0 80047BF0 00441023 */ subu $v0, $v0, $a0
/* 22FF4 80047BF4 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22FF8 80047BF8 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22FFC 80047BFC 00021100 */ sll $v0, $v0, 4
/* 23000 80047C00 00621821 */ addu $v1, $v1, $v0
/* 23004 80047C04 8C620000 */ lw $v0, ($v1)
/* 23008 80047C08 34420020 */ ori $v0, $v0, 0x20
/* 2300C 80047C0C 03E00008 */ jr $ra
/* 23010 80047C10 AC620000 */ sw $v0, ($v1)