mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
355 lines
17 KiB
ArmAsm
355 lines
17 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel update_lerp
|
|
/* 57B4 8002A3B4 27BDFFC8 */ addiu $sp, $sp, -0x38
|
|
/* 57B8 8002A3B8 F7B60028 */ sdc1 $f22, 0x28($sp)
|
|
/* 57BC 8002A3BC 4485B000 */ mtc1 $a1, $f22
|
|
/* 57C0 8002A3C0 F7B80030 */ sdc1 $f24, 0x30($sp)
|
|
/* 57C4 8002A3C4 4486C000 */ mtc1 $a2, $f24
|
|
/* 57C8 8002A3C8 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 57CC 8002A3CC 8FB00048 */ lw $s0, 0x48($sp)
|
|
/* 57D0 8002A3D0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 57D4 8002A3D4 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 57D8 8002A3D8 F7B40020 */ sdc1 $f20, 0x20($sp)
|
|
/* 57DC 8002A3DC 16000003 */ bnez $s0, .L8002A3EC
|
|
/* 57E0 8002A3E0 00E0882D */ daddu $s1, $a3, $zero
|
|
/* 57E4 8002A3E4 0800AA39 */ j .L8002A8E4
|
|
/* 57E8 8002A3E8 4600C006 */ mov.s $f0, $f24
|
|
.L8002A3EC:
|
|
/* 57EC 8002A3EC 2C82000D */ sltiu $v0, $a0, 0xd
|
|
/* 57F0 8002A3F0 1040013B */ beqz $v0, .L8002A8E0
|
|
/* 57F4 8002A3F4 00041080 */ sll $v0, $a0, 2
|
|
/* 57F8 8002A3F8 3C018009 */ lui $at, %hi(D_80097D90)
|
|
/* 57FC 8002A3FC 00220821 */ addu $at, $at, $v0
|
|
/* 5800 8002A400 8C227D90 */ lw $v0, %lo(D_80097D90)($at)
|
|
/* 5804 8002A404 00400008 */ jr $v0
|
|
/* 5808 8002A408 00000000 */ nop
|
|
/* 580C 8002A40C 4616C001 */ sub.s $f0, $f24, $f22
|
|
/* 5810 8002A410 44911000 */ mtc1 $s1, $f2
|
|
/* 5814 8002A414 00000000 */ nop
|
|
/* 5818 8002A418 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 581C 8002A41C 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 5820 8002A420 00000000 */ nop
|
|
/* 5824 8002A424 44901000 */ mtc1 $s0, $f2
|
|
/* 5828 8002A428 00000000 */ nop
|
|
/* 582C 8002A42C 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 5830 8002A430 0800A938 */ j .L8002A4E0
|
|
/* 5834 8002A434 46020003 */ div.s $f0, $f0, $f2
|
|
/* 5838 8002A438 02310018 */ mult $s1, $s1
|
|
/* 583C 8002A43C 00004012 */ mflo $t0
|
|
/* 5840 8002A440 00000000 */ nop
|
|
/* 5844 8002A444 0800A92D */ j .L8002A4B4
|
|
/* 5848 8002A448 02100018 */ mult $s0, $s0
|
|
/* 584C 8002A44C 02310018 */ mult $s1, $s1
|
|
/* 5850 8002A450 00004012 */ mflo $t0
|
|
/* 5854 8002A454 00000000 */ nop
|
|
/* 5858 8002A458 0800A925 */ j .L8002A494
|
|
/* 585C 8002A45C 02100018 */ mult $s0, $s0
|
|
/* 5860 8002A460 02310018 */ mult $s1, $s1
|
|
/* 5864 8002A464 00004012 */ mflo $t0
|
|
/* 5868 8002A468 00000000 */ nop
|
|
/* 586C 8002A46C 00000000 */ nop
|
|
/* 5870 8002A470 02100018 */ mult $s0, $s0
|
|
/* 5874 8002A474 00001012 */ mflo $v0
|
|
/* 5878 8002A478 00000000 */ nop
|
|
/* 587C 8002A47C 00000000 */ nop
|
|
/* 5880 8002A480 01110018 */ mult $t0, $s1
|
|
/* 5884 8002A484 00004012 */ mflo $t0
|
|
/* 5888 8002A488 00000000 */ nop
|
|
/* 588C 8002A48C 00000000 */ nop
|
|
/* 5890 8002A490 00500018 */ mult $v0, $s0
|
|
.L8002A494:
|
|
/* 5894 8002A494 00001012 */ mflo $v0
|
|
/* 5898 8002A498 00000000 */ nop
|
|
/* 589C 8002A49C 00000000 */ nop
|
|
/* 58A0 8002A4A0 01110018 */ mult $t0, $s1
|
|
/* 58A4 8002A4A4 00004012 */ mflo $t0
|
|
/* 58A8 8002A4A8 00000000 */ nop
|
|
/* 58AC 8002A4AC 00000000 */ nop
|
|
/* 58B0 8002A4B0 00500018 */ mult $v0, $s0
|
|
.L8002A4B4:
|
|
/* 58B4 8002A4B4 4616C081 */ sub.s $f2, $f24, $f22
|
|
/* 58B8 8002A4B8 44880000 */ mtc1 $t0, $f0
|
|
/* 58BC 8002A4BC 00000000 */ nop
|
|
/* 58C0 8002A4C0 46800020 */ cvt.s.w $f0, $f0
|
|
/* 58C4 8002A4C4 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 58C8 8002A4C8 00000000 */ nop
|
|
/* 58CC 8002A4CC 00001012 */ mflo $v0
|
|
/* 58D0 8002A4D0 44821000 */ mtc1 $v0, $f2
|
|
/* 58D4 8002A4D4 00000000 */ nop
|
|
/* 58D8 8002A4D8 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 58DC 8002A4DC 46020003 */ div.s $f0, $f0, $f2
|
|
.L8002A4E0:
|
|
/* 58E0 8002A4E0 0800AA39 */ j .L8002A8E4
|
|
/* 58E4 8002A4E4 4600B000 */ add.s $f0, $f22, $f0
|
|
/* 58E8 8002A4E8 44916000 */ mtc1 $s1, $f12
|
|
/* 58EC 8002A4EC 00000000 */ nop
|
|
/* 58F0 8002A4F0 46806320 */ cvt.s.w $f12, $f12
|
|
/* 58F4 8002A4F4 4490A000 */ mtc1 $s0, $f20
|
|
/* 58F8 8002A4F8 00000000 */ nop
|
|
/* 58FC 8002A4FC 4680A520 */ cvt.s.w $f20, $f20
|
|
/* 5900 8002A500 46146303 */ div.s $f12, $f12, $f20
|
|
/* 5904 8002A504 3C018009 */ lui $at, %hi(D_80097DC8)
|
|
/* 5908 8002A508 D4207DC8 */ ldc1 $f0, %lo(D_80097DC8)($at)
|
|
/* 590C 8002A50C 46006321 */ cvt.d.s $f12, $f12
|
|
/* 5910 8002A510 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5914 8002A514 00000000 */ nop
|
|
/* 5918 8002A518 3C014010 */ lui $at, 0x4010
|
|
/* 591C 8002A51C 44810800 */ mtc1 $at, $f1
|
|
/* 5920 8002A520 44800000 */ mtc1 $zero, $f0
|
|
/* 5924 8002A524 00000000 */ nop
|
|
/* 5928 8002A528 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 592C 8002A52C 0800A966 */ j .L8002A598
|
|
/* 5930 8002A530 00000000 */ nop
|
|
/* 5934 8002A534 02310018 */ mult $s1, $s1
|
|
/* 5938 8002A538 4490A000 */ mtc1 $s0, $f20
|
|
/* 593C 8002A53C 00000000 */ nop
|
|
/* 5940 8002A540 4680A520 */ cvt.s.w $f20, $f20
|
|
/* 5944 8002A544 3C018009 */ lui $at, %hi(D_80097DD0)
|
|
/* 5948 8002A548 D4207DD0 */ ldc1 $f0, %lo(D_80097DD0)($at)
|
|
/* 594C 8002A54C 00001812 */ mflo $v1
|
|
/* 5950 8002A550 44836000 */ mtc1 $v1, $f12
|
|
/* 5954 8002A554 00000000 */ nop
|
|
/* 5958 8002A558 46806320 */ cvt.s.w $f12, $f12
|
|
/* 595C 8002A55C 46146303 */ div.s $f12, $f12, $f20
|
|
/* 5960 8002A560 46006321 */ cvt.d.s $f12, $f12
|
|
/* 5964 8002A564 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5968 8002A568 00000000 */ nop
|
|
/* 596C 8002A56C 3C014010 */ lui $at, 0x4010
|
|
/* 5970 8002A570 44810800 */ mtc1 $at, $f1
|
|
/* 5974 8002A574 44800000 */ mtc1 $zero, $f0
|
|
/* 5978 8002A578 00000000 */ nop
|
|
/* 597C 8002A57C 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5980 8002A580 00000000 */ nop
|
|
/* 5984 8002A584 3C01402E */ lui $at, 0x402e
|
|
/* 5988 8002A588 44810800 */ mtc1 $at, $f1
|
|
/* 598C 8002A58C 44800000 */ mtc1 $zero, $f0
|
|
/* 5990 8002A590 00000000 */ nop
|
|
/* 5994 8002A594 46206303 */ div.d $f12, $f12, $f0
|
|
.L8002A598:
|
|
/* 5998 8002A598 0C00A874 */ jal cos_rad
|
|
/* 599C 8002A59C 46206320 */ cvt.s.d $f12, $f12
|
|
/* 59A0 8002A5A0 4614A502 */ mul.s $f20, $f20, $f20
|
|
/* 59A4 8002A5A4 00000000 */ nop
|
|
/* 59A8 8002A5A8 4616C081 */ sub.s $f2, $f24, $f22
|
|
/* 59AC 8002A5AC 46001082 */ mul.s $f2, $f2, $f0
|
|
/* 59B0 8002A5B0 00000000 */ nop
|
|
/* 59B4 8002A5B4 02111023 */ subu $v0, $s0, $s1
|
|
/* 59B8 8002A5B8 44820000 */ mtc1 $v0, $f0
|
|
/* 59BC 8002A5BC 00000000 */ nop
|
|
/* 59C0 8002A5C0 46800020 */ cvt.s.w $f0, $f0
|
|
/* 59C4 8002A5C4 46001082 */ mul.s $f2, $f2, $f0
|
|
/* 59C8 8002A5C8 00000000 */ nop
|
|
/* 59CC 8002A5CC 46001082 */ mul.s $f2, $f2, $f0
|
|
/* 59D0 8002A5D0 00000000 */ nop
|
|
/* 59D4 8002A5D4 46141083 */ div.s $f2, $f2, $f20
|
|
/* 59D8 8002A5D8 0800AA39 */ j .L8002A8E4
|
|
/* 59DC 8002A5DC 4602C001 */ sub.s $f0, $f24, $f2
|
|
/* 59E0 8002A5E0 02113823 */ subu $a3, $s0, $s1
|
|
/* 59E4 8002A5E4 00E70018 */ mult $a3, $a3
|
|
/* 59E8 8002A5E8 4616C101 */ sub.s $f4, $f24, $f22
|
|
/* 59EC 8002A5EC 00001812 */ mflo $v1
|
|
/* 59F0 8002A5F0 44830000 */ mtc1 $v1, $f0
|
|
/* 59F4 8002A5F4 00000000 */ nop
|
|
/* 59F8 8002A5F8 46800020 */ cvt.s.w $f0, $f0
|
|
/* 59FC 8002A5FC 46040002 */ mul.s $f0, $f0, $f4
|
|
/* 5A00 8002A600 00000000 */ nop
|
|
/* 5A04 8002A604 02100018 */ mult $s0, $s0
|
|
/* 5A08 8002A608 00001812 */ mflo $v1
|
|
/* 5A0C 8002A60C 44831000 */ mtc1 $v1, $f2
|
|
/* 5A10 8002A610 00000000 */ nop
|
|
/* 5A14 8002A614 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 5A18 8002A618 0800A9B3 */ j .L8002A6CC
|
|
/* 5A1C 8002A61C 4604B100 */ add.s $f4, $f22, $f4
|
|
/* 5A20 8002A620 02113823 */ subu $a3, $s0, $s1
|
|
/* 5A24 8002A624 00E70018 */ mult $a3, $a3
|
|
/* 5A28 8002A628 00001012 */ mflo $v0
|
|
/* 5A2C 8002A62C 00000000 */ nop
|
|
/* 5A30 8002A630 00000000 */ nop
|
|
/* 5A34 8002A634 00470018 */ mult $v0, $a3
|
|
/* 5A38 8002A638 00004012 */ mflo $t0
|
|
/* 5A3C 8002A63C 00000000 */ nop
|
|
/* 5A40 8002A640 0800A9A4 */ j .L8002A690
|
|
/* 5A44 8002A644 02100018 */ mult $s0, $s0
|
|
/* 5A48 8002A648 02113823 */ subu $a3, $s0, $s1
|
|
/* 5A4C 8002A64C 00E70018 */ mult $a3, $a3
|
|
/* 5A50 8002A650 00001012 */ mflo $v0
|
|
/* 5A54 8002A654 00000000 */ nop
|
|
/* 5A58 8002A658 00000000 */ nop
|
|
/* 5A5C 8002A65C 00470018 */ mult $v0, $a3
|
|
/* 5A60 8002A660 00004012 */ mflo $t0
|
|
/* 5A64 8002A664 00000000 */ nop
|
|
/* 5A68 8002A668 00000000 */ nop
|
|
/* 5A6C 8002A66C 02100018 */ mult $s0, $s0
|
|
/* 5A70 8002A670 00001012 */ mflo $v0
|
|
/* 5A74 8002A674 00000000 */ nop
|
|
/* 5A78 8002A678 00000000 */ nop
|
|
/* 5A7C 8002A67C 01070018 */ mult $t0, $a3
|
|
/* 5A80 8002A680 00004012 */ mflo $t0
|
|
/* 5A84 8002A684 00000000 */ nop
|
|
/* 5A88 8002A688 00000000 */ nop
|
|
/* 5A8C 8002A68C 00500018 */ mult $v0, $s0
|
|
.L8002A690:
|
|
/* 5A90 8002A690 4616C101 */ sub.s $f4, $f24, $f22
|
|
/* 5A94 8002A694 44880000 */ mtc1 $t0, $f0
|
|
/* 5A98 8002A698 00000000 */ nop
|
|
/* 5A9C 8002A69C 46800020 */ cvt.s.w $f0, $f0
|
|
/* 5AA0 8002A6A0 46040002 */ mul.s $f0, $f0, $f4
|
|
/* 5AA4 8002A6A4 00000000 */ nop
|
|
/* 5AA8 8002A6A8 00001012 */ mflo $v0
|
|
/* 5AAC 8002A6AC 00000000 */ nop
|
|
/* 5AB0 8002A6B0 00000000 */ nop
|
|
/* 5AB4 8002A6B4 00500018 */ mult $v0, $s0
|
|
/* 5AB8 8002A6B8 4604B100 */ add.s $f4, $f22, $f4
|
|
/* 5ABC 8002A6BC 00001012 */ mflo $v0
|
|
/* 5AC0 8002A6C0 44821000 */ mtc1 $v0, $f2
|
|
/* 5AC4 8002A6C4 00000000 */ nop
|
|
/* 5AC8 8002A6C8 468010A0 */ cvt.s.w $f2, $f2
|
|
.L8002A6CC:
|
|
/* 5ACC 8002A6CC 46020003 */ div.s $f0, $f0, $f2
|
|
/* 5AD0 8002A6D0 0800AA39 */ j .L8002A8E4
|
|
/* 5AD4 8002A6D4 46002001 */ sub.s $f0, $f4, $f0
|
|
/* 5AD8 8002A6D8 02310018 */ mult $s1, $s1
|
|
/* 5ADC 8002A6DC 4490A000 */ mtc1 $s0, $f20
|
|
/* 5AE0 8002A6E0 00000000 */ nop
|
|
/* 5AE4 8002A6E4 4680A520 */ cvt.s.w $f20, $f20
|
|
/* 5AE8 8002A6E8 3C018009 */ lui $at, %hi(D_80097DD8)
|
|
/* 5AEC 8002A6EC D4207DD8 */ ldc1 $f0, %lo(D_80097DD8)($at)
|
|
/* 5AF0 8002A6F0 00001812 */ mflo $v1
|
|
/* 5AF4 8002A6F4 44836000 */ mtc1 $v1, $f12
|
|
/* 5AF8 8002A6F8 00000000 */ nop
|
|
/* 5AFC 8002A6FC 46806320 */ cvt.s.w $f12, $f12
|
|
/* 5B00 8002A700 46146303 */ div.s $f12, $f12, $f20
|
|
/* 5B04 8002A704 46006321 */ cvt.d.s $f12, $f12
|
|
/* 5B08 8002A708 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5B0C 8002A70C 00000000 */ nop
|
|
/* 5B10 8002A710 3C014010 */ lui $at, 0x4010
|
|
/* 5B14 8002A714 44810800 */ mtc1 $at, $f1
|
|
/* 5B18 8002A718 44800000 */ mtc1 $zero, $f0
|
|
/* 5B1C 8002A71C 00000000 */ nop
|
|
/* 5B20 8002A720 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5B24 8002A724 00000000 */ nop
|
|
/* 5B28 8002A728 3C014044 */ lui $at, 0x4044
|
|
/* 5B2C 8002A72C 44810800 */ mtc1 $at, $f1
|
|
/* 5B30 8002A730 44800000 */ mtc1 $zero, $f0
|
|
/* 5B34 8002A734 00000000 */ nop
|
|
/* 5B38 8002A738 46206303 */ div.d $f12, $f12, $f0
|
|
/* 5B3C 8002A73C 0C00A874 */ jal cos_rad
|
|
/* 5B40 8002A740 46206320 */ cvt.s.d $f12, $f12
|
|
/* 5B44 8002A744 02111023 */ subu $v0, $s0, $s1
|
|
/* 5B48 8002A748 44821000 */ mtc1 $v0, $f2
|
|
/* 5B4C 8002A74C 00000000 */ nop
|
|
/* 5B50 8002A750 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 5B54 8002A754 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 5B58 8002A758 00000000 */ nop
|
|
/* 5B5C 8002A75C 4614A502 */ mul.s $f20, $f20, $f20
|
|
/* 5B60 8002A760 00000000 */ nop
|
|
/* 5B64 8002A764 46020002 */ mul.s $f0, $f0, $f2
|
|
/* 5B68 8002A768 00000000 */ nop
|
|
/* 5B6C 8002A76C 44801000 */ mtc1 $zero, $f2
|
|
/* 5B70 8002A770 46140103 */ div.s $f4, $f0, $f20
|
|
/* 5B74 8002A774 4602203C */ c.lt.s $f4, $f2
|
|
/* 5B78 8002A778 00000000 */ nop
|
|
/* 5B7C 8002A77C 45030001 */ bc1tl .L8002A784
|
|
/* 5B80 8002A780 46002107 */ neg.s $f4, $f4
|
|
.L8002A784:
|
|
/* 5B84 8002A784 4616C001 */ sub.s $f0, $f24, $f22
|
|
/* 5B88 8002A788 46040002 */ mul.s $f0, $f0, $f4
|
|
/* 5B8C 8002A78C 00000000 */ nop
|
|
/* 5B90 8002A790 0800AA39 */ j .L8002A8E4
|
|
/* 5B94 8002A794 4600C001 */ sub.s $f0, $f24, $f0
|
|
/* 5B98 8002A798 44916000 */ mtc1 $s1, $f12
|
|
/* 5B9C 8002A79C 00000000 */ nop
|
|
/* 5BA0 8002A7A0 46806320 */ cvt.s.w $f12, $f12
|
|
/* 5BA4 8002A7A4 3C018009 */ lui $at, %hi(D_80097DE0)
|
|
/* 5BA8 8002A7A8 D4207DE0 */ ldc1 $f0, %lo(D_80097DE0)($at)
|
|
/* 5BAC 8002A7AC 46006321 */ cvt.d.s $f12, $f12
|
|
/* 5BB0 8002A7B0 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5BB4 8002A7B4 00000000 */ nop
|
|
/* 5BB8 8002A7B8 44900000 */ mtc1 $s0, $f0
|
|
/* 5BBC 8002A7BC 00000000 */ nop
|
|
/* 5BC0 8002A7C0 46800020 */ cvt.s.w $f0, $f0
|
|
/* 5BC4 8002A7C4 46000021 */ cvt.d.s $f0, $f0
|
|
/* 5BC8 8002A7C8 46206303 */ div.d $f12, $f12, $f0
|
|
/* 5BCC 8002A7CC 0C00A874 */ jal cos_rad
|
|
/* 5BD0 8002A7D0 46206320 */ cvt.s.d $f12, $f12
|
|
/* 5BD4 8002A7D4 4616C081 */ sub.s $f2, $f24, $f22
|
|
/* 5BD8 8002A7D8 3C013FF0 */ lui $at, 0x3ff0
|
|
/* 5BDC 8002A7DC 44812800 */ mtc1 $at, $f5
|
|
/* 5BE0 8002A7E0 44802000 */ mtc1 $zero, $f4
|
|
/* 5BE4 8002A7E4 46000021 */ cvt.d.s $f0, $f0
|
|
/* 5BE8 8002A7E8 46202101 */ sub.d $f4, $f4, $f0
|
|
/* 5BEC 8002A7EC 460010A1 */ cvt.d.s $f2, $f2
|
|
/* 5BF0 8002A7F0 46241082 */ mul.d $f2, $f2, $f4
|
|
/* 5BF4 8002A7F4 00000000 */ nop
|
|
/* 5BF8 8002A7F8 3C013FE0 */ lui $at, 0x3fe0
|
|
/* 5BFC 8002A7FC 44810800 */ mtc1 $at, $f1
|
|
/* 5C00 8002A800 44800000 */ mtc1 $zero, $f0
|
|
/* 5C04 8002A804 00000000 */ nop
|
|
/* 5C08 8002A808 46201082 */ mul.d $f2, $f2, $f0
|
|
/* 5C0C 8002A80C 00000000 */ nop
|
|
/* 5C10 8002A810 4600B021 */ cvt.d.s $f0, $f22
|
|
/* 5C14 8002A814 46220000 */ add.d $f0, $f0, $f2
|
|
/* 5C18 8002A818 0800AA39 */ j .L8002A8E4
|
|
/* 5C1C 8002A81C 46200020 */ cvt.s.d $f0, $f0
|
|
/* 5C20 8002A820 44916000 */ mtc1 $s1, $f12
|
|
/* 5C24 8002A824 00000000 */ nop
|
|
/* 5C28 8002A828 46806320 */ cvt.s.w $f12, $f12
|
|
/* 5C2C 8002A82C 3C018009 */ lui $at, %hi(D_80097DE8)
|
|
/* 5C30 8002A830 D4207DE8 */ ldc1 $f0, %lo(D_80097DE8)($at)
|
|
/* 5C34 8002A834 46006321 */ cvt.d.s $f12, $f12
|
|
/* 5C38 8002A838 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5C3C 8002A83C 00000000 */ nop
|
|
/* 5C40 8002A840 44900000 */ mtc1 $s0, $f0
|
|
/* 5C44 8002A844 00000000 */ nop
|
|
/* 5C48 8002A848 46800020 */ cvt.s.w $f0, $f0
|
|
/* 5C4C 8002A84C 46000021 */ cvt.d.s $f0, $f0
|
|
/* 5C50 8002A850 46206303 */ div.d $f12, $f12, $f0
|
|
/* 5C54 8002A854 0C00A85B */ jal sin_rad
|
|
/* 5C58 8002A858 46206320 */ cvt.s.d $f12, $f12
|
|
/* 5C5C 8002A85C 4616C081 */ sub.s $f2, $f24, $f22
|
|
/* 5C60 8002A860 46001082 */ mul.s $f2, $f2, $f0
|
|
/* 5C64 8002A864 00000000 */ nop
|
|
/* 5C68 8002A868 0800AA39 */ j .L8002A8E4
|
|
/* 5C6C 8002A86C 4602B000 */ add.s $f0, $f22, $f2
|
|
/* 5C70 8002A870 44916000 */ mtc1 $s1, $f12
|
|
/* 5C74 8002A874 00000000 */ nop
|
|
/* 5C78 8002A878 46806320 */ cvt.s.w $f12, $f12
|
|
/* 5C7C 8002A87C 3C018009 */ lui $at, %hi(D_80097DF0)
|
|
/* 5C80 8002A880 D4207DF0 */ ldc1 $f0, %lo(D_80097DF0)($at)
|
|
/* 5C84 8002A884 46006321 */ cvt.d.s $f12, $f12
|
|
/* 5C88 8002A888 46206302 */ mul.d $f12, $f12, $f0
|
|
/* 5C8C 8002A88C 00000000 */ nop
|
|
/* 5C90 8002A890 44900000 */ mtc1 $s0, $f0
|
|
/* 5C94 8002A894 00000000 */ nop
|
|
/* 5C98 8002A898 46800020 */ cvt.s.w $f0, $f0
|
|
/* 5C9C 8002A89C 46000021 */ cvt.d.s $f0, $f0
|
|
/* 5CA0 8002A8A0 46206303 */ div.d $f12, $f12, $f0
|
|
/* 5CA4 8002A8A4 0C00A874 */ jal cos_rad
|
|
/* 5CA8 8002A8A8 46206320 */ cvt.s.d $f12, $f12
|
|
/* 5CAC 8002A8AC 4616C101 */ sub.s $f4, $f24, $f22
|
|
/* 5CB0 8002A8B0 3C013FF0 */ lui $at, 0x3ff0
|
|
/* 5CB4 8002A8B4 44811800 */ mtc1 $at, $f3
|
|
/* 5CB8 8002A8B8 44801000 */ mtc1 $zero, $f2
|
|
/* 5CBC 8002A8BC 46000021 */ cvt.d.s $f0, $f0
|
|
/* 5CC0 8002A8C0 46201081 */ sub.d $f2, $f2, $f0
|
|
/* 5CC4 8002A8C4 46002121 */ cvt.d.s $f4, $f4
|
|
/* 5CC8 8002A8C8 46222102 */ mul.d $f4, $f4, $f2
|
|
/* 5CCC 8002A8CC 00000000 */ nop
|
|
/* 5CD0 8002A8D0 4600B021 */ cvt.d.s $f0, $f22
|
|
/* 5CD4 8002A8D4 46240000 */ add.d $f0, $f0, $f4
|
|
/* 5CD8 8002A8D8 0800AA39 */ j .L8002A8E4
|
|
/* 5CDC 8002A8DC 46200020 */ cvt.s.d $f0, $f0
|
|
.L8002A8E0:
|
|
/* 5CE0 8002A8E0 44800000 */ mtc1 $zero, $f0
|
|
.L8002A8E4:
|
|
/* 5CE4 8002A8E4 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 5CE8 8002A8E8 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 5CEC 8002A8EC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 5CF0 8002A8F0 D7B80030 */ ldc1 $f24, 0x30($sp)
|
|
/* 5CF4 8002A8F4 D7B60028 */ ldc1 $f22, 0x28($sp)
|
|
/* 5CF8 8002A8F8 D7B40020 */ ldc1 $f20, 0x20($sp)
|
|
/* 5CFC 8002A8FC 03E00008 */ jr $ra
|
|
/* 5D00 8002A900 27BD0038 */ addiu $sp, $sp, 0x38
|