papermario/asm/nonmatchings/code_d5a50_len_5fd0/func_80145224.s

28 lines
1.1 KiB
ArmAsm
Raw Normal View History

2020-08-04 08:49:11 +02:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80145224
/* 0DB924 80145224 2402F7FF */ addiu $v0, $zero, -0x801
/* 0DB928 80145228 00822024 */ and $a0, $a0, $v0
/* 0DB92C 8014522C 00042080 */ sll $a0, $a0, 2
/* 0DB930 80145230 3C030001 */ lui $v1, 1
/* 0DB934 80145234 3C028015 */ lui $v0, 0x8015
/* 0DB938 80145238 8C427960 */ lw $v0, 0x7960($v0)
/* 0DB93C 8014523C 44850000 */ mtc1 $a1, $f0
/* 0DB940 80145240 00822021 */ addu $a0, $a0, $v0
/* 0DB944 80145244 8C840000 */ lw $a0, ($a0)
/* 0DB948 80145248 44861000 */ mtc1 $a2, $f2
/* 0DB94C 8014524C 8C820000 */ lw $v0, ($a0)
/* 0DB950 80145250 44872000 */ mtc1 $a3, $f4
/* 0DB954 80145254 00431024 */ and $v0, $v0, $v1
/* 0DB958 80145258 10400004 */ beqz $v0, .L8014526C
/* 0DB95C 8014525C 8C83001C */ lw $v1, 0x1c($a0)
/* 0DB960 80145260 E4600010 */ swc1 $f0, 0x10($v1)
/* 0DB964 80145264 E4620014 */ swc1 $f2, 0x14($v1)
/* 0DB968 80145268 E4640018 */ swc1 $f4, 0x18($v1)
.L8014526C:
/* 0DB96C 8014526C 03E00008 */ jr $ra
/* 0DB970 80145270 00000000 */ nop