papermario/asm/nonmatchings/code_135EE0/func_80243188.s

51 lines
2.5 KiB
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243188
2020-10-15 04:56:47 +02:00
/* 1364C8 80243188 3C028016 */ lui $v0, %hi(D_80159D50)
/* 1364CC 8024318C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
2020-09-24 05:16:13 +02:00
/* 1364D0 80243190 00042140 */ sll $a0, $a0, 5
/* 1364D4 80243194 00822021 */ addu $a0, $a0, $v0
/* 1364D8 80243198 9083001C */ lbu $v1, 0x1c($a0)
/* 1364DC 8024319C 8FA6001C */ lw $a2, 0x1c($sp)
/* 1364E0 802431A0 14600005 */ bnez $v1, .L802431B8
/* 1364E4 802431A4 28620007 */ slti $v0, $v1, 7
/* 1364E8 802431A8 90820000 */ lbu $v0, ($a0)
/* 1364EC 802431AC 304200FB */ andi $v0, $v0, 0xfb
/* 1364F0 802431B0 A0820000 */ sb $v0, ($a0)
/* 1364F4 802431B4 28620007 */ slti $v0, $v1, 7
.L802431B8:
/* 1364F8 802431B8 10400010 */ beqz $v0, .L802431FC
/* 1364FC 802431BC 00000000 */ nop
/* 136500 802431C0 3C028025 */ lui $v0, 0x8025
/* 136504 802431C4 00431021 */ addu $v0, $v0, $v1
/* 136508 802431C8 9042EFC4 */ lbu $v0, -0x103c($v0)
/* 13650C 802431CC ACA20000 */ sw $v0, ($a1)
/* 136510 802431D0 00031040 */ sll $v0, $v1, 1
/* 136514 802431D4 3C018025 */ lui $at, 0x8025
/* 136518 802431D8 00220821 */ addu $at, $at, $v0
/* 13651C 802431DC 8422EFCC */ lh $v0, -0x1034($at)
/* 136520 802431E0 C4C00000 */ lwc1 $f0, ($a2)
/* 136524 802431E4 44821000 */ mtc1 $v0, $f2
/* 136528 802431E8 00000000 */ nop
/* 13652C 802431EC 468010A0 */ cvt.s.w $f2, $f2
/* 136530 802431F0 46020000 */ add.s $f0, $f0, $f2
/* 136534 802431F4 03E00008 */ jr $ra
/* 136538 802431F8 E4C00000 */ swc1 $f0, ($a2)
.L802431FC:
/* 13653C 802431FC 3C028025 */ lui $v0, 0x8025
/* 136540 80243200 9042EFC9 */ lbu $v0, -0x1037($v0)
/* 136544 80243204 ACA20000 */ sw $v0, ($a1)
/* 136548 80243208 3C028025 */ lui $v0, 0x8025
/* 13654C 8024320C 8442EFD8 */ lh $v0, -0x1028($v0)
/* 136550 80243210 C4C00000 */ lwc1 $f0, ($a2)
/* 136554 80243214 44821000 */ mtc1 $v0, $f2
/* 136558 80243218 00000000 */ nop
/* 13655C 8024321C 468010A0 */ cvt.s.w $f2, $f2
/* 136560 80243220 46020000 */ add.s $f0, $f0, $f2
/* 136564 80243224 E4C00000 */ swc1 $f0, ($a2)
/* 136568 80243228 90820000 */ lbu $v0, ($a0)
/* 13656C 8024322C 304200F7 */ andi $v0, $v0, 0xf7
/* 136570 80243230 03E00008 */ jr $ra
/* 136574 80243234 A0820000 */ sb $v0, ($a0)