mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
31 lines
1.4 KiB
ArmAsm
31 lines
1.4 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
glabel func_80069440
|
||
|
/* 44840 80069440 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* 44844 80069444 AFB00010 */ sw $s0, 0x10($sp)
|
||
|
/* 44848 80069448 00808021 */ addu $s0, $a0, $zero
|
||
|
/* 4484C 8006944C AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* 44850 80069450 8E020000 */ lw $v0, ($s0)
|
||
|
/* 44854 80069454 30420005 */ andi $v0, $v0, 5
|
||
|
/* 44858 80069458 5040000A */ beql $v0, $zero, .L80069484
|
||
|
/* 4485C 8006945C 24040005 */ addiu $a0, $zero, 5
|
||
|
/* 44860 80069460 0C01A6FA */ jal func_80069BE8
|
||
|
/* 44864 80069464 00000000 */ nop
|
||
|
/* 44868 80069468 00402021 */ addu $a0, $v0, $zero
|
||
|
/* 4486C 8006946C 14800006 */ bnez $a0, .L80069488
|
||
|
/* 44870 80069470 00801021 */ addu $v0, $a0, $zero
|
||
|
/* 44874 80069474 8E020000 */ lw $v0, ($s0)
|
||
|
/* 44878 80069478 2403FFFB */ addiu $v1, $zero, -5
|
||
|
/* 4487C 8006947C 00431024 */ and $v0, $v0, $v1
|
||
|
/* 44880 80069480 AE020000 */ sw $v0, ($s0)
|
||
|
.L80069484:
|
||
|
/* 44884 80069484 00801021 */ addu $v0, $a0, $zero
|
||
|
.L80069488:
|
||
|
/* 44888 80069488 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* 4488C 8006948C 8FB00010 */ lw $s0, 0x10($sp)
|
||
|
/* 44890 80069490 03E00008 */ jr $ra
|
||
|
/* 44894 80069494 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* 44898 80069498 00000000 */ nop
|
||
|
/* 4489C 8006949C 00000000 */ nop
|