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"
77 lines
3.8 KiB
ArmAsm
77 lines
3.8 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80049250
|
|
/* 24650 80049250 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 24654 80049254 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 24658 80049258 0080982D */ daddu $s3, $a0, $zero
|
|
/* 2465C 8004925C AFBF0020 */ sw $ra, 0x20($sp)
|
|
/* 24660 80049260 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 24664 80049264 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 24668 80049268 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 2466C 8004926C 8E710148 */ lw $s1, 0x148($s3)
|
|
/* 24670 80049270 86240008 */ lh $a0, 8($s1)
|
|
/* 24674 80049274 0C00E9EB */ jal func_8003A7AC
|
|
/* 24678 80049278 00A0902D */ daddu $s2, $a1, $zero
|
|
/* 2467C 8004927C 8E440004 */ lw $a0, 4($s2)
|
|
/* 24680 80049280 0040802D */ daddu $s0, $v0, $zero
|
|
/* 24684 80049284 00041FC2 */ srl $v1, $a0, 0x1f
|
|
/* 24688 80049288 00832021 */ addu $a0, $a0, $v1
|
|
/* 2468C 8004928C 00042043 */ sra $a0, $a0, 1
|
|
/* 24690 80049290 0C00A66F */ jal func_800299BC
|
|
/* 24694 80049294 24840001 */ addiu $a0, $a0, 1
|
|
/* 24698 80049298 8E430004 */ lw $v1, 4($s2)
|
|
/* 2469C 8004929C 2404003C */ addiu $a0, $zero, 0x3c
|
|
/* 246A0 800492A0 00032FC2 */ srl $a1, $v1, 0x1f
|
|
/* 246A4 800492A4 00651821 */ addu $v1, $v1, $a1
|
|
/* 246A8 800492A8 00031843 */ sra $v1, $v1, 1
|
|
/* 246AC 800492AC 00621821 */ addu $v1, $v1, $v0
|
|
/* 246B0 800492B0 0C00A66F */ jal func_800299BC
|
|
/* 246B4 800492B4 A603008E */ sh $v1, 0x8e($s0)
|
|
/* 246B8 800492B8 C60C000C */ lwc1 $f12, 0xc($s0)
|
|
/* 246BC 800492BC 44820000 */ mtc1 $v0, $f0
|
|
/* 246C0 800492C0 00000000 */ nop
|
|
/* 246C4 800492C4 46800020 */ cvt.s.w $f0, $f0
|
|
/* 246C8 800492C8 46006300 */ add.s $f12, $f12, $f0
|
|
/* 246CC 800492CC 3C0141F0 */ lui $at, 0x41f0
|
|
/* 246D0 800492D0 44810000 */ mtc1 $at, $f0
|
|
/* 246D4 800492D4 0C00A6B9 */ jal func_80029AE4
|
|
/* 246D8 800492D8 46006301 */ sub.s $f12, $f12, $f0
|
|
/* 246DC 800492DC E600000C */ swc1 $f0, 0xc($s0)
|
|
/* 246E0 800492E0 8E2200CC */ lw $v0, 0xcc($s1)
|
|
/* 246E4 800492E4 8C420004 */ lw $v0, 4($v0)
|
|
/* 246E8 800492E8 AE020028 */ sw $v0, 0x28($s0)
|
|
/* 246EC 800492EC AE600074 */ sw $zero, 0x74($s3)
|
|
/* 246F0 800492F0 8E2200D0 */ lw $v0, 0xd0($s1)
|
|
/* 246F4 800492F4 8C420014 */ lw $v0, 0x14($v0)
|
|
/* 246F8 800492F8 04410004 */ bgez $v0, .L8004930C
|
|
/* 246FC 800492FC 00000000 */ nop
|
|
/* 24700 80049300 C6400000 */ lwc1 $f0, ($s2)
|
|
/* 24704 80049304 080124CB */ j .L8004932C
|
|
/* 24708 80049308 E6000018 */ swc1 $f0, 0x18($s0)
|
|
.L8004930C:
|
|
/* 2470C 8004930C 3C01800A */ lui $at, %hi(D_80098700)
|
|
/* 24710 80049310 D4228700 */ ldc1 $f2, %lo(D_80098700)($at)
|
|
/* 24714 80049314 44820000 */ mtc1 $v0, $f0
|
|
/* 24718 80049318 00000000 */ nop
|
|
/* 2471C 8004931C 46800021 */ cvt.d.w $f0, $f0
|
|
/* 24720 80049320 46220003 */ div.d $f0, $f0, $f2
|
|
/* 24724 80049324 46200020 */ cvt.s.d $f0, $f0
|
|
/* 24728 80049328 E6000018 */ swc1 $f0, 0x18($s0)
|
|
.L8004932C:
|
|
/* 2472C 8004932C 8E2200B0 */ lw $v0, 0xb0($s1)
|
|
/* 24730 80049330 2403FFBF */ addiu $v1, $zero, -0x41
|
|
/* 24734 80049334 00431024 */ and $v0, $v0, $v1
|
|
/* 24738 80049338 2403FFDF */ addiu $v1, $zero, -0x21
|
|
/* 2473C 8004933C 00431024 */ and $v0, $v0, $v1
|
|
/* 24740 80049340 AE2200B0 */ sw $v0, 0xb0($s1)
|
|
/* 24744 80049344 24020001 */ addiu $v0, $zero, 1
|
|
/* 24748 80049348 AE620070 */ sw $v0, 0x70($s3)
|
|
/* 2474C 8004934C 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 24750 80049350 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 24754 80049354 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 24758 80049358 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 2475C 8004935C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 24760 80049360 03E00008 */ jr $ra
|
|
/* 24764 80049364 27BD0028 */ addiu $sp, $sp, 0x28
|