mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +01:00
31 lines
1.5 KiB
ArmAsm
31 lines
1.5 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
glabel func_80047438
|
||
|
/* 22838 80047438 00041040 */ sll $v0, $a0, 1
|
||
|
/* 2283C 8004743C 00441021 */ addu $v0, $v0, $a0
|
||
|
/* 22840 80047440 00021080 */ sll $v0, $v0, 2
|
||
|
/* 22844 80047444 00441023 */ subu $v0, $v0, $a0
|
||
|
/* 22848 80047448 3C03800A */ lui $v1, %hi(D_8009ED54)
|
||
|
/* 2284C 8004744C 8C63ED54 */ lw $v1, %lo(D_8009ED54)($v1)
|
||
|
/* 22850 80047450 00021100 */ sll $v0, $v0, 4
|
||
|
/* 22854 80047454 00621821 */ addu $v1, $v1, $v0
|
||
|
/* 22858 80047458 AC650004 */ sw $a1, 4($v1)
|
||
|
/* 2285C 8004745C AC660008 */ sw $a2, 8($v1)
|
||
|
/* 22860 80047460 AC67000C */ sw $a3, 0xc($v1)
|
||
|
/* 22864 80047464 8FA40018 */ lw $a0, 0x18($sp)
|
||
|
/* 22868 80047468 8FA5001C */ lw $a1, 0x1c($sp)
|
||
|
/* 2286C 8004746C 24840011 */ addiu $a0, $a0, 0x11
|
||
|
/* 22870 80047470 24A20011 */ addiu $v0, $a1, 0x11
|
||
|
/* 22874 80047474 AC62001C */ sw $v0, 0x1c($v1)
|
||
|
/* 22878 80047478 24A20022 */ addiu $v0, $a1, 0x22
|
||
|
/* 2287C 8004747C AC650014 */ sw $a1, 0x14($v1)
|
||
|
/* 22880 80047480 24A50033 */ addiu $a1, $a1, 0x33
|
||
|
/* 22884 80047484 AC640010 */ sw $a0, 0x10($v1)
|
||
|
/* 22888 80047488 AC640018 */ sw $a0, 0x18($v1)
|
||
|
/* 2288C 8004748C AC640020 */ sw $a0, 0x20($v1)
|
||
|
/* 22890 80047490 AC620024 */ sw $v0, 0x24($v1)
|
||
|
/* 22894 80047494 AC640028 */ sw $a0, 0x28($v1)
|
||
|
/* 22898 80047498 03E00008 */ jr $ra
|
||
|
/* 2289C 8004749C AC65002C */ sw $a1, 0x2c($v1)
|