mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
19 lines
711 B
ArmAsm
19 lines
711 B
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80047A00
|
|
/* 022E00 80047A00 00041040 */ sll $v0, $a0, 1
|
|
/* 022E04 80047A04 00441021 */ addu $v0, $v0, $a0
|
|
/* 022E08 80047A08 00021080 */ sll $v0, $v0, 2
|
|
/* 022E0C 80047A0C 00441023 */ subu $v0, $v0, $a0
|
|
/* 022E10 80047A10 3C03800A */ lui $v1, 0x800a
|
|
/* 022E14 80047A14 8C630F44 */ lw $v1, 0xf44($v1)
|
|
/* 022E18 80047A18 00021100 */ sll $v0, $v0, 4
|
|
/* 022E1C 80047A1C 00621821 */ addu $v1, $v1, $v0
|
|
/* 022E20 80047A20 8C620000 */ lw $v0, ($v1)
|
|
/* 022E24 80047A24 34420008 */ ori $v0, $v0, 8
|
|
/* 022E28 80047A28 03E00008 */ jr $ra
|
|
/* 022E2C 80047A2C AC620000 */ sw $v0, ($v1)
|
|
|