mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +01:00
a4e1c2f522
* fix vscode cpp extension messing with files.associations * move stuff * it builds! * symlink papermario.us.z64 * ci: put baserom in right place * add jp * fix splat dir * ignore starrod dump * .s deps * update jenkins * add dsl back * configure.py versions * wups * fine ethan * fix paths * configure: default to only the version(s) with existing baseroms * fix coverage * fix progress.py * progress.py verisoning * remove format.sh from CONTRIBUTING * update CONTRIBUTING * fix first_diff * diff.py: use ver/current/ * update splat.yaml * trying to fix subrepo * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "06a737f02d" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "06a737f02d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * configure fix * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "41786effd3" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "41786effd3" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Ethan Roseman <ethteck@gmail.com>
80 lines
4.1 KiB
ArmAsm
80 lines
4.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80241258_EF3868
|
|
/* EF3868 80241258 27BDFFC8 */ addiu $sp, $sp, -0x38
|
|
/* EF386C 8024125C AFB00028 */ sw $s0, 0x28($sp)
|
|
/* EF3870 80241260 00A0802D */ daddu $s0, $a1, $zero
|
|
/* EF3874 80241264 AFB1002C */ sw $s1, 0x2c($sp)
|
|
/* EF3878 80241268 00C0882D */ daddu $s1, $a2, $zero
|
|
/* EF387C 8024126C AFBF0034 */ sw $ra, 0x34($sp)
|
|
/* EF3880 80241270 AFB20030 */ sw $s2, 0x30($sp)
|
|
/* EF3884 80241274 AE200070 */ sw $zero, 0x70($s1)
|
|
/* EF3888 80241278 8C830000 */ lw $v1, ($a0)
|
|
/* EF388C 8024127C 2402FDFF */ addiu $v0, $zero, -0x201
|
|
/* EF3890 80241280 A480008E */ sh $zero, 0x8e($a0)
|
|
/* EF3894 80241284 00621824 */ and $v1, $v1, $v0
|
|
/* EF3898 80241288 34650800 */ ori $a1, $v1, 0x800
|
|
/* EF389C 8024128C AC850000 */ sw $a1, ($a0)
|
|
/* EF38A0 80241290 8E0200D0 */ lw $v0, 0xd0($s0)
|
|
/* EF38A4 80241294 8C420034 */ lw $v0, 0x34($v0)
|
|
/* EF38A8 80241298 10400003 */ beqz $v0, .L802412A8
|
|
/* EF38AC 8024129C 00E0902D */ daddu $s2, $a3, $zero
|
|
/* EF38B0 802412A0 080904AC */ j .L802412B0
|
|
/* EF38B4 802412A4 34620808 */ ori $v0, $v1, 0x808
|
|
.L802412A8:
|
|
/* EF38B8 802412A8 2402FFF7 */ addiu $v0, $zero, -9
|
|
/* EF38BC 802412AC 00A21024 */ and $v0, $a1, $v0
|
|
.L802412B0:
|
|
/* EF38C0 802412B0 AC820000 */ sw $v0, ($a0)
|
|
/* EF38C4 802412B4 27A20024 */ addiu $v0, $sp, 0x24
|
|
/* EF38C8 802412B8 27A50018 */ addiu $a1, $sp, 0x18
|
|
/* EF38CC 802412BC C4800038 */ lwc1 $f0, 0x38($a0)
|
|
/* EF38D0 802412C0 C482003C */ lwc1 $f2, 0x3c($a0)
|
|
/* EF38D4 802412C4 C4840040 */ lwc1 $f4, 0x40($a0)
|
|
/* EF38D8 802412C8 3C01447A */ lui $at, 0x447a
|
|
/* EF38DC 802412CC 44813000 */ mtc1 $at, $f6
|
|
/* EF38E0 802412D0 27A6001C */ addiu $a2, $sp, 0x1c
|
|
/* EF38E4 802412D4 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* EF38E8 802412D8 E7A2001C */ swc1 $f2, 0x1c($sp)
|
|
/* EF38EC 802412DC E7A40020 */ swc1 $f4, 0x20($sp)
|
|
/* EF38F0 802412E0 E7A60024 */ swc1 $f6, 0x24($sp)
|
|
/* EF38F4 802412E4 AFA20010 */ sw $v0, 0x10($sp)
|
|
/* EF38F8 802412E8 8C840080 */ lw $a0, 0x80($a0)
|
|
/* EF38FC 802412EC 0C03908F */ jal func_800E423C
|
|
/* EF3900 802412F0 27A70020 */ addiu $a3, $sp, 0x20
|
|
/* EF3904 802412F4 C7A20024 */ lwc1 $f2, 0x24($sp)
|
|
/* EF3908 802412F8 3C014059 */ lui $at, 0x4059
|
|
/* EF390C 802412FC 44812800 */ mtc1 $at, $f5
|
|
/* EF3910 80241300 44802000 */ mtc1 $zero, $f4
|
|
/* EF3914 80241304 460010A1 */ cvt.d.s $f2, $f2
|
|
/* EF3918 80241308 46241082 */ mul.d $f2, $f2, $f4
|
|
/* EF391C 8024130C 00000000 */ nop
|
|
/* EF3920 80241310 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
|
/* EF3924 80241314 46000021 */ cvt.d.s $f0, $f0
|
|
/* EF3928 80241318 46240002 */ mul.d $f0, $f0, $f4
|
|
/* EF392C 8024131C 00000000 */ nop
|
|
/* EF3930 80241320 3C013FE0 */ lui $at, 0x3fe0
|
|
/* EF3934 80241324 44812800 */ mtc1 $at, $f5
|
|
/* EF3938 80241328 44802000 */ mtc1 $zero, $f4
|
|
/* EF393C 8024132C 00000000 */ nop
|
|
/* EF3940 80241330 46241080 */ add.d $f2, $f2, $f4
|
|
/* EF3944 80241334 AE000074 */ sw $zero, 0x74($s0)
|
|
/* EF3948 80241338 46240000 */ add.d $f0, $f0, $f4
|
|
/* EF394C 8024133C AE000090 */ sw $zero, 0x90($s0)
|
|
/* EF3950 80241340 4620120D */ trunc.w.d $f8, $f2
|
|
/* EF3954 80241344 E6080078 */ swc1 $f8, 0x78($s0)
|
|
/* EF3958 80241348 4620020D */ trunc.w.d $f8, $f0
|
|
/* EF395C 8024134C E6080088 */ swc1 $f8, 0x88($s0)
|
|
/* EF3960 80241350 8E420014 */ lw $v0, 0x14($s2)
|
|
/* EF3964 80241354 AE220074 */ sw $v0, 0x74($s1)
|
|
/* EF3968 80241358 8E0200B0 */ lw $v0, 0xb0($s0)
|
|
/* EF396C 8024135C 34420010 */ ori $v0, $v0, 0x10
|
|
/* EF3970 80241360 AE0200B0 */ sw $v0, 0xb0($s0)
|
|
/* EF3974 80241364 8FBF0034 */ lw $ra, 0x34($sp)
|
|
/* EF3978 80241368 8FB20030 */ lw $s2, 0x30($sp)
|
|
/* EF397C 8024136C 8FB1002C */ lw $s1, 0x2c($sp)
|
|
/* EF3980 80241370 8FB00028 */ lw $s0, 0x28($sp)
|
|
/* EF3984 80241374 03E00008 */ jr $ra
|
|
/* EF3988 80241378 27BD0038 */ addiu $sp, $sp, 0x38
|