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"
244 lines
12 KiB
ArmAsm
244 lines
12 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8004A434
|
|
/* 25834 8004A434 27BDFF68 */ addiu $sp, $sp, -0x98
|
|
/* 25838 8004A438 F7BC0088 */ sdc1 $f28, 0x88($sp)
|
|
/* 2583C 8004A43C 4485E000 */ mtc1 $a1, $f28
|
|
/* 25840 8004A440 AFB40058 */ sw $s4, 0x58($sp)
|
|
/* 25844 8004A444 8FB400A8 */ lw $s4, 0xa8($sp)
|
|
/* 25848 8004A448 AFB00048 */ sw $s0, 0x48($sp)
|
|
/* 2584C 8004A44C 0080802D */ daddu $s0, $a0, $zero
|
|
/* 25850 8004A450 AFB1004C */ sw $s1, 0x4c($sp)
|
|
/* 25854 8004A454 00C0882D */ daddu $s1, $a2, $zero
|
|
/* 25858 8004A458 AFB30054 */ sw $s3, 0x54($sp)
|
|
/* 2585C 8004A45C 00E0982D */ daddu $s3, $a3, $zero
|
|
/* 25860 8004A460 AFB5005C */ sw $s5, 0x5c($sp)
|
|
/* 25864 8004A464 8FB500AC */ lw $s5, 0xac($sp)
|
|
/* 25868 8004A468 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 2586C 8004A46C AFBF0060 */ sw $ra, 0x60($sp)
|
|
/* 25870 8004A470 AFB20050 */ sw $s2, 0x50($sp)
|
|
/* 25874 8004A474 F7BE0090 */ sdc1 $f30, 0x90($sp)
|
|
/* 25878 8004A478 F7BA0080 */ sdc1 $f26, 0x80($sp)
|
|
/* 2587C 8004A47C F7B80078 */ sdc1 $f24, 0x78($sp)
|
|
/* 25880 8004A480 F7B60070 */ sdc1 $f22, 0x70($sp)
|
|
/* 25884 8004A484 F7B40068 */ sdc1 $f20, 0x68($sp)
|
|
/* 25888 8004A488 C6000038 */ lwc1 $f0, 0x38($s0)
|
|
/* 2588C 8004A48C C602003C */ lwc1 $f2, 0x3c($s0)
|
|
/* 25890 8004A490 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 25894 8004A494 E7A00020 */ swc1 $f0, 0x20($sp)
|
|
/* 25898 8004A498 E7A20024 */ swc1 $f2, 0x24($sp)
|
|
/* 2589C 8004A49C C6000018 */ lwc1 $f0, 0x18($s0)
|
|
/* 258A0 8004A4A0 C6020040 */ lwc1 $f2, 0x40($s0)
|
|
/* 258A4 8004A4A4 461C0002 */ mul.s $f0, $f0, $f28
|
|
/* 258A8 8004A4A8 00000000 */ nop
|
|
/* 258AC 8004A4AC E7A20028 */ swc1 $f2, 0x28($sp)
|
|
/* 258B0 8004A4B0 C63A0000 */ lwc1 $f26, ($s1)
|
|
/* 258B4 8004A4B4 27A70028 */ addiu $a3, $sp, 0x28
|
|
/* 258B8 8004A4B8 E7BA0014 */ swc1 $f26, 0x14($sp)
|
|
/* 258BC 8004A4BC E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 258C0 8004A4C0 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 258C4 8004A4C4 3C01BF80 */ lui $at, 0xbf80
|
|
/* 258C8 8004A4C8 4481A000 */ mtc1 $at, $f20
|
|
/* 258CC 8004A4CC 44820000 */ mtc1 $v0, $f0
|
|
/* 258D0 8004A4D0 00000000 */ nop
|
|
/* 258D4 8004A4D4 46800020 */ cvt.s.w $f0, $f0
|
|
/* 258D8 8004A4D8 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 258DC 8004A4DC 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 258E0 8004A4E0 4600A586 */ mov.s $f22, $f20
|
|
/* 258E4 8004A4E4 44820000 */ mtc1 $v0, $f0
|
|
/* 258E8 8004A4E8 00000000 */ nop
|
|
/* 258EC 8004A4EC 46800020 */ cvt.s.w $f0, $f0
|
|
/* 258F0 8004A4F0 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 258F4 8004A4F4 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 258F8 8004A4F8 0C037709 */ jal func_800DDC24
|
|
/* 258FC 8004A4FC 4600A606 */ mov.s $f24, $f20
|
|
/* 25900 8004A500 0040902D */ daddu $s2, $v0, $zero
|
|
/* 25904 8004A504 1240008D */ beqz $s2, .L8004A73C
|
|
/* 25908 8004A508 00000000 */ nop
|
|
/* 2590C 8004A50C C60C0038 */ lwc1 $f12, 0x38($s0)
|
|
/* 25910 8004A510 C60E0040 */ lwc1 $f14, 0x40($s0)
|
|
/* 25914 8004A514 8FA60020 */ lw $a2, 0x20($sp)
|
|
/* 25918 8004A518 0C00A7A5 */ jal func_80029E94
|
|
/* 2591C 8004A51C 8FA70028 */ lw $a3, 0x28($sp)
|
|
/* 25920 8004A520 46000586 */ mov.s $f22, $f0
|
|
/* 25924 8004A524 C6020038 */ lwc1 $f2, 0x38($s0)
|
|
/* 25928 8004A528 C604003C */ lwc1 $f4, 0x3c($s0)
|
|
/* 2592C 8004A52C 3C01420C */ lui $at, 0x420c
|
|
/* 25930 8004A530 4481F000 */ mtc1 $at, $f30
|
|
/* 25934 8004A534 C6000040 */ lwc1 $f0, 0x40($s0)
|
|
/* 25938 8004A538 461ED300 */ add.s $f12, $f26, $f30
|
|
/* 2593C 8004A53C E7A2002C */ swc1 $f2, 0x2c($sp)
|
|
/* 25940 8004A540 E7A40030 */ swc1 $f4, 0x30($sp)
|
|
/* 25944 8004A544 0C00A6B9 */ jal func_80029AE4
|
|
/* 25948 8004A548 E7A00034 */ swc1 $f0, 0x34($sp)
|
|
/* 2594C 8004A54C C6020018 */ lwc1 $f2, 0x18($s0)
|
|
/* 25950 8004A550 461C1082 */ mul.s $f2, $f2, $f28
|
|
/* 25954 8004A554 00000000 */ nop
|
|
/* 25958 8004A558 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 2595C 8004A55C E7A20010 */ swc1 $f2, 0x10($sp)
|
|
/* 25960 8004A560 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 25964 8004A564 27A5002C */ addiu $a1, $sp, 0x2c
|
|
/* 25968 8004A568 44820000 */ mtc1 $v0, $f0
|
|
/* 2596C 8004A56C 00000000 */ nop
|
|
/* 25970 8004A570 46800020 */ cvt.s.w $f0, $f0
|
|
/* 25974 8004A574 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 25978 8004A578 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 2597C 8004A57C 27A60030 */ addiu $a2, $sp, 0x30
|
|
/* 25980 8004A580 44820000 */ mtc1 $v0, $f0
|
|
/* 25984 8004A584 00000000 */ nop
|
|
/* 25988 8004A588 46800020 */ cvt.s.w $f0, $f0
|
|
/* 2598C 8004A58C E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 25990 8004A590 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 25994 8004A594 0C037709 */ jal func_800DDC24
|
|
/* 25998 8004A598 27A70034 */ addiu $a3, $sp, 0x34
|
|
/* 2599C 8004A59C 10400007 */ beqz $v0, .L8004A5BC
|
|
/* 259A0 8004A5A0 00000000 */ nop
|
|
/* 259A4 8004A5A4 C60C0038 */ lwc1 $f12, 0x38($s0)
|
|
/* 259A8 8004A5A8 C60E0040 */ lwc1 $f14, 0x40($s0)
|
|
/* 259AC 8004A5AC 8FA6002C */ lw $a2, 0x2c($sp)
|
|
/* 259B0 8004A5B0 0C00A7A5 */ jal func_80029E94
|
|
/* 259B4 8004A5B4 8FA70034 */ lw $a3, 0x34($sp)
|
|
/* 259B8 8004A5B8 46000506 */ mov.s $f20, $f0
|
|
.L8004A5BC:
|
|
/* 259BC 8004A5BC C6000038 */ lwc1 $f0, 0x38($s0)
|
|
/* 259C0 8004A5C0 C602003C */ lwc1 $f2, 0x3c($s0)
|
|
/* 259C4 8004A5C4 C6040040 */ lwc1 $f4, 0x40($s0)
|
|
/* 259C8 8004A5C8 461ED301 */ sub.s $f12, $f26, $f30
|
|
/* 259CC 8004A5CC E7A00038 */ swc1 $f0, 0x38($sp)
|
|
/* 259D0 8004A5D0 E7A2003C */ swc1 $f2, 0x3c($sp)
|
|
/* 259D4 8004A5D4 0C00A6B9 */ jal func_80029AE4
|
|
/* 259D8 8004A5D8 E7A40040 */ swc1 $f4, 0x40($sp)
|
|
/* 259DC 8004A5DC C6020018 */ lwc1 $f2, 0x18($s0)
|
|
/* 259E0 8004A5E0 461C1082 */ mul.s $f2, $f2, $f28
|
|
/* 259E4 8004A5E4 00000000 */ nop
|
|
/* 259E8 8004A5E8 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 259EC 8004A5EC E7A20010 */ swc1 $f2, 0x10($sp)
|
|
/* 259F0 8004A5F0 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 259F4 8004A5F4 27A50038 */ addiu $a1, $sp, 0x38
|
|
/* 259F8 8004A5F8 44820000 */ mtc1 $v0, $f0
|
|
/* 259FC 8004A5FC 00000000 */ nop
|
|
/* 25A00 8004A600 46800020 */ cvt.s.w $f0, $f0
|
|
/* 25A04 8004A604 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 25A08 8004A608 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 25A0C 8004A60C 27A6003C */ addiu $a2, $sp, 0x3c
|
|
/* 25A10 8004A610 44820000 */ mtc1 $v0, $f0
|
|
/* 25A14 8004A614 00000000 */ nop
|
|
/* 25A18 8004A618 46800020 */ cvt.s.w $f0, $f0
|
|
/* 25A1C 8004A61C E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 25A20 8004A620 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 25A24 8004A624 0C037709 */ jal func_800DDC24
|
|
/* 25A28 8004A628 27A70040 */ addiu $a3, $sp, 0x40
|
|
/* 25A2C 8004A62C 10400007 */ beqz $v0, .L8004A64C
|
|
/* 25A30 8004A630 00000000 */ nop
|
|
/* 25A34 8004A634 C60C0038 */ lwc1 $f12, 0x38($s0)
|
|
/* 25A38 8004A638 C60E0040 */ lwc1 $f14, 0x40($s0)
|
|
/* 25A3C 8004A63C 8FA60038 */ lw $a2, 0x38($sp)
|
|
/* 25A40 8004A640 0C00A7A5 */ jal func_80029E94
|
|
/* 25A44 8004A644 8FA70040 */ lw $a3, 0x40($sp)
|
|
/* 25A48 8004A648 46000606 */ mov.s $f24, $f0
|
|
.L8004A64C:
|
|
/* 25A4C 8004A64C 4616A03C */ c.lt.s $f20, $f22
|
|
/* 25A50 8004A650 00000000 */ nop
|
|
/* 25A54 8004A654 45000005 */ bc1f .L8004A66C
|
|
/* 25A58 8004A658 00000000 */ nop
|
|
/* 25A5C 8004A65C 4614C03C */ c.lt.s $f24, $f20
|
|
/* 25A60 8004A660 00000000 */ nop
|
|
/* 25A64 8004A664 45010009 */ bc1t .L8004A68C
|
|
/* 25A68 8004A668 00000000 */ nop
|
|
.L8004A66C:
|
|
/* 25A6C 8004A66C 4616C03C */ c.lt.s $f24, $f22
|
|
/* 25A70 8004A670 00000000 */ nop
|
|
/* 25A74 8004A674 45000007 */ bc1f .L8004A694
|
|
/* 25A78 8004A678 00000000 */ nop
|
|
/* 25A7C 8004A67C 4618A03C */ c.lt.s $f20, $f24
|
|
/* 25A80 8004A680 00000000 */ nop
|
|
/* 25A84 8004A684 45000003 */ bc1f .L8004A694
|
|
/* 25A88 8004A688 00000000 */ nop
|
|
.L8004A68C:
|
|
/* 25A8C 8004A68C 080129CF */ j .L8004A73C
|
|
/* 25A90 8004A690 C61A000C */ lwc1 $f26, 0xc($s0)
|
|
.L8004A694:
|
|
/* 25A94 8004A694 4614B03C */ c.lt.s $f22, $f20
|
|
/* 25A98 8004A698 00000000 */ nop
|
|
/* 25A9C 8004A69C 45000005 */ bc1f .L8004A6B4
|
|
/* 25AA0 8004A6A0 00000000 */ nop
|
|
/* 25AA4 8004A6A4 4616C03C */ c.lt.s $f24, $f22
|
|
/* 25AA8 8004A6A8 00000000 */ nop
|
|
/* 25AAC 8004A6AC 45010009 */ bc1t .L8004A6D4
|
|
/* 25AB0 8004A6B0 00000000 */ nop
|
|
.L8004A6B4:
|
|
/* 25AB4 8004A6B4 4614C03C */ c.lt.s $f24, $f20
|
|
/* 25AB8 8004A6B8 00000000 */ nop
|
|
/* 25ABC 8004A6BC 4500000A */ bc1f .L8004A6E8
|
|
/* 25AC0 8004A6C0 00000000 */ nop
|
|
/* 25AC4 8004A6C4 4618B03C */ c.lt.s $f22, $f24
|
|
/* 25AC8 8004A6C8 00000000 */ nop
|
|
/* 25ACC 8004A6CC 45000008 */ bc1f .L8004A6F0
|
|
/* 25AD0 8004A6D0 00000000 */ nop
|
|
.L8004A6D4:
|
|
/* 25AD4 8004A6D4 C602000C */ lwc1 $f2, 0xc($s0)
|
|
/* 25AD8 8004A6D8 3C01420C */ lui $at, 0x420c
|
|
/* 25ADC 8004A6DC 44810000 */ mtc1 $at, $f0
|
|
/* 25AE0 8004A6E0 080129CF */ j .L8004A73C
|
|
/* 25AE4 8004A6E4 46001680 */ add.s $f26, $f2, $f0
|
|
.L8004A6E8:
|
|
/* 25AE8 8004A6E8 4618B03C */ c.lt.s $f22, $f24
|
|
/* 25AEC 8004A6EC 00000000 */ nop
|
|
.L8004A6F0:
|
|
/* 25AF0 8004A6F0 45000005 */ bc1f .L8004A708
|
|
/* 25AF4 8004A6F4 00000000 */ nop
|
|
/* 25AF8 8004A6F8 4616A03C */ c.lt.s $f20, $f22
|
|
/* 25AFC 8004A6FC 00000000 */ nop
|
|
/* 25B00 8004A700 45010009 */ bc1t .L8004A728
|
|
/* 25B04 8004A704 00000000 */ nop
|
|
.L8004A708:
|
|
/* 25B08 8004A708 4618A03C */ c.lt.s $f20, $f24
|
|
/* 25B0C 8004A70C 00000000 */ nop
|
|
/* 25B10 8004A710 4500000A */ bc1f .L8004A73C
|
|
/* 25B14 8004A714 00000000 */ nop
|
|
/* 25B18 8004A718 4614B03C */ c.lt.s $f22, $f20
|
|
/* 25B1C 8004A71C 00000000 */ nop
|
|
/* 25B20 8004A720 45000006 */ bc1f .L8004A73C
|
|
/* 25B24 8004A724 00000000 */ nop
|
|
.L8004A728:
|
|
/* 25B28 8004A728 C602000C */ lwc1 $f2, 0xc($s0)
|
|
/* 25B2C 8004A72C 3C01420C */ lui $at, 0x420c
|
|
/* 25B30 8004A730 44810000 */ mtc1 $at, $f0
|
|
/* 25B34 8004A734 00000000 */ nop
|
|
/* 25B38 8004A738 46001681 */ sub.s $f26, $f2, $f0
|
|
.L8004A73C:
|
|
/* 25B3C 8004A73C 12200004 */ beqz $s1, .L8004A750
|
|
/* 25B40 8004A740 00000000 */ nop
|
|
/* 25B44 8004A744 0C00A6B9 */ jal func_80029AE4
|
|
/* 25B48 8004A748 4600D306 */ mov.s $f12, $f26
|
|
/* 25B4C 8004A74C E6200000 */ swc1 $f0, ($s1)
|
|
.L8004A750:
|
|
/* 25B50 8004A750 56600001 */ bnel $s3, $zero, .L8004A758
|
|
/* 25B54 8004A754 E6760000 */ swc1 $f22, ($s3)
|
|
.L8004A758:
|
|
/* 25B58 8004A758 56800001 */ bnel $s4, $zero, .L8004A760
|
|
/* 25B5C 8004A75C E6940000 */ swc1 $f20, ($s4)
|
|
.L8004A760:
|
|
/* 25B60 8004A760 56A00001 */ bnel $s5, $zero, .L8004A768
|
|
/* 25B64 8004A764 E6B80000 */ swc1 $f24, ($s5)
|
|
.L8004A768:
|
|
/* 25B68 8004A768 0240102D */ daddu $v0, $s2, $zero
|
|
/* 25B6C 8004A76C 8FBF0060 */ lw $ra, 0x60($sp)
|
|
/* 25B70 8004A770 8FB5005C */ lw $s5, 0x5c($sp)
|
|
/* 25B74 8004A774 8FB40058 */ lw $s4, 0x58($sp)
|
|
/* 25B78 8004A778 8FB30054 */ lw $s3, 0x54($sp)
|
|
/* 25B7C 8004A77C 8FB20050 */ lw $s2, 0x50($sp)
|
|
/* 25B80 8004A780 8FB1004C */ lw $s1, 0x4c($sp)
|
|
/* 25B84 8004A784 8FB00048 */ lw $s0, 0x48($sp)
|
|
/* 25B88 8004A788 D7BE0090 */ ldc1 $f30, 0x90($sp)
|
|
/* 25B8C 8004A78C D7BC0088 */ ldc1 $f28, 0x88($sp)
|
|
/* 25B90 8004A790 D7BA0080 */ ldc1 $f26, 0x80($sp)
|
|
/* 25B94 8004A794 D7B80078 */ ldc1 $f24, 0x78($sp)
|
|
/* 25B98 8004A798 D7B60070 */ ldc1 $f22, 0x70($sp)
|
|
/* 25B9C 8004A79C D7B40068 */ ldc1 $f20, 0x68($sp)
|
|
/* 25BA0 8004A7A0 03E00008 */ jr $ra
|
|
/* 25BA4 8004A7A4 27BD0098 */ addiu $sp, $sp, 0x98
|
|
/* 25BA8 8004A7A8 00000000 */ nop
|
|
/* 25BAC 8004A7AC 00000000 */ nop
|