mirror of
https://github.com/pmret/papermario.git
synced 2024-11-13 22:43:00 +01:00
19 lines
714 B
ArmAsm
19 lines
714 B
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80047B08
|
|
/* 022F08 80047B08 00041040 */ sll $v0, $a0, 1
|
|
/* 022F0C 80047B0C 00441021 */ addu $v0, $v0, $a0
|
|
/* 022F10 80047B10 00021080 */ sll $v0, $v0, 2
|
|
/* 022F14 80047B14 00441023 */ subu $v0, $v0, $a0
|
|
/* 022F18 80047B18 3C03800A */ lui $v1, 0x800a
|
|
/* 022F1C 80047B1C 8C630F44 */ lw $v1, 0xf44($v1)
|
|
/* 022F20 80047B20 00021100 */ sll $v0, $v0, 4
|
|
/* 022F24 80047B24 00621821 */ addu $v1, $v1, $v0
|
|
/* 022F28 80047B28 8C620000 */ lw $v0, ($v1)
|
|
/* 022F2C 80047B2C 34420010 */ ori $v0, $v0, 0x10
|
|
/* 022F30 80047B30 03E00008 */ jr $ra
|
|
/* 022F34 80047B34 AC620000 */ sw $v0, ($v1)
|
|
|