mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
20 lines
754 B
ArmAsm
20 lines
754 B
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_8004824C
|
|
/* 02364C 8004824C 00041040 */ sll $v0, $a0, 1
|
|
/* 023650 80048250 00441021 */ addu $v0, $v0, $a0
|
|
/* 023654 80048254 00021080 */ sll $v0, $v0, 2
|
|
/* 023658 80048258 00441023 */ subu $v0, $v0, $a0
|
|
/* 02365C 8004825C 3C03800A */ lui $v1, 0x800a
|
|
/* 023660 80048260 8C630F44 */ lw $v1, 0xf44($v1)
|
|
/* 023664 80048264 00021100 */ sll $v0, $v0, 4
|
|
/* 023668 80048268 00621821 */ addu $v1, $v1, $v0
|
|
/* 02366C 8004826C 8C620000 */ lw $v0, ($v1)
|
|
/* 023670 80048270 34420800 */ ori $v0, $v0, 0x800
|
|
/* 023674 80048274 03E00008 */ jr $ra
|
|
/* 023678 80048278 AC620000 */ sw $v0, ($v1)
|
|
|
|
/* 02367C 8004827C 00000000 */ nop
|