mirror of https://github.com/PrimeDecomp/prime.git
361 lines
17 KiB
ArmAsm
361 lines
17 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax"
|
|
|
|
.global Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff
|
|
Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff:
|
|
/* 803574E0 00354440 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 803574E4 00354444 C0 02 CC C0 */ lfs f0, lbl_805AE9E0@sda21(r2)
|
|
/* 803574E8 00354448 C0 44 00 00 */ lfs f2, 0(r4)
|
|
/* 803574EC 0035444C D0 43 00 00 */ stfs f2, 0(r3)
|
|
/* 803574F0 00354450 C0 44 00 04 */ lfs f2, 4(r4)
|
|
/* 803574F4 00354454 D0 43 00 04 */ stfs f2, 4(r3)
|
|
/* 803574F8 00354458 C0 44 00 08 */ lfs f2, 8(r4)
|
|
/* 803574FC 0035445C D0 43 00 08 */ stfs f2, 8(r3)
|
|
/* 80357500 00354460 C0 45 00 00 */ lfs f2, 0(r5)
|
|
/* 80357504 00354464 D0 43 00 0C */ stfs f2, 0xc(r3)
|
|
/* 80357508 00354468 C0 45 00 04 */ lfs f2, 4(r5)
|
|
/* 8035750C 0035446C D0 43 00 10 */ stfs f2, 0x10(r3)
|
|
/* 80357510 00354470 C0 45 00 08 */ lfs f2, 8(r5)
|
|
/* 80357514 00354474 D0 43 00 14 */ stfs f2, 0x14(r3)
|
|
/* 80357518 00354478 D0 23 00 18 */ stfs f1, 0x18(r3)
|
|
/* 8035751C 0035447C D0 03 00 1C */ stfs f0, 0x1c(r3)
|
|
/* 80357520 00354480 80 03 00 2C */ lwz r0, 0x2c(r3)
|
|
/* 80357524 00354484 80 83 00 34 */ lwz r4, 0x34(r3)
|
|
/* 80357528 00354488 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 8035752C 0035448C 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80357530 00354490 90 81 00 1C */ stw r4, 0x1c(r1)
|
|
/* 80357534 00354494 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80357538 00354498 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 8035753C 0035449C 90 81 00 18 */ stw r4, 0x18(r1)
|
|
/* 80357540 003544A0 48 00 00 08 */ b lbl_80357548
|
|
lbl_80357544:
|
|
/* 80357544 003544A4 38 84 00 04 */ addi r4, r4, 4
|
|
lbl_80357548:
|
|
/* 80357548 003544A8 7C 04 00 40 */ cmplw r4, r0
|
|
/* 8035754C 003544AC 40 82 FF F8 */ bne lbl_80357544
|
|
/* 80357550 003544B0 38 00 00 00 */ li r0, 0
|
|
/* 80357554 003544B4 90 03 00 2C */ stw r0, 0x2c(r3)
|
|
/* 80357558 003544B8 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 8035755C 003544BC 80 83 00 44 */ lwz r4, 0x44(r3)
|
|
/* 80357560 003544C0 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80357564 003544C4 7C 04 02 14 */ add r0, r4, r0
|
|
/* 80357568 003544C8 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8035756C 003544CC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80357570 003544D0 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80357574 003544D4 90 81 00 08 */ stw r4, 8(r1)
|
|
/* 80357578 003544D8 48 00 00 08 */ b lbl_80357580
|
|
lbl_8035757C:
|
|
/* 8035757C 003544DC 38 84 00 04 */ addi r4, r4, 4
|
|
lbl_80357580:
|
|
/* 80357580 003544E0 7C 04 00 40 */ cmplw r4, r0
|
|
/* 80357584 003544E4 40 82 FF F8 */ bne lbl_8035757C
|
|
/* 80357588 003544E8 38 00 00 00 */ li r0, 0
|
|
/* 8035758C 003544EC 90 03 00 3C */ stw r0, 0x3c(r3)
|
|
/* 80357590 003544F0 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80357594 003544F4 4E 80 00 20 */ blr
|
|
|
|
.global "MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi"
|
|
"MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi":
|
|
/* 80357598 003544F8 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 8035759C 003544FC 7C 08 02 A6 */ mflr r0
|
|
/* 803575A0 00354500 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 803575A4 00354504 DB E1 00 50 */ stfd f31, 0x50(r1)
|
|
/* 803575A8 00354508 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
|
|
/* 803575AC 0035450C DB C1 00 40 */ stfd f30, 0x40(r1)
|
|
/* 803575B0 00354510 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
|
|
/* 803575B4 00354514 BE E1 00 1C */ stmw r23, 0x1c(r1)
|
|
/* 803575B8 00354518 7C 77 1B 78 */ mr r23, r3
|
|
/* 803575BC 0035451C 7C 98 23 78 */ mr r24, r4
|
|
/* 803575C0 00354520 80 03 00 2C */ lwz r0, 0x2c(r3)
|
|
/* 803575C4 00354524 7C BB 2B 78 */ mr r27, r5
|
|
/* 803575C8 00354528 7C DA 33 78 */ mr r26, r6
|
|
/* 803575CC 0035452C 7D 19 43 78 */ mr r25, r8
|
|
/* 803575D0 00354530 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 803575D4 00354534 40 82 01 C0 */ bne lbl_80357794
|
|
/* 803575D8 00354538 3C 60 80 3E */ lis r3, lbl_803D8328@ha
|
|
/* 803575DC 0035453C 38 A0 00 00 */ li r5, 0
|
|
/* 803575E0 00354540 38 83 83 28 */ addi r4, r3, lbl_803D8328@l
|
|
/* 803575E4 00354544 1C 79 00 0C */ mulli r3, r25, 0xc
|
|
/* 803575E8 00354548 4B FB E2 31 */ bl __nwa__FUlPCcPCc
|
|
/* 803575EC 0035454C 7C 60 1B 78 */ mr r0, r3
|
|
/* 803575F0 00354550 80 7A 00 08 */ lwz r3, 8(r26)
|
|
/* 803575F4 00354554 7C 1D 03 78 */ mr r29, r0
|
|
/* 803575F8 00354558 7F 64 DB 78 */ mr r4, r27
|
|
/* 803575FC 0035455C 7F A5 EB 78 */ mr r5, r29
|
|
/* 80357600 00354560 4B FF C8 9D */ bl BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f
|
|
/* 80357604 00354564 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 80357608 00354568 93 21 00 0C */ stw r25, 0xc(r1)
|
|
/* 8035760C 0035456C C8 22 CC C8 */ lfd f1, lbl_805AE9E8@sda21(r2)
|
|
/* 80357610 00354570 3B 97 00 28 */ addi r28, r23, 0x28
|
|
/* 80357614 00354574 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 80357618 00354578 C0 42 CC C4 */ lfs f2, lbl_805AE9E4@sda21(r2)
|
|
/* 8035761C 0035457C C8 01 00 08 */ lfd f0, 8(r1)
|
|
/* 80357620 00354580 EC 00 08 28 */ fsubs f0, f0, f1
|
|
/* 80357624 00354584 EC 22 00 32 */ fmuls f1, f2, f0
|
|
/* 80357628 00354588 48 03 23 2D */ bl __cvt_fp2unsigned
|
|
/* 8035762C 0035458C 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80357630 00354590 7F 83 E3 78 */ mr r3, r28
|
|
/* 80357634 00354594 7F 44 D3 78 */ mr r4, r26
|
|
/* 80357638 00354598 4B D0 C4 ED */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
|
|
/* 8035763C 0035459C 3B 77 00 38 */ addi r27, r23, 0x38
|
|
/* 80357640 003545A0 7F 44 D3 78 */ mr r4, r26
|
|
/* 80357644 003545A4 7F 63 DB 78 */ mr r3, r27
|
|
/* 80357648 003545A8 4B D0 67 B1 */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
|
|
/* 8035764C 003545AC C3 E2 CC C4 */ lfs f31, lbl_805AE9E4@sda21(r2)
|
|
/* 80357650 003545B0 7F BF EB 78 */ mr r31, r29
|
|
/* 80357654 003545B4 7F 1E C3 78 */ mr r30, r24
|
|
/* 80357658 003545B8 3B 40 00 00 */ li r26, 0
|
|
/* 8035765C 003545BC 48 00 01 20 */ b lbl_8035777C
|
|
lbl_80357660:
|
|
/* 80357660 003545C0 C0 3F 00 04 */ lfs f1, 4(r31)
|
|
/* 80357664 003545C4 C0 17 00 04 */ lfs f0, 4(r23)
|
|
/* 80357668 003545C8 C0 5F 00 00 */ lfs f2, 0(r31)
|
|
/* 8035766C 003545CC EC 01 00 32 */ fmuls f0, f1, f0
|
|
/* 80357670 003545D0 C0 37 00 00 */ lfs f1, 0(r23)
|
|
/* 80357674 003545D4 C0 9F 00 08 */ lfs f4, 8(r31)
|
|
/* 80357678 003545D8 C0 77 00 08 */ lfs f3, 8(r23)
|
|
/* 8035767C 003545DC EC 02 00 7A */ fmadds f0, f2, f1, f0
|
|
/* 80357680 003545E0 EF C4 00 FA */ fmadds f30, f4, f3, f0
|
|
/* 80357684 003545E4 FC 1E F8 40 */ fcmpo cr0, f30, f31
|
|
/* 80357688 003545E8 40 81 00 E8 */ ble lbl_80357770
|
|
/* 8035768C 003545EC 80 1C 00 04 */ lwz r0, 4(r28)
|
|
/* 80357690 003545F0 80 BC 00 08 */ lwz r5, 8(r28)
|
|
/* 80357694 003545F4 7C 00 28 00 */ cmpw r0, r5
|
|
/* 80357698 003545F8 41 80 00 1C */ blt lbl_803576B4
|
|
/* 8035769C 003545FC 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 803576A0 00354600 7F 83 E3 78 */ mr r3, r28
|
|
/* 803576A4 00354604 38 80 00 04 */ li r4, 4
|
|
/* 803576A8 00354608 41 82 00 08 */ beq lbl_803576B0
|
|
/* 803576AC 0035460C 54 A4 08 3C */ slwi r4, r5, 1
|
|
lbl_803576B0:
|
|
/* 803576B0 00354610 4B D0 C4 75 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
|
|
lbl_803576B4:
|
|
/* 803576B4 00354614 80 1C 00 04 */ lwz r0, 4(r28)
|
|
/* 803576B8 00354618 80 7C 00 0C */ lwz r3, 0xc(r28)
|
|
/* 803576BC 0035461C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 803576C0 00354620 7C 63 02 15 */ add. r3, r3, r0
|
|
/* 803576C4 00354624 41 82 00 08 */ beq lbl_803576CC
|
|
/* 803576C8 00354628 93 43 00 00 */ stw r26, 0(r3)
|
|
lbl_803576CC:
|
|
/* 803576CC 0035462C 80 7C 00 04 */ lwz r3, 4(r28)
|
|
/* 803576D0 00354630 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 803576D4 00354634 C0 02 CC C4 */ lfs f0, lbl_805AE9E4@sda21(r2)
|
|
/* 803576D8 00354638 38 63 00 01 */ addi r3, r3, 1
|
|
/* 803576DC 0035463C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 803576E0 00354640 C8 42 CC D0 */ lfd f2, lbl_805AE9F0@sda21(r2)
|
|
/* 803576E4 00354644 EC 1E 00 28 */ fsubs f0, f30, f0
|
|
/* 803576E8 00354648 90 7C 00 04 */ stw r3, 4(r28)
|
|
/* 803576EC 0035464C C0 7E 00 00 */ lfs f3, 0(r30)
|
|
/* 803576F0 00354650 C0 3E 00 04 */ lfs f1, 4(r30)
|
|
/* 803576F4 00354654 C0 9E 00 08 */ lfs f4, 8(r30)
|
|
/* 803576F8 00354658 EC 23 08 2A */ fadds f1, f3, f1
|
|
/* 803576FC 0035465C 80 1B 00 04 */ lwz r0, 4(r27)
|
|
/* 80357700 00354660 80 BB 00 08 */ lwz r5, 8(r27)
|
|
/* 80357704 00354664 EC 64 08 2A */ fadds f3, f4, f1
|
|
/* 80357708 00354668 7C 00 28 00 */ cmpw r0, r5
|
|
/* 8035770C 0035466C FC 20 18 1E */ fctiwz f1, f3
|
|
/* 80357710 00354670 D8 21 00 08 */ stfd f1, 8(r1)
|
|
/* 80357714 00354674 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 80357718 00354678 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
/* 8035771C 0035467C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80357720 00354680 C8 21 00 10 */ lfd f1, 0x10(r1)
|
|
/* 80357724 00354684 EC 21 10 28 */ fsubs f1, f1, f2
|
|
/* 80357728 00354688 EC 23 08 28 */ fsubs f1, f3, f1
|
|
/* 8035772C 0035468C EF C1 00 32 */ fmuls f30, f1, f0
|
|
/* 80357730 00354690 41 80 00 1C */ blt lbl_8035774C
|
|
/* 80357734 00354694 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 80357738 00354698 7F 63 DB 78 */ mr r3, r27
|
|
/* 8035773C 0035469C 38 80 00 04 */ li r4, 4
|
|
/* 80357740 003546A0 41 82 00 08 */ beq lbl_80357748
|
|
/* 80357744 003546A4 54 A4 08 3C */ slwi r4, r5, 1
|
|
lbl_80357748:
|
|
/* 80357748 003546A8 4B D0 66 B1 */ bl "reserve__Q24rstl36vector<f,Q24rstl17rmemory_allocator>Fi"
|
|
lbl_8035774C:
|
|
/* 8035774C 003546AC 80 1B 00 04 */ lwz r0, 4(r27)
|
|
/* 80357750 003546B0 80 7B 00 0C */ lwz r3, 0xc(r27)
|
|
/* 80357754 003546B4 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80357758 003546B8 7C 63 02 15 */ add. r3, r3, r0
|
|
/* 8035775C 003546BC 41 82 00 08 */ beq lbl_80357764
|
|
/* 80357760 003546C0 D3 C3 00 00 */ stfs f30, 0(r3)
|
|
lbl_80357764:
|
|
/* 80357764 003546C4 80 7B 00 04 */ lwz r3, 4(r27)
|
|
/* 80357768 003546C8 38 03 00 01 */ addi r0, r3, 1
|
|
/* 8035776C 003546CC 90 1B 00 04 */ stw r0, 4(r27)
|
|
lbl_80357770:
|
|
/* 80357770 003546D0 3B FF 00 0C */ addi r31, r31, 0xc
|
|
/* 80357774 003546D4 3B DE 00 0C */ addi r30, r30, 0xc
|
|
/* 80357778 003546D8 3B 5A 00 01 */ addi r26, r26, 1
|
|
lbl_8035777C:
|
|
/* 8035777C 003546DC 7C 1A C8 40 */ cmplw r26, r25
|
|
/* 80357780 003546E0 41 80 FE E0 */ blt lbl_80357660
|
|
/* 80357784 003546E4 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 80357788 003546E8 41 82 00 0C */ beq lbl_80357794
|
|
/* 8035778C 003546EC 7F A3 EB 78 */ mr r3, r29
|
|
/* 80357790 003546F0 4B FB E1 A1 */ bl Free__7CMemoryFPCv
|
|
lbl_80357794:
|
|
/* 80357794 003546F4 80 17 00 2C */ lwz r0, 0x2c(r23)
|
|
/* 80357798 003546F8 38 80 00 00 */ li r4, 0
|
|
/* 8035779C 003546FC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 803577A0 00354700 7C 03 03 78 */ mr r3, r0
|
|
/* 803577A4 00354704 40 81 01 A4 */ ble lbl_80357948
|
|
/* 803577A8 00354708 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f
|
|
/* 803577AC 0035470C 7C 09 03 A6 */ mtctr r0
|
|
/* 803577B0 00354710 41 82 01 10 */ beq lbl_803578C0
|
|
lbl_803577B4:
|
|
/* 803577B4 00354714 C0 37 00 1C */ lfs f1, 0x1c(r23)
|
|
/* 803577B8 00354718 C0 17 00 18 */ lfs f0, 0x18(r23)
|
|
/* 803577BC 0035471C 80 D7 00 44 */ lwz r6, 0x44(r23)
|
|
/* 803577C0 00354720 EC 81 00 24 */ fdivs f4, f1, f0
|
|
/* 803577C4 00354724 80 B7 00 34 */ lwz r5, 0x34(r23)
|
|
/* 803577C8 00354728 7C C6 24 2E */ lfsx f6, r6, r4
|
|
/* 803577CC 0035472C 7C 05 20 2E */ lwzx r0, r5, r4
|
|
/* 803577D0 00354730 38 84 00 04 */ addi r4, r4, 4
|
|
/* 803577D4 00354734 C0 17 00 00 */ lfs f0, 0(r23)
|
|
/* 803577D8 00354738 1C 00 00 0C */ mulli r0, r0, 0xc
|
|
/* 803577DC 0035473C C0 37 00 04 */ lfs f1, 4(r23)
|
|
/* 803577E0 00354740 EC 06 00 32 */ fmuls f0, f6, f0
|
|
/* 803577E4 00354744 C0 B7 00 20 */ lfs f5, 0x20(r23)
|
|
/* 803577E8 00354748 EC 66 00 72 */ fmuls f3, f6, f1
|
|
/* 803577EC 0035474C C0 57 00 08 */ lfs f2, 8(r23)
|
|
/* 803577F0 00354750 EC 05 00 32 */ fmuls f0, f5, f0
|
|
/* 803577F4 00354754 7C B8 02 14 */ add r5, r24, r0
|
|
/* 803577F8 00354758 EC 65 00 F2 */ fmuls f3, f5, f3
|
|
/* 803577FC 0035475C C0 25 00 00 */ lfs f1, 0(r5)
|
|
/* 80357800 00354760 EC 46 00 B2 */ fmuls f2, f6, f2
|
|
/* 80357804 00354764 EC 04 00 32 */ fmuls f0, f4, f0
|
|
/* 80357808 00354768 EC 64 00 F2 */ fmuls f3, f4, f3
|
|
/* 8035780C 0035476C EC 45 00 B2 */ fmuls f2, f5, f2
|
|
/* 80357810 00354770 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 80357814 00354774 EC 44 00 B2 */ fmuls f2, f4, f2
|
|
/* 80357818 00354778 D0 05 00 00 */ stfs f0, 0(r5)
|
|
/* 8035781C 0035477C C0 05 00 04 */ lfs f0, 4(r5)
|
|
/* 80357820 00354780 EC 00 18 2A */ fadds f0, f0, f3
|
|
/* 80357824 00354784 D0 05 00 04 */ stfs f0, 4(r5)
|
|
/* 80357828 00354788 C0 05 00 08 */ lfs f0, 8(r5)
|
|
/* 8035782C 0035478C EC 00 10 2A */ fadds f0, f0, f2
|
|
/* 80357830 00354790 D0 05 00 08 */ stfs f0, 8(r5)
|
|
/* 80357834 00354794 80 D7 00 44 */ lwz r6, 0x44(r23)
|
|
/* 80357838 00354798 C0 37 00 1C */ lfs f1, 0x1c(r23)
|
|
/* 8035783C 0035479C C0 17 00 18 */ lfs f0, 0x18(r23)
|
|
/* 80357840 003547A0 80 B7 00 34 */ lwz r5, 0x34(r23)
|
|
/* 80357844 003547A4 EC 81 00 24 */ fdivs f4, f1, f0
|
|
/* 80357848 003547A8 7C C6 24 2E */ lfsx f6, r6, r4
|
|
/* 8035784C 003547AC 7C 05 20 2E */ lwzx r0, r5, r4
|
|
/* 80357850 003547B0 38 84 00 04 */ addi r4, r4, 4
|
|
/* 80357854 003547B4 C0 17 00 00 */ lfs f0, 0(r23)
|
|
/* 80357858 003547B8 1C 00 00 0C */ mulli r0, r0, 0xc
|
|
/* 8035785C 003547BC C0 37 00 04 */ lfs f1, 4(r23)
|
|
/* 80357860 003547C0 7C B8 02 14 */ add r5, r24, r0
|
|
/* 80357864 003547C4 C0 57 00 08 */ lfs f2, 8(r23)
|
|
/* 80357868 003547C8 EC 06 00 32 */ fmuls f0, f6, f0
|
|
/* 8035786C 003547CC C0 B7 00 20 */ lfs f5, 0x20(r23)
|
|
/* 80357870 003547D0 EC 66 00 72 */ fmuls f3, f6, f1
|
|
/* 80357874 003547D4 EC 46 00 B2 */ fmuls f2, f6, f2
|
|
/* 80357878 003547D8 C0 25 00 00 */ lfs f1, 0(r5)
|
|
/* 8035787C 003547DC EC 05 00 32 */ fmuls f0, f5, f0
|
|
/* 80357880 003547E0 EC 65 00 F2 */ fmuls f3, f5, f3
|
|
/* 80357884 003547E4 EC 45 00 B2 */ fmuls f2, f5, f2
|
|
/* 80357888 003547E8 EC 04 00 32 */ fmuls f0, f4, f0
|
|
/* 8035788C 003547EC EC 64 00 F2 */ fmuls f3, f4, f3
|
|
/* 80357890 003547F0 EC 44 00 B2 */ fmuls f2, f4, f2
|
|
/* 80357894 003547F4 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 80357898 003547F8 D0 05 00 00 */ stfs f0, 0(r5)
|
|
/* 8035789C 003547FC C0 05 00 04 */ lfs f0, 4(r5)
|
|
/* 803578A0 00354800 EC 00 18 2A */ fadds f0, f0, f3
|
|
/* 803578A4 00354804 D0 05 00 04 */ stfs f0, 4(r5)
|
|
/* 803578A8 00354808 C0 05 00 08 */ lfs f0, 8(r5)
|
|
/* 803578AC 0035480C EC 00 10 2A */ fadds f0, f0, f2
|
|
/* 803578B0 00354810 D0 05 00 08 */ stfs f0, 8(r5)
|
|
/* 803578B4 00354814 42 00 FF 00 */ bdnz lbl_803577B4
|
|
/* 803578B8 00354818 70 63 00 01 */ andi. r3, r3, 1
|
|
/* 803578BC 0035481C 41 82 00 8C */ beq lbl_80357948
|
|
lbl_803578C0:
|
|
/* 803578C0 00354820 7C 69 03 A6 */ mtctr r3
|
|
lbl_803578C4:
|
|
/* 803578C4 00354824 C0 37 00 1C */ lfs f1, 0x1c(r23)
|
|
/* 803578C8 00354828 C0 17 00 18 */ lfs f0, 0x18(r23)
|
|
/* 803578CC 0035482C 80 D7 00 44 */ lwz r6, 0x44(r23)
|
|
/* 803578D0 00354830 EC 81 00 24 */ fdivs f4, f1, f0
|
|
/* 803578D4 00354834 80 B7 00 34 */ lwz r5, 0x34(r23)
|
|
/* 803578D8 00354838 7C C6 24 2E */ lfsx f6, r6, r4
|
|
/* 803578DC 0035483C 7C 05 20 2E */ lwzx r0, r5, r4
|
|
/* 803578E0 00354840 38 84 00 04 */ addi r4, r4, 4
|
|
/* 803578E4 00354844 C0 17 00 00 */ lfs f0, 0(r23)
|
|
/* 803578E8 00354848 1C 00 00 0C */ mulli r0, r0, 0xc
|
|
/* 803578EC 0035484C C0 37 00 04 */ lfs f1, 4(r23)
|
|
/* 803578F0 00354850 EC 06 00 32 */ fmuls f0, f6, f0
|
|
/* 803578F4 00354854 C0 B7 00 20 */ lfs f5, 0x20(r23)
|
|
/* 803578F8 00354858 EC 66 00 72 */ fmuls f3, f6, f1
|
|
/* 803578FC 0035485C C0 57 00 08 */ lfs f2, 8(r23)
|
|
/* 80357900 00354860 EC 05 00 32 */ fmuls f0, f5, f0
|
|
/* 80357904 00354864 7C B8 02 14 */ add r5, r24, r0
|
|
/* 80357908 00354868 EC 65 00 F2 */ fmuls f3, f5, f3
|
|
/* 8035790C 0035486C C0 25 00 00 */ lfs f1, 0(r5)
|
|
/* 80357910 00354870 EC 46 00 B2 */ fmuls f2, f6, f2
|
|
/* 80357914 00354874 EC 04 00 32 */ fmuls f0, f4, f0
|
|
/* 80357918 00354878 EC 64 00 F2 */ fmuls f3, f4, f3
|
|
/* 8035791C 0035487C EC 45 00 B2 */ fmuls f2, f5, f2
|
|
/* 80357920 00354880 EC 01 00 2A */ fadds f0, f1, f0
|
|
/* 80357924 00354884 EC 44 00 B2 */ fmuls f2, f4, f2
|
|
/* 80357928 00354888 D0 05 00 00 */ stfs f0, 0(r5)
|
|
/* 8035792C 0035488C C0 05 00 04 */ lfs f0, 4(r5)
|
|
/* 80357930 00354890 EC 00 18 2A */ fadds f0, f0, f3
|
|
/* 80357934 00354894 D0 05 00 04 */ stfs f0, 4(r5)
|
|
/* 80357938 00354898 C0 05 00 08 */ lfs f0, 8(r5)
|
|
/* 8035793C 0035489C EC 00 10 2A */ fadds f0, f0, f2
|
|
/* 80357940 003548A0 D0 05 00 08 */ stfs f0, 8(r5)
|
|
/* 80357944 003548A4 42 00 FF 80 */ bdnz lbl_803578C4
|
|
lbl_80357948:
|
|
/* 80357948 003548A8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
|
|
/* 8035794C 003548AC CB E1 00 50 */ lfd f31, 0x50(r1)
|
|
/* 80357950 003548B0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
|
|
/* 80357954 003548B4 CB C1 00 40 */ lfd f30, 0x40(r1)
|
|
/* 80357958 003548B8 BA E1 00 1C */ lmw r23, 0x1c(r1)
|
|
/* 8035795C 003548BC 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 80357960 003548C0 7C 08 03 A6 */ mtlr r0
|
|
/* 80357964 003548C4 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 80357968 003548C8 4E 80 00 20 */ blr
|
|
|
|
.global Update__18CVertexMorphEffectFf
|
|
Update__18CVertexMorphEffectFf:
|
|
/* 8035796C 003548CC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80357970 003548D0 C0 03 00 1C */ lfs f0, 0x1c(r3)
|
|
/* 80357974 003548D4 EC 20 08 2A */ fadds f1, f0, f1
|
|
/* 80357978 003548D8 D0 21 00 08 */ stfs f1, 8(r1)
|
|
/* 8035797C 003548DC C0 03 00 18 */ lfs f0, 0x18(r3)
|
|
/* 80357980 003548E0 FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 80357984 003548E4 40 80 00 0C */ bge lbl_80357990
|
|
/* 80357988 003548E8 38 83 00 18 */ addi r4, r3, 0x18
|
|
/* 8035798C 003548EC 48 00 00 08 */ b lbl_80357994
|
|
lbl_80357990:
|
|
/* 80357990 003548F0 38 81 00 08 */ addi r4, r1, 8
|
|
lbl_80357994:
|
|
/* 80357994 003548F4 C0 04 00 00 */ lfs f0, 0(r4)
|
|
/* 80357998 003548F8 D0 03 00 1C */ stfs f0, 0x1c(r3)
|
|
/* 8035799C 003548FC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 803579A0 00354900 4E 80 00 20 */ blr
|
|
|
|
.section .sdata2, "a"
|
|
.global lbl_805AE9E0
|
|
lbl_805AE9E0:
|
|
# ROM: 0x3FB280
|
|
.4byte 0
|
|
|
|
.global lbl_805AE9E4
|
|
lbl_805AE9E4:
|
|
# ROM: 0x3FB284
|
|
.float 0.5
|
|
|
|
.global lbl_805AE9E8
|
|
lbl_805AE9E8:
|
|
# ROM: 0x3FB288
|
|
.4byte 0x43300000
|
|
.4byte 0
|
|
|
|
.global lbl_805AE9F0
|
|
lbl_805AE9F0:
|
|
# ROM: 0x3FB290
|
|
.double 4.503601774854144E15
|
|
|