mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
698cf99458
* jp cod * just have less code and it works * oops * removing splat cause subrepo is being dumb * git subrepo clone https://github.com/ethteck/splat.git tools/splat subrepo: subdir: "tools/splat" merged: "d7281bae6a" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "d7281bae6a" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * move jp stuff + revert configure * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "c56195a9c5" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "c56195a9c5" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596"
51 lines
2.2 KiB
ArmAsm
51 lines
2.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80059884
|
|
/* 34C84 80059884 C4800010 */ lwc1 $f0, 0x10($a0)
|
|
/* 34C88 80059888 44851000 */ mtc1 $a1, $f2
|
|
/* 34C8C 8005988C 00000000 */ nop
|
|
/* 34C90 80059890 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 34C94 80059894 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 34C98 80059898 00000000 */ nop
|
|
/* 34C9C 8005989C C4820014 */ lwc1 $f2, 0x14($a0)
|
|
/* 34CA0 800598A0 46001080 */ add.s $f2, $f2, $f0
|
|
/* 34CA4 800598A4 24820014 */ addiu $v0, $a0, 0x14
|
|
/* 34CA8 800598A8 3C014000 */ lui $at, 0x4000
|
|
/* 34CAC 800598AC 44810800 */ mtc1 $at, $f1
|
|
/* 34CB0 800598B0 44800000 */ mtc1 $zero, $f0
|
|
/* 34CB4 800598B4 46001121 */ cvt.d.s $f4, $f2
|
|
/* 34CB8 800598B8 4624003C */ c.lt.d $f0, $f4
|
|
/* 34CBC 800598BC 00000000 */ nop
|
|
/* 34CC0 800598C0 45000008 */ bc1f .L800598E4
|
|
/* 34CC4 800598C4 E4820014 */ swc1 $f2, 0x14($a0)
|
|
/* 34CC8 800598C8 3C014010 */ lui $at, 0x4010
|
|
/* 34CCC 800598CC 44810800 */ mtc1 $at, $f1
|
|
/* 34CD0 800598D0 44800000 */ mtc1 $zero, $f0
|
|
/* 34CD4 800598D4 00000000 */ nop
|
|
/* 34CD8 800598D8 46202001 */ sub.d $f0, $f4, $f0
|
|
/* 34CDC 800598DC 0801663A */ j .L800598E8
|
|
/* 34CE0 800598E0 46200020 */ cvt.s.d $f0, $f0
|
|
.L800598E4:
|
|
/* 34CE4 800598E4 46001006 */ mov.s $f0, $f2
|
|
.L800598E8:
|
|
/* 34CE8 800598E8 E4400000 */ swc1 $f0, ($v0)
|
|
/* 34CEC 800598EC C4820014 */ lwc1 $f2, 0x14($a0)
|
|
/* 34CF0 800598F0 44800000 */ mtc1 $zero, $f0
|
|
/* 34CF4 800598F4 00000000 */ nop
|
|
/* 34CF8 800598F8 4600103C */ c.lt.s $f2, $f0
|
|
/* 34CFC 800598FC 00000000 */ nop
|
|
/* 34D00 80059900 45030001 */ bc1tl .L80059908
|
|
/* 34D04 80059904 46001087 */ neg.s $f2, $f2
|
|
.L80059908:
|
|
/* 34D08 80059908 3C013FF0 */ lui $at, 0x3ff0
|
|
/* 34D0C 8005990C 44810800 */ mtc1 $at, $f1
|
|
/* 34D10 80059910 44800000 */ mtc1 $zero, $f0
|
|
/* 34D14 80059914 460010A1 */ cvt.d.s $f2, $f2
|
|
/* 34D18 80059918 46201081 */ sub.d $f2, $f2, $f0
|
|
/* 34D1C 8005991C C480001C */ lwc1 $f0, 0x1c($a0)
|
|
/* 34D20 80059920 462010A0 */ cvt.s.d $f2, $f2
|
|
/* 34D24 80059924 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 34D28 80059928 03E00008 */ jr $ra
|
|
/* 34D2C 8005992C 00000000 */ nop
|