papermario/asm/nonmatchings/code_20ec0_len_5040/func_80047BE4.s

17 lines
752 B
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_80047BE4
2020-09-24 05:16:13 +02:00
/* 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, 0x800a
/* 22FF8 80047BF8 8C630F44 */ lw $v1, 0xf44($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)