papermario/asm/nonmatchings/code_d5a50_len_5fd0/func_80145184.s
2020-09-23 23:16:13 -04:00

26 lines
1.1 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80145184
/* DB884 80145184 2402F7FF */ addiu $v0, $zero, -0x801
/* DB888 80145188 00822024 */ and $a0, $a0, $v0
/* DB88C 8014518C 00042080 */ sll $a0, $a0, 2
/* DB890 80145190 3C030001 */ lui $v1, 1
/* DB894 80145194 3C028015 */ lui $v0, 0x8015
/* DB898 80145198 8C427960 */ lw $v0, 0x7960($v0)
/* DB89C 8014519C 44850000 */ mtc1 $a1, $f0
/* DB8A0 801451A0 00822021 */ addu $a0, $a0, $v0
/* DB8A4 801451A4 8C840000 */ lw $a0, ($a0)
/* DB8A8 801451A8 44861000 */ mtc1 $a2, $f2
/* DB8AC 801451AC 8C820000 */ lw $v0, ($a0)
/* DB8B0 801451B0 44872000 */ mtc1 $a3, $f4
/* DB8B4 801451B4 00431024 */ and $v0, $v0, $v1
/* DB8B8 801451B8 10400004 */ beqz $v0, .L801451CC
/* DB8BC 801451BC 8C83001C */ lw $v1, 0x1c($a0)
/* DB8C0 801451C0 E4600004 */ swc1 $f0, 4($v1)
/* DB8C4 801451C4 E4620008 */ swc1 $f2, 8($v1)
/* DB8C8 801451C8 E464000C */ swc1 $f4, 0xc($v1)
.L801451CC:
/* DB8CC 801451CC 03E00008 */ jr $ra
/* DB8D0 801451D0 00000000 */ nop