papermario/asm/nonmatchings/code_2d9a0_len_890/func_80052BC0.s

19 lines
854 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_80052BC0
2020-09-24 05:16:13 +02:00
/* 2DFC0 80052BC0 3C02B65C */ lui $v0, 0xb65c
/* 2DFC4 80052BC4 34426D59 */ ori $v0, $v0, 0x6d59
/* 2DFC8 80052BC8 00820018 */ mult $a0, $v0
/* 2DFCC 80052BCC 00002810 */ mfhi $a1
/* 2DFD0 80052BD0 00A41821 */ addu $v1, $a1, $a0
/* 2DFD4 80052BD4 00031B03 */ sra $v1, $v1, 0xc
/* 2DFD8 80052BD8 000427C3 */ sra $a0, $a0, 0x1f
/* 2DFDC 80052BDC 00641823 */ subu $v1, $v1, $a0
/* 2DFE0 80052BE0 00031040 */ sll $v0, $v1, 1
/* 2DFE4 80052BE4 00431021 */ addu $v0, $v0, $v1
/* 2DFE8 80052BE8 000210C0 */ sll $v0, $v0, 3
/* 2DFEC 80052BEC 00431023 */ subu $v0, $v0, $v1
/* 2DFF0 80052BF0 03E00008 */ jr $ra
/* 2DFF4 80052BF4 000210C0 */ sll $v0, $v0, 3