prime/asm/MetroidPrime/Weapons/CFlameThrower.s

1840 lines
93 KiB
ArmAsm
Raw Normal View History

2022-04-14 08:02:42 +00:00
.include "macros.inc"
2022-08-10 05:34:11 +00:00
.section .ctors, "wa"
lbl_ctor:
.4byte __sinit_CFlameThrower_cpp
2022-04-18 04:19:18 +00:00
.section .data
.balign 8
2022-04-18 04:19:18 +00:00
.global lbl_803E45D8
lbl_803E45D8:
# ROM: 0x3E15D8
.4byte 0
.4byte 0
.4byte __dt__13CFlameThrowerFv
.4byte Accept__13CFlameThrowerFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__13CFlameThrowerFfR13CStateManager
.4byte AcceptScriptMsg__13CFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__6CActorFb
2022-04-18 04:19:18 +00:00
.4byte PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
.4byte AddToRenderer__13CFlameThrowerCFRC14CFrustumPlanesRC13CStateManager
.4byte Render__13CFlameThrowerCFRC13CStateManager
.4byte CanRenderUnsorted__6CActorCFRC13CStateManager
.4byte CalculateRenderBounds__6CActorFv
.4byte HealthInfo__6CActorFR13CStateManager
.4byte GetDamageVulnerability__6CActorCFv
.4byte GetDamageVulnerability__6CActorCFRC9CVector3fRC9CVector3fRC11CDamageInfo
.4byte GetTouchBounds__13CFlameThrowerCFv
.4byte nullsub_141
.4byte GetOrbitPosition__6CActorCFRC13CStateManager
.4byte GetAimPosition__6CActorCFRC13CStateManagerf
.4byte GetHomingPosition__6CActorCFRC13CStateManagerf
.4byte GetScanObjectIndicatorPosition__6CActorCFRC13CStateManager
.4byte GetCollisionResponseType__7CWeaponCFRC9CVector3fRC9CVector3fRC11CWeaponModei
.4byte FluidFXThink__15CGameProjectileFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager
.4byte OnScanStateChange__6CActorFQ26CActor10EScanStateR13CStateManager
.4byte GetSortingBounds__6CActorCFRC13CStateManager
2022-08-15 04:51:06 +00:00
.4byte DoUserAnimEvent__6CActorFR13CStateManagerRC13CInt32POINode14EUserEventTypef
2022-04-18 04:19:18 +00:00
.4byte ResolveCollisionWithActor__15CGameProjectileFRC14CRayCastResultR6CActorR13CStateManager
2022-08-11 02:27:22 +00:00
.section .bss
.balign 8
.comm lbl_8057200C, 0xC, 4
2022-07-14 05:36:41 +00:00
.section .text, "ax"
2022-04-14 08:02:42 +00:00
.global __dt__13CFlameThrowerFv
__dt__13CFlameThrowerFv:
/* 801974BC 0019441C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801974C0 00194420 7C 08 02 A6 */ mflr r0
/* 801974C4 00194424 90 01 00 14 */ stw r0, 0x14(r1)
/* 801974C8 00194428 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801974CC 0019442C 7C 9F 23 78 */ mr r31, r4
/* 801974D0 00194430 93 C1 00 08 */ stw r30, 8(r1)
/* 801974D4 00194434 7C 7E 1B 79 */ or. r30, r3, r3
/* 801974D8 00194438 41 82 00 7C */ beq lbl_80197554
/* 801974DC 0019443C 3C 80 80 3E */ lis r4, lbl_803E45D8@ha
/* 801974E0 00194440 38 7E 03 4C */ addi r3, r30, 0x34c
/* 801974E4 00194444 38 04 45 D8 */ addi r0, r4, lbl_803E45D8@l
/* 801974E8 00194448 38 80 FF FF */ li r4, -1
/* 801974EC 0019444C 90 1E 00 00 */ stw r0, 0(r30)
/* 801974F0 00194450 48 01 E1 79 */ bl __dt__10CFlameWarpFv
/* 801974F4 00194454 34 1E 03 48 */ addic. r0, r30, 0x348
/* 801974F8 00194458 41 82 00 24 */ beq lbl_8019751C
/* 801974FC 0019445C 80 7E 03 48 */ lwz r3, 0x348(r30)
/* 80197500 00194460 28 03 00 00 */ cmplwi r3, 0
/* 80197504 00194464 41 82 00 18 */ beq lbl_8019751C
/* 80197508 00194468 81 83 00 00 */ lwz r12, 0(r3)
/* 8019750C 0019446C 38 80 00 01 */ li r4, 1
/* 80197510 00194470 81 8C 00 08 */ lwz r12, 8(r12)
/* 80197514 00194474 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80197518 00194478 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
lbl_8019751C:
/* 8019751C 0019447C 34 1E 03 3C */ addic. r0, r30, 0x33c
/* 80197520 00194480 41 82 00 18 */ beq lbl_80197538
/* 80197524 00194484 34 1E 03 3C */ addic. r0, r30, 0x33c
/* 80197528 00194488 41 82 00 10 */ beq lbl_80197538
/* 8019752C 0019448C 38 7E 03 3C */ addi r3, r30, 0x33c
/* 80197530 00194490 38 80 00 00 */ li r4, 0
/* 80197534 00194494 48 1A 99 0D */ bl __dt__6CTokenFv
lbl_80197538:
/* 80197538 00194498 7F C3 F3 78 */ mr r3, r30
/* 8019753C 0019449C 38 80 00 00 */ li r4, 0
/* 80197540 001944A0 4B E9 FE C1 */ bl __dt__15CGameProjectileFv
/* 80197544 001944A4 7F E0 07 35 */ extsh. r0, r31
/* 80197548 001944A8 40 81 00 0C */ ble lbl_80197554
/* 8019754C 001944AC 7F C3 F3 78 */ mr r3, r30
/* 80197550 001944B0 48 17 E3 E1 */ bl Free__7CMemoryFPCv
lbl_80197554:
/* 80197554 001944B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80197558 001944B8 7F C3 F3 78 */ mr r3, r30
/* 8019755C 001944BC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80197560 001944C0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80197564 001944C4 7C 08 03 A6 */ mtlr r0
/* 80197568 001944C8 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8019756C 001944CC 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global sub_80197570
sub_80197570:
/* 80197570 001944D0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80197574 001944D4 7C 08 02 A6 */ mflr r0
/* 80197578 001944D8 90 01 00 44 */ stw r0, 0x44(r1)
/* 8019757C 001944DC DB E1 00 38 */ stfd f31, 0x38(r1)
/* 80197580 001944E0 FF E0 08 90 */ fmr f31, f1
/* 80197584 001944E4 93 E1 00 34 */ stw r31, 0x34(r1)
/* 80197588 001944E8 7C 9F 23 78 */ mr r31, r4
/* 8019758C 001944EC 93 C1 00 30 */ stw r30, 0x30(r1)
/* 80197590 001944F0 7C 7E 1B 78 */ mr r30, r3
/* 80197594 001944F4 81 04 08 4C */ lwz r8, 0x84c(r4)
/* 80197598 001944F8 A0 A5 00 00 */ lhz r5, 0(r5)
/* 8019759C 001944FC A0 08 00 08 */ lhz r0, 8(r8)
/* 801975A0 00194500 7C 05 00 40 */ cmplw r5, r0
/* 801975A4 00194504 40 82 00 30 */ bne lbl_801975D4
/* 801975A8 00194508 80 BE 03 F4 */ lwz r5, 0x3f4(r30)
/* 801975AC 0019450C 3C 05 00 01 */ addis r0, r5, 1
/* 801975B0 00194510 28 00 FF FF */ cmplwi r0, 0xffff
/* 801975B4 00194514 41 82 00 20 */ beq lbl_801975D4
/* 801975B8 00194518 80 FE 03 FC */ lwz r7, 0x3fc(r30)
/* 801975BC 0019451C 3C 07 00 01 */ addis r0, r7, 1
/* 801975C0 00194520 28 00 FF FF */ cmplwi r0, 0xffff
/* 801975C4 00194524 41 82 00 10 */ beq lbl_801975D4
/* 801975C8 00194528 A0 DE 03 F8 */ lhz r6, 0x3f8(r30)
/* 801975CC 0019452C 7D 03 43 78 */ mr r3, r8
/* 801975D0 00194530 4B E7 E7 45 */ bl Freeze__7CPlayerFR13CStateManagerUiUsUi
lbl_801975D4:
/* 801975D4 00194534 FC 20 F8 90 */ fmr f1, f31
/* 801975D8 00194538 38 61 00 08 */ addi r3, r1, 8
/* 801975DC 0019453C 38 9E 01 2C */ addi r4, r30, 0x12c
/* 801975E0 00194540 4B F2 BE 69 */ bl __ct__11CDamageInfoFRC11CDamageInfof
/* 801975E4 00194544 7F C3 F3 78 */ mr r3, r30
/* 801975E8 00194548 7F E4 FB 78 */ mr r4, r31
/* 801975EC 0019454C 38 A1 00 08 */ addi r5, r1, 8
/* 801975F0 00194550 4B EA 0C 85 */ bl ApplyDamageToActors__15CGameProjectileFR13CStateManager
/* 801975F4 00194554 80 01 00 44 */ lwz r0, 0x44(r1)
/* 801975F8 00194558 CB E1 00 38 */ lfd f31, 0x38(r1)
/* 801975FC 0019455C 83 E1 00 34 */ lwz r31, 0x34(r1)
/* 80197600 00194560 83 C1 00 30 */ lwz r30, 0x30(r1)
/* 80197604 00194564 7C 08 03 A6 */ mtlr r0
/* 80197608 00194568 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 8019760C 0019456C 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global SetFlameLightActive__13CFlameThrowerFbR13CStateManager
SetFlameLightActive__13CFlameThrowerFbR13CStateManager:
/* 80197610 00194570 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80197614 00194574 7C 08 02 A6 */ mflr r0
/* 80197618 00194578 90 01 00 24 */ stw r0, 0x24(r1)
/* 8019761C 0019457C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80197620 00194580 7C 9F 23 78 */ mr r31, r4
/* 80197624 00194584 A0 C3 02 C8 */ lhz r6, 0x2c8(r3)
2022-04-24 01:54:45 +00:00
/* 80197628 00194588 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 8019762C 0019458C 7C 06 00 40 */ cmplw r6, r0
/* 80197630 00194590 41 82 00 44 */ beq lbl_80197674
/* 80197634 00194594 B0 C1 00 08 */ sth r6, 8(r1)
/* 80197638 00194598 7C A3 2B 78 */ mr r3, r5
/* 8019763C 0019459C 38 81 00 0C */ addi r4, r1, 0xc
/* 80197640 001945A0 B0 C1 00 0C */ sth r6, 0xc(r1)
/* 80197644 001945A4 4B EB 4F 31 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80197648 001945A8 7C 64 1B 78 */ mr r4, r3
/* 8019764C 001945AC 38 61 00 10 */ addi r3, r1, 0x10
/* 80197650 001945B0 4B F1 64 35 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity"
/* 80197654 001945B4 80 63 00 04 */ lwz r3, 4(r3)
/* 80197658 001945B8 28 03 00 00 */ cmplwi r3, 0
/* 8019765C 001945BC 41 82 00 18 */ beq lbl_80197674
/* 80197660 001945C0 81 83 00 00 */ lwz r12, 0(r3)
/* 80197664 001945C4 57 E4 06 3E */ clrlwi r4, r31, 0x18
/* 80197668 001945C8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8019766C 001945CC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80197670 001945D0 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
lbl_80197674:
/* 80197674 001945D4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80197678 001945D8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8019767C 001945DC 7C 08 03 A6 */ mtlr r0
/* 80197680 001945E0 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80197684 001945E4 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global DoCollisionCheck__13CFlameThrowerFR9TUniqueIdRC6CAABoxR13CStateManager
DoCollisionCheck__13CFlameThrowerFR9TUniqueIdRC6CAABoxR13CStateManager:
/* 80197688 001945E8 94 21 F4 50 */ stwu r1, -0xbb0(r1)
/* 8019768C 001945EC 7C 08 02 A6 */ mflr r0
/* 80197690 001945F0 90 01 0B B4 */ stw r0, 0xbb4(r1)
/* 80197694 001945F4 DB E1 0B A0 */ stfd f31, 0xba0(r1)
/* 80197698 001945F8 F3 E1 0B A8 */ psq_st f31, -1112(r1), 0, qr0
/* 8019769C 001945FC DB C1 0B 90 */ stfd f30, 0xb90(r1)
/* 801976A0 00194600 F3 C1 0B 98 */ psq_st f30, -1128(r1), 0, qr0
/* 801976A4 00194604 DB A1 0B 80 */ stfd f29, 0xb80(r1)
/* 801976A8 00194608 F3 A1 0B 88 */ psq_st f29, -1144(r1), 0, qr0
/* 801976AC 0019460C DB 81 0B 70 */ stfd f28, 0xb70(r1)
/* 801976B0 00194610 F3 81 0B 78 */ psq_st f28, -1160(r1), 0, qr0
/* 801976B4 00194614 DB 61 0B 60 */ stfd f27, 0xb60(r1)
/* 801976B8 00194618 F3 61 0B 68 */ psq_st f27, -1176(r1), 0, qr0
/* 801976BC 0019461C DB 41 0B 50 */ stfd f26, 0xb50(r1)
/* 801976C0 00194620 F3 41 0B 58 */ psq_st f26, -1192(r1), 0, qr0
/* 801976C4 00194624 BE 61 0B 1C */ stmw r19, 0xb1c(r1)
/* 801976C8 00194628 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2)
/* 801976CC 0019462C 7C 7E 1B 78 */ mr r30, r3
/* 801976D0 00194630 C0 22 A6 A0 */ lfs f1, lbl_805AC3C0@sda21(r2)
/* 801976D4 00194634 7C 9F 23 78 */ mr r31, r4
/* 801976D8 00194638 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 801976DC 0019463C 7C B4 2B 78 */ mr r20, r5
/* 801976E0 00194640 7C D5 33 78 */ mr r21, r6
/* 801976E4 00194644 7C F3 3B 78 */ mr r19, r7
/* 801976E8 00194648 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 801976EC 0019464C 38 61 00 0C */ addi r3, r1, 0xc
/* 801976F0 00194650 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 801976F4 00194654 48 17 D2 05 */ bl Normalize__9CVector3fFv
/* 801976F8 00194658 C0 62 A6 A4 */ lfs f3, lbl_805AC3C4@sda21(r2)
/* 801976FC 0019465C 38 00 00 00 */ li r0, 0
/* 80197700 00194660 C0 41 00 0C */ lfs f2, 0xc(r1)
2022-08-16 21:46:30 +00:00
/* 80197704 00194664 3C 60 80 5A */ lis r3, skPassEverything__15CMaterialFilter@ha
2022-04-14 08:02:42 +00:00
/* 80197708 00194668 C0 21 00 10 */ lfs f1, 0x10(r1)
2022-08-16 21:46:30 +00:00
/* 8019770C 0019466C 38 C3 FD 18 */ addi r6, r3, skPassEverything__15CMaterialFilter@l
2022-04-14 08:02:42 +00:00
/* 80197710 00194670 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80197714 00194674 7E 63 9B 78 */ mr r3, r19
/* 80197718 00194678 D0 61 02 68 */ stfs f3, 0x268(r1)
/* 8019771C 0019467C 7E A5 AB 78 */ mr r5, r21
/* 80197720 00194680 7F E7 FB 78 */ mr r7, r31
/* 80197724 00194684 38 81 03 08 */ addi r4, r1, 0x308
/* 80197728 00194688 D0 61 02 6C */ stfs f3, 0x26c(r1)
/* 8019772C 0019468C D0 61 02 70 */ stfs f3, 0x270(r1)
/* 80197730 00194690 D0 61 02 74 */ stfs f3, 0x274(r1)
/* 80197734 00194694 D0 41 02 78 */ stfs f2, 0x278(r1)
/* 80197738 00194698 D0 21 02 7C */ stfs f1, 0x27c(r1)
/* 8019773C 0019469C D0 01 02 80 */ stfs f0, 0x280(r1)
/* 80197740 001946A0 D0 61 02 84 */ stfs f3, 0x284(r1)
/* 80197744 001946A4 98 01 02 88 */ stb r0, 0x288(r1)
/* 80197748 001946A8 90 01 02 94 */ stw r0, 0x294(r1)
/* 8019774C 001946AC 90 01 02 90 */ stw r0, 0x290(r1)
/* 80197750 001946B0 90 01 03 08 */ stw r0, 0x308(r1)
/* 80197754 001946B4 4B EB 4F CD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor"
/* 80197758 001946B8 88 1F 04 00 */ lbz r0, 0x400(r31)
/* 8019775C 001946BC 3B 9F 03 50 */ addi r28, r31, 0x350
/* 80197760 001946C0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 80197764 001946C4 41 82 05 9C */ beq lbl_80197D00
/* 80197768 001946C8 80 1C 00 00 */ lwz r0, 0(r28)
/* 8019776C 001946CC 2C 00 00 00 */ cmpwi r0, 0
/* 80197770 001946D0 40 81 05 90 */ ble lbl_80197D00
/* 80197774 001946D4 6C 03 80 00 */ xoris r3, r0, 0x8000
/* 80197778 001946D8 3C 00 43 30 */ lis r0, 0x4330
/* 8019777C 001946DC 90 61 0B 14 */ stw r3, 0xb14(r1)
/* 80197780 001946E0 3C 60 80 5A */ lis r3, sUpVector__9CVector3f@ha
2022-04-14 08:02:42 +00:00
/* 80197784 001946E4 C0 7F 03 E0 */ lfs f3, 0x3e0(r31)
/* 80197788 001946E8 3B 01 02 D4 */ addi r24, r1, 0x2d4
/* 8019778C 001946EC 90 01 0B 10 */ stw r0, 0xb10(r1)
/* 80197790 001946F0 3B 7C 00 10 */ addi r27, r28, 0x10
/* 80197794 001946F4 C0 5F 03 DC */ lfs f2, 0x3dc(r31)
/* 80197798 001946F8 3B 41 03 0C */ addi r26, r1, 0x30c
/* 8019779C 001946FC C8 22 A6 B0 */ lfd f1, lbl_805AC3D0@sda21(r2)
/* 801977A0 00194700 3B 21 01 34 */ addi r25, r1, 0x134
/* 801977A4 00194704 C8 01 0B 10 */ lfd f0, 0xb10(r1)
/* 801977A8 00194708 EC 43 10 28 */ fsubs f2, f3, f2
/* 801977AC 0019470C C3 E2 A6 A8 */ lfs f31, lbl_805AC3C8@sda21(r2)
/* 801977B0 00194710 3A E1 01 C4 */ addi r23, r1, 0x1c4
/* 801977B4 00194714 EC 00 08 28 */ fsubs f0, f0, f1
/* 801977B8 00194718 3B A3 66 F4 */ addi r29, r3, sUpVector__9CVector3f@l
2022-04-14 08:02:42 +00:00
/* 801977BC 0019471C 3A C0 00 01 */ li r22, 1
/* 801977C0 00194720 EC 02 00 24 */ fdivs f0, f2, f0
/* 801977C4 00194724 EF DF 00 32 */ fmuls f30, f31, f0
/* 801977C8 00194728 FF A0 F0 90 */ fmr f29, f30
/* 801977CC 0019472C 48 00 05 24 */ b lbl_80197CF0
lbl_801977D0:
/* 801977D0 00194730 38 16 FF FF */ addi r0, r22, -1
/* 801977D4 00194734 C0 BB 00 04 */ lfs f5, 4(r27)
/* 801977D8 00194738 1C 00 00 0C */ mulli r0, r0, 0xc
/* 801977DC 0019473C C0 7B 00 08 */ lfs f3, 8(r27)
/* 801977E0 00194740 C0 3B 00 00 */ lfs f1, 0(r27)
/* 801977E4 00194744 7F 65 DB 78 */ mr r5, r27
/* 801977E8 00194748 7F A6 EB 78 */ mr r6, r29
/* 801977EC 0019474C 7E 9C 02 14 */ add r20, r28, r0
/* 801977F0 00194750 C0 94 00 08 */ lfs f4, 8(r20)
/* 801977F4 00194754 38 61 01 68 */ addi r3, r1, 0x168
/* 801977F8 00194758 C0 54 00 0C */ lfs f2, 0xc(r20)
/* 801977FC 0019475C C4 14 00 04 */ lfsu f0, 4(r20)
/* 80197800 00194760 EC 85 20 28 */ fsubs f4, f5, f4
/* 80197804 00194764 EC 43 10 28 */ fsubs f2, f3, f2
/* 80197808 00194768 EC 01 00 28 */ fsubs f0, f1, f0
/* 8019780C 0019476C 7E 84 A3 78 */ mr r4, r20
/* 80197810 00194770 D0 81 00 64 */ stfs f4, 0x64(r1)
/* 80197814 00194774 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 80197818 00194778 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 8019781C 0019477C 48 17 C2 F5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 80197820 00194780 38 61 02 34 */ addi r3, r1, 0x234
/* 80197824 00194784 38 81 01 68 */ addi r4, r1, 0x168
/* 80197828 00194788 48 17 B3 4D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8019782C 0019478C C0 41 00 64 */ lfs f2, 0x64(r1)
/* 80197830 00194790 38 61 00 60 */ addi r3, r1, 0x60
/* 80197834 00194794 C0 21 00 68 */ lfs f1, 0x68(r1)
/* 80197838 00194798 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 8019783C 0019479C EC 9F 00 B2 */ fmuls f4, f31, f2
/* 80197840 001947A0 C0 B4 00 04 */ lfs f5, 4(r20)
/* 80197844 001947A4 EC 5F 00 72 */ fmuls f2, f31, f1
/* 80197848 001947A8 C0 74 00 08 */ lfs f3, 8(r20)
/* 8019784C 001947AC EC 1F 00 32 */ fmuls f0, f31, f0
/* 80197850 001947B0 C0 34 00 00 */ lfs f1, 0(r20)
/* 80197854 001947B4 EC 85 20 2A */ fadds f4, f5, f4
/* 80197858 001947B8 EC 43 10 2A */ fadds f2, f3, f2
/* 8019785C 001947BC EC 01 00 2A */ fadds f0, f1, f0
/* 80197860 001947C0 D0 81 02 50 */ stfs f4, 0x250(r1)
/* 80197864 001947C4 D0 01 02 40 */ stfs f0, 0x240(r1)
/* 80197868 001947C8 D0 41 02 60 */ stfs f2, 0x260(r1)
/* 8019786C 001947CC 48 17 D0 4D */ bl Magnitude__9CVector3fCFv
/* 80197870 001947D0 EC 1F 00 72 */ fmuls f0, f31, f1
/* 80197874 001947D4 D3 A1 00 48 */ stfs f29, 0x48(r1)
/* 80197878 001947D8 38 61 01 F8 */ addi r3, r1, 0x1f8
/* 8019787C 001947DC 38 81 02 34 */ addi r4, r1, 0x234
/* 80197880 001947E0 D3 A1 00 50 */ stfs f29, 0x50(r1)
/* 80197884 001947E4 38 A1 00 48 */ addi r5, r1, 0x48
/* 80197888 001947E8 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 8019788C 001947EC 48 13 E7 09 */ bl __ct__6COBBoxFRC12CTransform4fRC9CVector3f
/* 80197890 001947F0 7F 55 D3 78 */ mr r21, r26
/* 80197894 001947F4 48 00 04 3C */ b lbl_80197CD0
lbl_80197898:
/* 80197898 001947F8 A0 15 00 00 */ lhz r0, 0(r21)
/* 8019789C 001947FC 7E 63 9B 78 */ mr r3, r19
/* 801978A0 00194800 38 81 00 08 */ addi r4, r1, 8
/* 801978A4 00194804 B0 01 00 08 */ sth r0, 8(r1)
/* 801978A8 00194808 4B EB 4C CD */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801978AC 0019480C 7C 74 1B 79 */ or. r20, r3, r3
/* 801978B0 00194810 41 82 04 1C */ beq lbl_80197CCC
/* 801978B4 00194814 7F E4 FB 78 */ mr r4, r31
/* 801978B8 00194818 7E 85 A3 78 */ mr r5, r20
/* 801978BC 0019481C 7E 66 9B 78 */ mr r6, r19
/* 801978C0 00194820 38 61 01 30 */ addi r3, r1, 0x130
/* 801978C4 00194824 4B EA 17 B1 */ bl CanCollideWith__15CGameProjectileFR6CActorR13CStateManager
/* 801978C8 00194828 88 01 01 64 */ lbz r0, 0x164(r1)
/* 801978CC 0019482C 38 81 01 C0 */ addi r4, r1, 0x1c0
/* 801978D0 00194830 A0 61 01 30 */ lhz r3, 0x130(r1)
/* 801978D4 00194834 28 00 00 00 */ cmplwi r0, 0
/* 801978D8 00194838 98 01 01 F4 */ stb r0, 0x1f4(r1)
/* 801978DC 0019483C B0 61 01 C0 */ sth r3, 0x1c0(r1)
/* 801978E0 00194840 41 82 00 64 */ beq lbl_80197944
/* 801978E4 00194844 34 84 00 04 */ addic. r4, r4, 4
/* 801978E8 00194848 41 82 00 5C */ beq lbl_80197944
/* 801978EC 0019484C C0 01 01 34 */ lfs f0, 0x134(r1)
/* 801978F0 00194850 D0 04 00 00 */ stfs f0, 0(r4)
/* 801978F4 00194854 C0 01 01 38 */ lfs f0, 0x138(r1)
/* 801978F8 00194858 D0 04 00 04 */ stfs f0, 4(r4)
/* 801978FC 0019485C C0 01 01 3C */ lfs f0, 0x13c(r1)
/* 80197900 00194860 D0 04 00 08 */ stfs f0, 8(r4)
/* 80197904 00194864 C0 01 01 40 */ lfs f0, 0x140(r1)
/* 80197908 00194868 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 8019790C 0019486C C0 01 01 44 */ lfs f0, 0x144(r1)
/* 80197910 00194870 D0 04 00 10 */ stfs f0, 0x10(r4)
/* 80197914 00194874 C0 01 01 48 */ lfs f0, 0x148(r1)
/* 80197918 00194878 D0 04 00 14 */ stfs f0, 0x14(r4)
/* 8019791C 0019487C C0 01 01 4C */ lfs f0, 0x14c(r1)
/* 80197920 00194880 D0 04 00 18 */ stfs f0, 0x18(r4)
/* 80197924 00194884 C0 01 01 50 */ lfs f0, 0x150(r1)
/* 80197928 00194888 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 8019792C 0019488C 88 01 01 54 */ lbz r0, 0x154(r1)
/* 80197930 00194890 98 04 00 20 */ stb r0, 0x20(r4)
/* 80197934 00194894 80 01 01 5C */ lwz r0, 0x15c(r1)
/* 80197938 00194898 80 61 01 60 */ lwz r3, 0x160(r1)
/* 8019793C 0019489C 90 64 00 2C */ stw r3, 0x2c(r4)
/* 80197940 001948A0 90 04 00 28 */ stw r0, 0x28(r4)
lbl_80197944:
/* 80197944 001948A4 28 19 00 00 */ cmplwi r25, 0
/* 80197948 001948A8 41 82 00 0C */ beq lbl_80197954
/* 8019794C 001948AC 38 00 00 00 */ li r0, 0
/* 80197950 001948B0 98 01 01 64 */ stb r0, 0x164(r1)
lbl_80197954:
/* 80197954 001948B4 A0 61 01 C0 */ lhz r3, 0x1c0(r1)
2022-04-24 01:54:45 +00:00
/* 80197958 001948B8 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 8019795C 001948BC 7C 03 00 40 */ cmplw r3, r0
/* 80197960 001948C0 40 82 00 18 */ bne lbl_80197978
/* 80197964 001948C4 28 17 00 00 */ cmplwi r23, 0
/* 80197968 001948C8 41 82 03 64 */ beq lbl_80197CCC
/* 8019796C 001948CC 38 00 00 00 */ li r0, 0
/* 80197970 001948D0 98 01 01 F4 */ stb r0, 0x1f4(r1)
/* 80197974 001948D4 48 00 03 58 */ b lbl_80197CCC
lbl_80197978:
/* 80197978 001948D8 7E 84 A3 78 */ mr r4, r20
/* 8019797C 001948DC 38 61 00 6C */ addi r3, r1, 0x6c
/* 80197980 001948E0 81 94 00 00 */ lwz r12, 0(r20)
/* 80197984 001948E4 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 80197988 001948E8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8019798C 001948EC 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80197990 001948F0 88 01 00 84 */ lbz r0, 0x84(r1)
/* 80197994 001948F4 28 00 00 00 */ cmplwi r0, 0
/* 80197998 001948F8 98 01 00 A0 */ stb r0, 0xa0(r1)
/* 8019799C 001948FC 41 82 00 3C */ beq lbl_801979D8
/* 801979A0 00194900 34 61 00 88 */ addic. r3, r1, 0x88
/* 801979A4 00194904 41 82 00 34 */ beq lbl_801979D8
/* 801979A8 00194908 C0 01 00 6C */ lfs f0, 0x6c(r1)
/* 801979AC 0019490C D0 03 00 00 */ stfs f0, 0(r3)
/* 801979B0 00194910 C0 01 00 70 */ lfs f0, 0x70(r1)
/* 801979B4 00194914 D0 03 00 04 */ stfs f0, 4(r3)
/* 801979B8 00194918 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 801979BC 0019491C D0 03 00 08 */ stfs f0, 8(r3)
/* 801979C0 00194920 C0 01 00 78 */ lfs f0, 0x78(r1)
/* 801979C4 00194924 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 801979C8 00194928 C0 01 00 7C */ lfs f0, 0x7c(r1)
/* 801979CC 0019492C D0 03 00 10 */ stfs f0, 0x10(r3)
/* 801979D0 00194930 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 801979D4 00194934 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_801979D8:
/* 801979D8 00194938 88 01 00 A0 */ lbz r0, 0xa0(r1)
/* 801979DC 0019493C 38 60 00 00 */ li r3, 0
/* 801979E0 00194940 98 61 00 84 */ stb r3, 0x84(r1)
/* 801979E4 00194944 28 00 00 00 */ cmplwi r0, 0
/* 801979E8 00194948 40 82 00 18 */ bne lbl_80197A00
/* 801979EC 0019494C 28 17 00 00 */ cmplwi r23, 0
/* 801979F0 00194950 98 61 00 A0 */ stb r3, 0xa0(r1)
/* 801979F4 00194954 41 82 02 D8 */ beq lbl_80197CCC
/* 801979F8 00194958 98 61 01 F4 */ stb r3, 0x1f4(r1)
/* 801979FC 0019495C 48 00 02 D0 */ b lbl_80197CCC
lbl_80197A00:
/* 80197A00 00194960 38 61 01 F8 */ addi r3, r1, 0x1f8
/* 80197A04 00194964 38 81 00 88 */ addi r4, r1, 0x88
2022-10-07 04:23:10 +00:00
/* 80197A08 00194968 48 13 E1 6D */ bl AABoxIntersectsBox__6COBBoxCFRC6CAABox
2022-04-14 08:02:42 +00:00
/* 80197A0C 0019496C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80197A10 00194970 41 82 02 A8 */ beq lbl_80197CB8
/* 80197A14 00194974 38 61 01 08 */ addi r3, r1, 0x108
/* 80197A18 00194978 38 94 00 68 */ addi r4, r20, 0x68
/* 80197A1C 0019497C 48 13 7E 99 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList
2022-10-05 16:28:37 +00:00
/* 80197A20 00194980 3C 60 80 3F */ lis r3, __vt__16CCollidableAABox@ha
2022-04-14 08:02:42 +00:00
/* 80197A24 00194984 C0 C1 00 88 */ lfs f6, 0x88(r1)
2022-10-05 16:28:37 +00:00
/* 80197A28 00194988 39 03 CA D0 */ addi r8, r3, __vt__16CCollidableAABox@l
2022-04-14 08:02:42 +00:00
/* 80197A2C 0019498C C0 A1 00 8C */ lfs f5, 0x8c(r1)
/* 80197A30 00194990 91 01 01 08 */ stw r8, 0x108(r1)
2022-09-18 05:52:19 +00:00
/* 80197A34 00194994 3C 60 80 3E */ lis r3, __vt__19CCollisionPrimitive@ha
/* 80197A38 00194998 38 E3 97 E4 */ addi r7, r3, __vt__19CCollisionPrimitive@l
2022-04-14 08:02:42 +00:00
/* 80197A3C 0019499C C0 81 00 90 */ lfs f4, 0x90(r1)
/* 80197A40 001949A0 C0 61 00 94 */ lfs f3, 0x94(r1)
/* 80197A44 001949A4 7E 84 A3 78 */ mr r4, r20
/* 80197A48 001949A8 C0 41 00 98 */ lfs f2, 0x98(r1)
/* 80197A4C 001949AC 7E 65 9B 78 */ mr r5, r19
/* 80197A50 001949B0 C0 01 00 9C */ lfs f0, 0x9c(r1)
/* 80197A54 001949B4 38 61 00 3C */ addi r3, r1, 0x3c
/* 80197A58 001949B8 90 E1 01 98 */ stw r7, 0x198(r1)
/* 80197A5C 001949BC 80 01 01 10 */ lwz r0, 0x110(r1)
/* 80197A60 001949C0 91 01 01 08 */ stw r8, 0x108(r1)
/* 80197A64 001949C4 80 C1 01 14 */ lwz r6, 0x114(r1)
/* 80197A68 001949C8 D0 C1 01 18 */ stfs f6, 0x118(r1)
/* 80197A6C 001949CC C0 22 A6 A4 */ lfs f1, lbl_805AC3C4@sda21(r2)
/* 80197A70 001949D0 D0 A1 01 1C */ stfs f5, 0x11c(r1)
/* 80197A74 001949D4 D0 81 01 20 */ stfs f4, 0x120(r1)
/* 80197A78 001949D8 D0 61 01 24 */ stfs f3, 0x124(r1)
/* 80197A7C 001949DC D0 41 01 28 */ stfs f2, 0x128(r1)
/* 80197A80 001949E0 D0 01 01 2C */ stfs f0, 0x12c(r1)
/* 80197A84 001949E4 90 C1 01 A4 */ stw r6, 0x1a4(r1)
/* 80197A88 001949E8 90 01 01 A0 */ stw r0, 0x1a0(r1)
/* 80197A8C 001949EC 91 01 01 98 */ stw r8, 0x198(r1)
/* 80197A90 001949F0 D0 C1 01 A8 */ stfs f6, 0x1a8(r1)
/* 80197A94 001949F4 D0 A1 01 AC */ stfs f5, 0x1ac(r1)
/* 80197A98 001949F8 D0 81 01 B0 */ stfs f4, 0x1b0(r1)
/* 80197A9C 001949FC D0 61 01 B4 */ stfs f3, 0x1b4(r1)
/* 80197AA0 00194A00 D0 41 01 B8 */ stfs f2, 0x1b8(r1)
/* 80197AA4 00194A04 D0 01 01 BC */ stfs f0, 0x1bc(r1)
/* 80197AA8 00194A08 90 E1 01 08 */ stw r7, 0x108(r1)
/* 80197AAC 00194A0C 81 94 00 00 */ lwz r12, 0(r20)
/* 80197AB0 00194A10 C3 5F 03 14 */ lfs f26, 0x314(r31)
/* 80197AB4 00194A14 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 80197AB8 00194A18 C3 7F 03 04 */ lfs f27, 0x304(r31)
/* 80197ABC 00194A1C C3 9F 02 F4 */ lfs f28, 0x2f4(r31)
/* 80197AC0 00194A20 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80197AC4 00194A24 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80197AC8 00194A28 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 80197ACC 00194A2C 38 61 00 54 */ addi r3, r1, 0x54
/* 80197AD0 00194A30 C0 21 00 44 */ lfs f1, 0x44(r1)
/* 80197AD4 00194A34 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 80197AD8 00194A38 EC 42 D8 28 */ fsubs f2, f2, f27
/* 80197ADC 00194A3C EC 21 D0 28 */ fsubs f1, f1, f26
/* 80197AE0 00194A40 EC 00 E0 28 */ fsubs f0, f0, f28
/* 80197AE4 00194A44 D0 41 00 58 */ stfs f2, 0x58(r1)
/* 80197AE8 00194A48 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80197AEC 00194A4C D0 21 00 5C */ stfs f1, 0x5c(r1)
/* 80197AF0 00194A50 48 17 CD C9 */ bl Magnitude__9CVector3fCFv
/* 80197AF4 00194A54 FF 80 08 90 */ fmr f28, f1
/* 80197AF8 00194A58 38 61 00 24 */ addi r3, r1, 0x24
/* 80197AFC 00194A5C 38 81 00 54 */ addi r4, r1, 0x54
/* 80197B00 00194A60 48 17 CD 51 */ bl AsNormalized__9CVector3fCFv
/* 80197B04 00194A64 C0 7F 03 14 */ lfs f3, 0x314(r31)
/* 80197B08 00194A68 FC 20 E0 90 */ fmr f1, f28
/* 80197B0C 00194A6C C0 5F 03 04 */ lfs f2, 0x304(r31)
/* 80197B10 00194A70 38 61 02 98 */ addi r3, r1, 0x298
/* 80197B14 00194A74 C0 1F 02 F4 */ lfs f0, 0x2f4(r31)
/* 80197B18 00194A78 38 81 00 30 */ addi r4, r1, 0x30
/* 80197B1C 00194A7C 38 A1 00 24 */ addi r5, r1, 0x24
/* 80197B20 00194A80 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80197B24 00194A84 D0 41 00 34 */ stfs f2, 0x34(r1)
/* 80197B28 00194A88 D0 61 00 38 */ stfs f3, 0x38(r1)
/* 80197B2C 00194A8C 48 13 E5 41 */ bl __ct__5CMRayFRC9CVector3fRC9CVector3ff
/* 80197B30 00194A90 3C 60 80 5A */ lis r3, sIdentity__12CTransform4f@ha
2022-04-14 08:02:42 +00:00
/* 80197B34 00194A94 D3 81 02 D0 */ stfs f28, 0x2d0(r1)
/* 80197B38 00194A98 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@l
2022-04-14 08:02:42 +00:00
/* 80197B3C 00194A9C 7F 03 C3 78 */ mr r3, r24
/* 80197B40 00194AA0 48 17 B0 35 */ bl __ct__12CTransform4fFRC12CTransform4f
2022-08-16 21:46:30 +00:00
/* 80197B44 00194AA4 3C 60 80 5A */ lis r3, skPassEverything__15CMaterialFilter@ha
2022-04-14 08:02:42 +00:00
/* 80197B48 00194AA8 81 81 01 98 */ lwz r12, 0x198(r1)
2022-08-16 21:46:30 +00:00
/* 80197B4C 00194AAC 38 03 FD 18 */ addi r0, r3, skPassEverything__15CMaterialFilter@l
2022-04-14 08:02:42 +00:00
/* 80197B50 00194AB0 38 61 00 D8 */ addi r3, r1, 0xd8
/* 80197B54 00194AB4 90 01 03 04 */ stw r0, 0x304(r1)
/* 80197B58 00194AB8 38 81 01 98 */ addi r4, r1, 0x198
/* 80197B5C 00194ABC 38 A1 02 98 */ addi r5, r1, 0x298
/* 80197B60 00194AC0 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 80197B64 00194AC4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80197B68 00194AC8 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80197B6C 00194ACC 88 E1 00 F8 */ lbz r7, 0xf8(r1)
/* 80197B70 00194AD0 C0 21 00 D8 */ lfs f1, 0xd8(r1)
/* 80197B74 00194AD4 80 81 00 DC */ lwz r4, 0xdc(r1)
/* 80197B78 00194AD8 28 07 00 00 */ cmplwi r7, 0
/* 80197B7C 00194ADC 80 61 00 E0 */ lwz r3, 0xe0(r1)
/* 80197B80 00194AE0 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 80197B84 00194AE4 C0 A1 00 E8 */ lfs f5, 0xe8(r1)
/* 80197B88 00194AE8 C0 81 00 EC */ lfs f4, 0xec(r1)
/* 80197B8C 00194AEC C0 61 00 F0 */ lfs f3, 0xf0(r1)
/* 80197B90 00194AF0 C0 41 00 F4 */ lfs f2, 0xf4(r1)
/* 80197B94 00194AF4 C8 01 01 00 */ lfd f0, 0x100(r1)
/* 80197B98 00194AF8 D0 21 02 68 */ stfs f1, 0x268(r1)
/* 80197B9C 00194AFC 90 81 02 6C */ stw r4, 0x26c(r1)
/* 80197BA0 00194B00 90 61 02 70 */ stw r3, 0x270(r1)
/* 80197BA4 00194B04 90 01 02 74 */ stw r0, 0x274(r1)
/* 80197BA8 00194B08 D0 A1 02 78 */ stfs f5, 0x278(r1)
/* 80197BAC 00194B0C D0 81 02 7C */ stfs f4, 0x27c(r1)
/* 80197BB0 00194B10 D0 61 02 80 */ stfs f3, 0x280(r1)
/* 80197BB4 00194B14 D0 41 02 84 */ stfs f2, 0x284(r1)
/* 80197BB8 00194B18 98 E1 02 88 */ stb r7, 0x288(r1)
/* 80197BBC 00194B1C D8 01 02 90 */ stfd f0, 0x290(r1)
/* 80197BC0 00194B20 40 82 00 34 */ bne lbl_80197BF4
2022-10-05 16:28:37 +00:00
/* 80197BC4 00194B24 3C 80 80 3F */ lis r4, __vt__16CCollidableAABox@ha
2022-09-18 05:52:19 +00:00
/* 80197BC8 00194B28 3C 60 80 3E */ lis r3, __vt__19CCollisionPrimitive@ha
2022-10-05 16:28:37 +00:00
/* 80197BCC 00194B2C 38 84 CA D0 */ addi r4, r4, __vt__16CCollidableAABox@l
2022-04-14 08:02:42 +00:00
/* 80197BD0 00194B30 38 00 00 00 */ li r0, 0
/* 80197BD4 00194B34 90 81 01 98 */ stw r4, 0x198(r1)
2022-09-18 05:52:19 +00:00
/* 80197BD8 00194B38 38 63 97 E4 */ addi r3, r3, __vt__19CCollisionPrimitive@l
2022-04-14 08:02:42 +00:00
/* 80197BDC 00194B3C 28 17 00 00 */ cmplwi r23, 0
/* 80197BE0 00194B40 90 61 01 98 */ stw r3, 0x198(r1)
/* 80197BE4 00194B44 98 01 00 A0 */ stb r0, 0xa0(r1)
/* 80197BE8 00194B48 41 82 00 E4 */ beq lbl_80197CCC
/* 80197BEC 00194B4C 98 01 01 F4 */ stb r0, 0x1f4(r1)
/* 80197BF0 00194B50 48 00 00 DC */ b lbl_80197CCC
lbl_80197BF4:
/* 80197BF4 00194B54 D0 3E 00 00 */ stfs f1, 0(r30)
2022-10-05 16:28:37 +00:00
/* 80197BF8 00194B58 3C 80 80 3F */ lis r4, __vt__16CCollidableAABox@ha
2022-04-14 08:02:42 +00:00
/* 80197BFC 00194B5C C0 01 02 6C */ lfs f0, 0x26c(r1)
2022-09-18 05:52:19 +00:00
/* 80197C00 00194B60 3C 60 80 3E */ lis r3, __vt__19CCollisionPrimitive@ha
2022-04-14 08:02:42 +00:00
/* 80197C04 00194B64 C0 21 02 70 */ lfs f1, 0x270(r1)
2022-10-05 16:28:37 +00:00
/* 80197C08 00194B68 38 84 CA D0 */ addi r4, r4, __vt__16CCollidableAABox@l
2022-04-14 08:02:42 +00:00
/* 80197C0C 00194B6C D0 1E 00 04 */ stfs f0, 4(r30)
/* 80197C10 00194B70 28 17 00 00 */ cmplwi r23, 0
/* 80197C14 00194B74 C0 01 02 74 */ lfs f0, 0x274(r1)
2022-09-18 05:52:19 +00:00
/* 80197C18 00194B78 38 63 97 E4 */ addi r3, r3, __vt__19CCollisionPrimitive@l
2022-04-14 08:02:42 +00:00
/* 80197C1C 00194B7C D0 3E 00 08 */ stfs f1, 8(r30)
/* 80197C20 00194B80 38 00 00 00 */ li r0, 0
/* 80197C24 00194B84 80 C1 02 94 */ lwz r6, 0x294(r1)
/* 80197C28 00194B88 D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 80197C2C 00194B8C 80 A1 02 90 */ lwz r5, 0x290(r1)
/* 80197C30 00194B90 D0 BE 00 10 */ stfs f5, 0x10(r30)
/* 80197C34 00194B94 D0 9E 00 14 */ stfs f4, 0x14(r30)
/* 80197C38 00194B98 D0 7E 00 18 */ stfs f3, 0x18(r30)
/* 80197C3C 00194B9C D0 5E 00 1C */ stfs f2, 0x1c(r30)
/* 80197C40 00194BA0 98 FE 00 20 */ stb r7, 0x20(r30)
/* 80197C44 00194BA4 90 DE 00 2C */ stw r6, 0x2c(r30)
/* 80197C48 00194BA8 90 BE 00 28 */ stw r5, 0x28(r30)
/* 80197C4C 00194BAC 90 81 01 98 */ stw r4, 0x198(r1)
/* 80197C50 00194BB0 90 61 01 98 */ stw r3, 0x198(r1)
/* 80197C54 00194BB4 98 01 00 A0 */ stb r0, 0xa0(r1)
/* 80197C58 00194BB8 41 82 00 08 */ beq lbl_80197C60
/* 80197C5C 00194BBC 98 01 01 F4 */ stb r0, 0x1f4(r1)
lbl_80197C60:
/* 80197C60 00194BC0 80 A1 03 08 */ lwz r5, 0x308(r1)
/* 80197C64 00194BC4 38 60 00 00 */ li r3, 0
/* 80197C68 00194BC8 2C 05 00 00 */ cmpwi r5, 0
/* 80197C6C 00194BCC 40 81 00 40 */ ble lbl_80197CAC
/* 80197C70 00194BD0 2C 05 00 08 */ cmpwi r5, 8
/* 80197C74 00194BD4 38 85 FF F8 */ addi r4, r5, -8
/* 80197C78 00194BD8 40 81 00 20 */ ble lbl_80197C98
/* 80197C7C 00194BDC 38 04 00 07 */ addi r0, r4, 7
/* 80197C80 00194BE0 54 00 E8 FE */ srwi r0, r0, 3
/* 80197C84 00194BE4 7C 09 03 A6 */ mtctr r0
/* 80197C88 00194BE8 2C 04 00 00 */ cmpwi r4, 0
/* 80197C8C 00194BEC 40 81 00 0C */ ble lbl_80197C98
lbl_80197C90:
/* 80197C90 00194BF0 38 63 00 08 */ addi r3, r3, 8
/* 80197C94 00194BF4 42 00 FF FC */ bdnz lbl_80197C90
lbl_80197C98:
/* 80197C98 00194BF8 7C 03 28 50 */ subf r0, r3, r5
/* 80197C9C 00194BFC 7C 09 03 A6 */ mtctr r0
/* 80197CA0 00194C00 7C 03 28 00 */ cmpw r3, r5
/* 80197CA4 00194C04 40 80 00 08 */ bge lbl_80197CAC
lbl_80197CA8:
/* 80197CA8 00194C08 42 00 00 00 */ bdnz lbl_80197CA8
lbl_80197CAC:
/* 80197CAC 00194C0C 38 00 00 00 */ li r0, 0
/* 80197CB0 00194C10 90 01 03 08 */ stw r0, 0x308(r1)
/* 80197CB4 00194C14 48 00 02 80 */ b lbl_80197F34
lbl_80197CB8:
/* 80197CB8 00194C18 38 00 00 00 */ li r0, 0
/* 80197CBC 00194C1C 28 17 00 00 */ cmplwi r23, 0
/* 80197CC0 00194C20 98 01 00 A0 */ stb r0, 0xa0(r1)
/* 80197CC4 00194C24 41 82 00 08 */ beq lbl_80197CCC
/* 80197CC8 00194C28 98 01 01 F4 */ stb r0, 0x1f4(r1)
lbl_80197CCC:
/* 80197CCC 00194C2C 3A B5 00 02 */ addi r21, r21, 2
lbl_80197CD0:
/* 80197CD0 00194C30 80 01 03 08 */ lwz r0, 0x308(r1)
/* 80197CD4 00194C34 54 00 08 3C */ slwi r0, r0, 1
/* 80197CD8 00194C38 7C 1A 02 14 */ add r0, r26, r0
/* 80197CDC 00194C3C 7C 15 00 40 */ cmplw r21, r0
/* 80197CE0 00194C40 40 82 FB B8 */ bne lbl_80197898
/* 80197CE4 00194C44 EF BD F0 2A */ fadds f29, f29, f30
/* 80197CE8 00194C48 3B 7B 00 0C */ addi r27, r27, 0xc
/* 80197CEC 00194C4C 3A D6 00 01 */ addi r22, r22, 1
lbl_80197CF0:
/* 80197CF0 00194C50 80 1C 00 00 */ lwz r0, 0(r28)
/* 80197CF4 00194C54 7C 16 00 00 */ cmpw r22, r0
/* 80197CF8 00194C58 41 80 FA D8 */ blt lbl_801977D0
/* 80197CFC 00194C5C 48 00 01 8C */ b lbl_80197E88
lbl_80197D00:
/* 80197D00 00194C60 C3 A2 A6 A4 */ lfs f29, lbl_805AC3C4@sda21(r2)
/* 80197D04 00194C64 3A BC 00 04 */ addi r21, r28, 4
/* 80197D08 00194C68 3A E0 00 00 */ li r23, 0
/* 80197D0C 00194C6C 48 00 01 6C */ b lbl_80197E78
lbl_80197D10:
/* 80197D10 00194C70 38 17 00 01 */ addi r0, r23, 1
/* 80197D14 00194C74 C0 95 00 04 */ lfs f4, 4(r21)
/* 80197D18 00194C78 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80197D1C 00194C7C C0 55 00 08 */ lfs f2, 8(r21)
/* 80197D20 00194C80 C0 15 00 00 */ lfs f0, 0(r21)
/* 80197D24 00194C84 38 61 00 18 */ addi r3, r1, 0x18
/* 80197D28 00194C88 7E DC 02 14 */ add r22, r28, r0
/* 80197D2C 00194C8C C0 B6 00 08 */ lfs f5, 8(r22)
/* 80197D30 00194C90 C0 76 00 0C */ lfs f3, 0xc(r22)
/* 80197D34 00194C94 C4 36 00 04 */ lfsu f1, 4(r22)
/* 80197D38 00194C98 EC 85 20 28 */ fsubs f4, f5, f4
/* 80197D3C 00194C9C EC 43 10 28 */ fsubs f2, f3, f2
/* 80197D40 00194CA0 EC 01 00 28 */ fsubs f0, f1, f0
/* 80197D44 00194CA4 D0 81 00 1C */ stfs f4, 0x1c(r1)
/* 80197D48 00194CA8 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80197D4C 00194CAC D0 41 00 20 */ stfs f2, 0x20(r1)
/* 80197D50 00194CB0 48 17 CB 69 */ bl Magnitude__9CVector3fCFv
/* 80197D54 00194CB4 FC 01 E8 40 */ fcmpo cr0, f1, f29
/* 80197D58 00194CB8 4C 40 13 82 */ cror 2, 0, 2
/* 80197D5C 00194CBC 41 82 01 2C */ beq lbl_80197E88
/* 80197D60 00194CC0 7F E4 FB 78 */ mr r4, r31
/* 80197D64 00194CC4 7E 85 A3 78 */ mr r5, r20
/* 80197D68 00194CC8 7E A6 AB 78 */ mr r6, r21
/* 80197D6C 00194CCC 7E C7 B3 78 */ mr r7, r22
/* 80197D70 00194CD0 7E 69 9B 78 */ mr r9, r19
/* 80197D74 00194CD4 38 61 00 A8 */ addi r3, r1, 0xa8
/* 80197D78 00194CD8 39 01 03 08 */ addi r8, r1, 0x308
/* 80197D7C 00194CDC 4B EA 09 45 */ bl "RayCollisionCheckWithWorld__15CGameProjectileFR9TUniqueIdRC9CVector3fRC9CVector3ffRQ24rstl32reserved_vector<9TUniqueId,1024>R13CStateManager"
/* 80197D80 00194CE0 88 81 00 C8 */ lbz r4, 0xc8(r1)
/* 80197D84 00194CE4 C0 21 00 A8 */ lfs f1, 0xa8(r1)
/* 80197D88 00194CE8 80 A1 00 AC */ lwz r5, 0xac(r1)
/* 80197D8C 00194CEC 28 04 00 00 */ cmplwi r4, 0
/* 80197D90 00194CF0 80 61 00 B0 */ lwz r3, 0xb0(r1)
/* 80197D94 00194CF4 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 80197D98 00194CF8 C0 A1 00 B8 */ lfs f5, 0xb8(r1)
/* 80197D9C 00194CFC C0 81 00 BC */ lfs f4, 0xbc(r1)
/* 80197DA0 00194D00 C0 61 00 C0 */ lfs f3, 0xc0(r1)
/* 80197DA4 00194D04 C0 41 00 C4 */ lfs f2, 0xc4(r1)
/* 80197DA8 00194D08 C8 01 00 D0 */ lfd f0, 0xd0(r1)
/* 80197DAC 00194D0C D0 21 02 68 */ stfs f1, 0x268(r1)
/* 80197DB0 00194D10 90 A1 02 6C */ stw r5, 0x26c(r1)
/* 80197DB4 00194D14 90 61 02 70 */ stw r3, 0x270(r1)
/* 80197DB8 00194D18 90 01 02 74 */ stw r0, 0x274(r1)
/* 80197DBC 00194D1C D0 A1 02 78 */ stfs f5, 0x278(r1)
/* 80197DC0 00194D20 D0 81 02 7C */ stfs f4, 0x27c(r1)
/* 80197DC4 00194D24 D0 61 02 80 */ stfs f3, 0x280(r1)
/* 80197DC8 00194D28 D0 41 02 84 */ stfs f2, 0x284(r1)
/* 80197DCC 00194D2C 98 81 02 88 */ stb r4, 0x288(r1)
/* 80197DD0 00194D30 D8 01 02 90 */ stfd f0, 0x290(r1)
/* 80197DD4 00194D34 41 82 00 9C */ beq lbl_80197E70
/* 80197DD8 00194D38 D0 3E 00 00 */ stfs f1, 0(r30)
/* 80197DDC 00194D3C 38 A0 00 00 */ li r5, 0
/* 80197DE0 00194D40 C0 01 02 6C */ lfs f0, 0x26c(r1)
/* 80197DE4 00194D44 C0 21 02 70 */ lfs f1, 0x270(r1)
/* 80197DE8 00194D48 D0 1E 00 04 */ stfs f0, 4(r30)
/* 80197DEC 00194D4C C0 01 02 74 */ lfs f0, 0x274(r1)
/* 80197DF0 00194D50 D0 3E 00 08 */ stfs f1, 8(r30)
/* 80197DF4 00194D54 80 61 02 94 */ lwz r3, 0x294(r1)
/* 80197DF8 00194D58 D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 80197DFC 00194D5C 80 01 02 90 */ lwz r0, 0x290(r1)
/* 80197E00 00194D60 D0 BE 00 10 */ stfs f5, 0x10(r30)
/* 80197E04 00194D64 D0 9E 00 14 */ stfs f4, 0x14(r30)
/* 80197E08 00194D68 D0 7E 00 18 */ stfs f3, 0x18(r30)
/* 80197E0C 00194D6C D0 5E 00 1C */ stfs f2, 0x1c(r30)
/* 80197E10 00194D70 98 9E 00 20 */ stb r4, 0x20(r30)
/* 80197E14 00194D74 90 7E 00 2C */ stw r3, 0x2c(r30)
/* 80197E18 00194D78 90 1E 00 28 */ stw r0, 0x28(r30)
/* 80197E1C 00194D7C 80 81 03 08 */ lwz r4, 0x308(r1)
/* 80197E20 00194D80 2C 04 00 00 */ cmpwi r4, 0
/* 80197E24 00194D84 40 81 00 40 */ ble lbl_80197E64
/* 80197E28 00194D88 2C 04 00 08 */ cmpwi r4, 8
/* 80197E2C 00194D8C 38 64 FF F8 */ addi r3, r4, -8
/* 80197E30 00194D90 40 81 00 20 */ ble lbl_80197E50
/* 80197E34 00194D94 38 03 00 07 */ addi r0, r3, 7
/* 80197E38 00194D98 54 00 E8 FE */ srwi r0, r0, 3
/* 80197E3C 00194D9C 7C 09 03 A6 */ mtctr r0
/* 80197E40 00194DA0 2C 03 00 00 */ cmpwi r3, 0
/* 80197E44 00194DA4 40 81 00 0C */ ble lbl_80197E50
lbl_80197E48:
/* 80197E48 00194DA8 38 A5 00 08 */ addi r5, r5, 8
/* 80197E4C 00194DAC 42 00 FF FC */ bdnz lbl_80197E48
lbl_80197E50:
/* 80197E50 00194DB0 7C 05 20 50 */ subf r0, r5, r4
/* 80197E54 00194DB4 7C 09 03 A6 */ mtctr r0
/* 80197E58 00194DB8 7C 05 20 00 */ cmpw r5, r4
/* 80197E5C 00194DBC 40 80 00 08 */ bge lbl_80197E64
lbl_80197E60:
/* 80197E60 00194DC0 42 00 00 00 */ bdnz lbl_80197E60
lbl_80197E64:
/* 80197E64 00194DC4 38 00 00 00 */ li r0, 0
/* 80197E68 00194DC8 90 01 03 08 */ stw r0, 0x308(r1)
/* 80197E6C 00194DCC 48 00 00 C8 */ b lbl_80197F34
lbl_80197E70:
/* 80197E70 00194DD0 3A B5 00 0C */ addi r21, r21, 0xc
/* 80197E74 00194DD4 3A F7 00 01 */ addi r23, r23, 1
lbl_80197E78:
/* 80197E78 00194DD8 80 7C 00 00 */ lwz r3, 0(r28)
/* 80197E7C 00194DDC 38 03 FF FF */ addi r0, r3, -1
/* 80197E80 00194DE0 7C 17 00 00 */ cmpw r23, r0
/* 80197E84 00194DE4 41 80 FE 8C */ blt lbl_80197D10
lbl_80197E88:
/* 80197E88 00194DE8 C0 21 02 68 */ lfs f1, 0x268(r1)
/* 80197E8C 00194DEC 38 80 00 00 */ li r4, 0
/* 80197E90 00194DF0 C0 01 02 6C */ lfs f0, 0x26c(r1)
/* 80197E94 00194DF4 D0 3E 00 00 */ stfs f1, 0(r30)
/* 80197E98 00194DF8 C0 21 02 70 */ lfs f1, 0x270(r1)
/* 80197E9C 00194DFC D0 1E 00 04 */ stfs f0, 4(r30)
/* 80197EA0 00194E00 C0 01 02 74 */ lfs f0, 0x274(r1)
/* 80197EA4 00194E04 D0 3E 00 08 */ stfs f1, 8(r30)
/* 80197EA8 00194E08 C0 21 02 78 */ lfs f1, 0x278(r1)
/* 80197EAC 00194E0C D0 1E 00 0C */ stfs f0, 0xc(r30)
/* 80197EB0 00194E10 C0 01 02 7C */ lfs f0, 0x27c(r1)
/* 80197EB4 00194E14 D0 3E 00 10 */ stfs f1, 0x10(r30)
/* 80197EB8 00194E18 C0 21 02 80 */ lfs f1, 0x280(r1)
/* 80197EBC 00194E1C D0 1E 00 14 */ stfs f0, 0x14(r30)
/* 80197EC0 00194E20 C0 01 02 84 */ lfs f0, 0x284(r1)
/* 80197EC4 00194E24 D0 3E 00 18 */ stfs f1, 0x18(r30)
/* 80197EC8 00194E28 88 01 02 88 */ lbz r0, 0x288(r1)
/* 80197ECC 00194E2C D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 80197ED0 00194E30 80 61 02 94 */ lwz r3, 0x294(r1)
/* 80197ED4 00194E34 98 1E 00 20 */ stb r0, 0x20(r30)
/* 80197ED8 00194E38 80 01 02 90 */ lwz r0, 0x290(r1)
/* 80197EDC 00194E3C 90 7E 00 2C */ stw r3, 0x2c(r30)
/* 80197EE0 00194E40 90 1E 00 28 */ stw r0, 0x28(r30)
/* 80197EE4 00194E44 80 A1 03 08 */ lwz r5, 0x308(r1)
/* 80197EE8 00194E48 2C 05 00 00 */ cmpwi r5, 0
/* 80197EEC 00194E4C 40 81 00 40 */ ble lbl_80197F2C
/* 80197EF0 00194E50 2C 05 00 08 */ cmpwi r5, 8
/* 80197EF4 00194E54 38 65 FF F8 */ addi r3, r5, -8
/* 80197EF8 00194E58 40 81 00 20 */ ble lbl_80197F18
/* 80197EFC 00194E5C 38 03 00 07 */ addi r0, r3, 7
/* 80197F00 00194E60 54 00 E8 FE */ srwi r0, r0, 3
/* 80197F04 00194E64 7C 09 03 A6 */ mtctr r0
/* 80197F08 00194E68 2C 03 00 00 */ cmpwi r3, 0
/* 80197F0C 00194E6C 40 81 00 0C */ ble lbl_80197F18
lbl_80197F10:
/* 80197F10 00194E70 38 84 00 08 */ addi r4, r4, 8
/* 80197F14 00194E74 42 00 FF FC */ bdnz lbl_80197F10
lbl_80197F18:
/* 80197F18 00194E78 7C 04 28 50 */ subf r0, r4, r5
/* 80197F1C 00194E7C 7C 09 03 A6 */ mtctr r0
/* 80197F20 00194E80 7C 04 28 00 */ cmpw r4, r5
/* 80197F24 00194E84 40 80 00 08 */ bge lbl_80197F2C
lbl_80197F28:
/* 80197F28 00194E88 42 00 00 00 */ bdnz lbl_80197F28
lbl_80197F2C:
/* 80197F2C 00194E8C 38 00 00 00 */ li r0, 0
/* 80197F30 00194E90 90 01 03 08 */ stw r0, 0x308(r1)
lbl_80197F34:
/* 80197F34 00194E94 E3 E1 0B A8 */ psq_l f31, -1112(r1), 0, qr0
/* 80197F38 00194E98 CB E1 0B A0 */ lfd f31, 0xba0(r1)
/* 80197F3C 00194E9C E3 C1 0B 98 */ psq_l f30, -1128(r1), 0, qr0
/* 80197F40 00194EA0 CB C1 0B 90 */ lfd f30, 0xb90(r1)
/* 80197F44 00194EA4 E3 A1 0B 88 */ psq_l f29, -1144(r1), 0, qr0
/* 80197F48 00194EA8 CB A1 0B 80 */ lfd f29, 0xb80(r1)
/* 80197F4C 00194EAC E3 81 0B 78 */ psq_l f28, -1160(r1), 0, qr0
/* 80197F50 00194EB0 CB 81 0B 70 */ lfd f28, 0xb70(r1)
/* 80197F54 00194EB4 E3 61 0B 68 */ psq_l f27, -1176(r1), 0, qr0
/* 80197F58 00194EB8 CB 61 0B 60 */ lfd f27, 0xb60(r1)
/* 80197F5C 00194EBC E3 41 0B 58 */ psq_l f26, -1192(r1), 0, qr0
/* 80197F60 00194EC0 CB 41 0B 50 */ lfd f26, 0xb50(r1)
/* 80197F64 00194EC4 BA 61 0B 1C */ lmw r19, 0xb1c(r1)
/* 80197F68 00194EC8 80 01 0B B4 */ lwz r0, 0xbb4(r1)
/* 80197F6C 00194ECC 7C 08 03 A6 */ mtlr r0
/* 80197F70 00194ED0 38 21 0B B0 */ addi r1, r1, 0xbb0
2022-07-14 05:48:03 +00:00
/* 80197F74 00194ED4 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global AcceptScriptMsg__13CFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__13CFlameThrowerF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80197F78 00194ED8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80197F7C 00194EDC 7C 08 02 A6 */ mflr r0
/* 80197F80 00194EE0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80197F84 00194EE4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80197F88 00194EE8 7C DF 33 78 */ mr r31, r6
/* 80197F8C 00194EEC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80197F90 00194EF0 7C BE 2B 78 */ mr r30, r5
/* 80197F94 00194EF4 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80197F98 00194EF8 7C 9D 23 78 */ mr r29, r4
/* 80197F9C 00194EFC 2C 1D 00 22 */ cmpwi r29, 0x22
/* 80197FA0 00194F00 93 81 00 20 */ stw r28, 0x20(r1)
/* 80197FA4 00194F04 7C 7C 1B 78 */ mr r28, r3
/* 80197FA8 00194F08 41 82 00 44 */ beq lbl_80197FEC
/* 80197FAC 00194F0C 40 80 00 68 */ bge lbl_80198014
/* 80197FB0 00194F10 2C 1D 00 21 */ cmpwi r29, 0x21
/* 80197FB4 00194F14 40 80 00 08 */ bge lbl_80197FBC
/* 80197FB8 00194F18 48 00 00 5C */ b lbl_80198014
lbl_80197FBC:
/* 80197FBC 00194F1C 88 1C 00 E6 */ lbz r0, 0xe6(r28)
/* 80197FC0 00194F20 38 60 00 02 */ li r3, 2
/* 80197FC4 00194F24 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c
/* 80197FC8 00194F28 38 81 00 18 */ addi r4, r1, 0x18
/* 80197FCC 00194F2C 98 1C 00 E6 */ stb r0, 0xe6(r28)
/* 80197FD0 00194F30 7F E3 FB 78 */ mr r3, r31
/* 80197FD4 00194F34 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 80197FD8 00194F38 80 BC 00 F0 */ lwz r5, 0xf0(r28)
/* 80197FDC 00194F3C B0 01 00 14 */ sth r0, 0x14(r1)
/* 80197FE0 00194F40 B0 01 00 18 */ sth r0, 0x18(r1)
/* 80197FE4 00194F44 4B EA CD 25 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType
/* 80197FE8 00194F48 48 00 00 2C */ b lbl_80198014
lbl_80197FEC:
/* 80197FEC 00194F4C A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 80197FF0 00194F50 7F E3 FB 78 */ mr r3, r31
/* 80197FF4 00194F54 80 BC 00 F0 */ lwz r5, 0xf0(r28)
/* 80197FF8 00194F58 38 81 00 10 */ addi r4, r1, 0x10
/* 80197FFC 00194F5C B0 01 00 0C */ sth r0, 0xc(r1)
/* 80198000 00194F60 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80198004 00194F64 4B EA CC D5 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType
/* 80198008 00194F68 7F 83 E3 78 */ mr r3, r28
/* 8019800C 00194F6C 7F E4 FB 78 */ mr r4, r31
/* 80198010 00194F70 4B E9 F8 99 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager
lbl_80198014:
/* 80198014 00194F74 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80198018 00194F78 7F 83 E3 78 */ mr r3, r28
/* 8019801C 00194F7C 7F A4 EB 78 */ mr r4, r29
/* 80198020 00194F80 7F E6 FB 78 */ mr r6, r31
/* 80198024 00194F84 B0 01 00 08 */ sth r0, 8(r1)
/* 80198028 00194F88 38 A1 00 08 */ addi r5, r1, 8
/* 8019802C 00194F8C 4B EA 05 A1 */ bl AcceptScriptMsg__15CGameProjectileF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80198030 00194F90 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80198034 00194F94 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80198038 00194F98 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8019803C 00194F9C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80198040 00194FA0 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80198044 00194FA4 7C 08 03 A6 */ mtlr r0
/* 80198048 00194FA8 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8019804C 00194FAC 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global CreateFlameParticles__13CFlameThrowerFR13CStateManager
CreateFlameParticles__13CFlameThrowerFR13CStateManager:
/* 80198050 00194FB0 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80198054 00194FB4 7C 08 02 A6 */ mflr r0
/* 80198058 00194FB8 90 01 00 84 */ stw r0, 0x84(r1)
/* 8019805C 00194FBC 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 80198060 00194FC0 7C 9F 23 78 */ mr r31, r4
/* 80198064 00194FC4 93 C1 00 78 */ stw r30, 0x78(r1)
/* 80198068 00194FC8 7C 7E 1B 78 */ mr r30, r3
/* 8019806C 00194FCC 93 A1 00 74 */ stw r29, 0x74(r1)
/* 80198070 00194FD0 93 81 00 70 */ stw r28, 0x70(r1)
/* 80198074 00194FD4 4B E9 F8 35 */ bl DeleteProjectileLight__15CGameProjectileFR13CStateManager
/* 80198078 00194FD8 3C 60 80 3D */ lis r3, lbl_803D1210@ha
/* 8019807C 00194FDC 3B 80 00 00 */ li r28, 0
/* 80198080 00194FE0 38 83 12 10 */ addi r4, r3, lbl_803D1210@l
/* 80198084 00194FE4 38 A0 00 00 */ li r5, 0
/* 80198088 00194FE8 38 60 03 40 */ li r3, 0x340
/* 8019808C 00194FEC 48 17 D7 E1 */ bl __nw__FUlPCcPCc
/* 80198090 00194FF0 7C 7D 1B 79 */ or. r29, r3, r3
/* 80198094 00194FF4 41 82 00 2C */ beq lbl_801980C0
/* 80198098 00194FF8 38 61 00 08 */ addi r3, r1, 8
/* 8019809C 00194FFC 38 9E 03 3C */ addi r4, r30, 0x33c
/* 801980A0 00195000 48 1A 8E 09 */ bl __ct__6CTokenFRC6CToken
/* 801980A4 00195004 7F A3 EB 78 */ mr r3, r29
/* 801980A8 00195008 38 81 00 08 */ addi r4, r1, 8
/* 801980AC 0019500C 3B 80 00 01 */ li r28, 1
/* 801980B0 00195010 38 A0 00 00 */ li r5, 0
/* 801980B4 00195014 38 C0 00 01 */ li r6, 1
/* 801980B8 00195018 48 18 73 29 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 801980BC 0019501C 7C 7D 1B 78 */ mr r29, r3
lbl_801980C0:
/* 801980C0 00195020 80 7E 03 48 */ lwz r3, 0x348(r30)
/* 801980C4 00195024 28 03 00 00 */ cmplwi r3, 0
/* 801980C8 00195028 41 82 00 18 */ beq lbl_801980E0
/* 801980CC 0019502C 81 83 00 00 */ lwz r12, 0(r3)
/* 801980D0 00195030 38 80 00 01 */ li r4, 1
/* 801980D4 00195034 81 8C 00 08 */ lwz r12, 8(r12)
/* 801980D8 00195038 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801980DC 0019503C 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
lbl_801980E0:
/* 801980E0 00195040 7F 80 07 75 */ extsb. r0, r28
/* 801980E4 00195044 93 BE 03 48 */ stw r29, 0x348(r30)
/* 801980E8 00195048 41 82 00 10 */ beq lbl_801980F8
/* 801980EC 0019504C 38 61 00 08 */ addi r3, r1, 8
/* 801980F0 00195050 38 80 00 00 */ li r4, 0
/* 801980F4 00195054 48 1A 8D 4D */ bl __dt__6CTokenFv
lbl_801980F8:
/* 801980F8 00195058 80 BE 03 48 */ lwz r5, 0x348(r30)
/* 801980FC 0019505C 28 05 00 00 */ cmplwi r5, 0
/* 80198100 00195060 41 82 00 A0 */ beq lbl_801981A0
/* 80198104 00195064 88 7E 04 00 */ lbz r3, 0x400(r30)
/* 80198108 00195068 38 9E 03 4C */ addi r4, r30, 0x34c
/* 8019810C 0019506C 88 05 02 6C */ lbz r0, 0x26c(r5)
/* 80198110 00195070 50 60 F7 38 */ rlwimi r0, r3, 0x1e, 0x1c, 0x1c
/* 80198114 00195074 98 05 02 6C */ stb r0, 0x26c(r5)
/* 80198118 00195078 80 7E 03 48 */ lwz r3, 0x348(r30)
/* 8019811C 0019507C 81 83 00 00 */ lwz r12, 0(r3)
/* 80198120 00195080 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 80198124 00195084 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198128 00195088 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 8019812C 0019508C 80 7E 03 48 */ lwz r3, 0x348(r30)
/* 80198130 00195090 81 83 00 00 */ lwz r12, 0(r3)
/* 80198134 00195094 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80198138 00195098 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8019813C 0019509C 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80198140 001950A0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80198144 001950A4 41 82 00 5C */ beq lbl_801981A0
/* 80198148 001950A8 A0 7E 02 C8 */ lhz r3, 0x2c8(r30)
2022-04-24 01:54:45 +00:00
/* 8019814C 001950AC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 80198150 001950B0 7C 03 00 40 */ cmplw r3, r0
/* 80198154 001950B4 40 82 00 4C */ bne lbl_801981A0
/* 80198158 001950B8 3C 80 80 3D */ lis r4, lbl_803D1210@ha
/* 8019815C 001950BC 38 61 00 10 */ addi r3, r1, 0x10
/* 80198160 001950C0 38 84 12 10 */ addi r4, r4, lbl_803D1210@l
/* 80198164 001950C4 38 84 00 07 */ addi r4, r4, 7
/* 80198168 001950C8 4B E6 CB 51 */ bl string_l__4rstlFPCc
/* 8019816C 001950CC 80 9E 03 48 */ lwz r4, 0x348(r30)
/* 80198170 001950D0 38 61 00 20 */ addi r3, r1, 0x20
/* 80198174 001950D4 81 84 00 00 */ lwz r12, 0(r4)
/* 80198178 001950D8 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8019817C 001950DC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198180 001950E0 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80198184 001950E4 7F C3 F3 78 */ mr r3, r30
/* 80198188 001950E8 7F E6 FB 78 */ mr r6, r31
/* 8019818C 001950EC 38 81 00 10 */ addi r4, r1, 0x10
/* 80198190 001950F0 38 A1 00 20 */ addi r5, r1, 0x20
/* 80198194 001950F4 4B E9 F7 69 */ bl "CreateProjectileLight__15CGameProjectileFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC6CLightR13CStateManager"
/* 80198198 001950F8 38 61 00 10 */ addi r3, r1, 0x10
/* 8019819C 001950FC 48 1A 59 45 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_801981A0:
/* 801981A0 00195100 80 01 00 84 */ lwz r0, 0x84(r1)
/* 801981A4 00195104 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 801981A8 00195108 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 801981AC 0019510C 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 801981B0 00195110 83 81 00 70 */ lwz r28, 0x70(r1)
/* 801981B4 00195114 7C 08 03 A6 */ mtlr r0
/* 801981B8 00195118 38 21 00 80 */ addi r1, r1, 0x80
2022-07-14 05:48:03 +00:00
/* 801981BC 0019511C 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Reset__13CFlameThrowerFR13CStateManagerb
Reset__13CFlameThrowerFR13CStateManagerb:
/* 801981C0 00195120 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801981C4 00195124 7C 08 02 A6 */ mflr r0
/* 801981C8 00195128 90 01 00 24 */ stw r0, 0x24(r1)
/* 801981CC 0019512C 7C 80 23 78 */ mr r0, r4
/* 801981D0 00195130 38 80 00 00 */ li r4, 0
/* 801981D4 00195134 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801981D8 00195138 7C BF 2B 78 */ mr r31, r5
/* 801981DC 0019513C 7C 05 03 78 */ mr r5, r0
/* 801981E0 00195140 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801981E4 00195144 7C 7E 1B 78 */ mr r30, r3
/* 801981E8 00195148 4B FF F4 29 */ bl SetFlameLightActive__13CFlameThrowerFbR13CStateManager
/* 801981EC 0019514C 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 801981F0 00195150 41 82 00 B4 */ beq lbl_801982A4
/* 801981F4 00195154 7F C3 F3 78 */ mr r3, r30
/* 801981F8 00195158 38 80 00 00 */ li r4, 0
/* 801981FC 0019515C 81 9E 00 00 */ lwz r12, 0(r30)
/* 80198200 00195160 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80198204 00195164 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198208 00195168 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 8019820C 0019516C 88 1E 04 00 */ lbz r0, 0x400(r30)
/* 80198210 00195170 38 C0 00 00 */ li r6, 0
/* 80198214 00195174 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19
2022-08-16 21:46:30 +00:00
/* 80198218 00195178 3C 60 80 5A */ lis r3, mskNullBox__6CAABox@ha
2022-04-14 08:02:42 +00:00
/* 8019821C 0019517C 98 1E 04 00 */ stb r0, 0x400(r30)
2022-08-16 21:46:30 +00:00
/* 80198220 00195180 38 A3 67 84 */ addi r5, r3, mskNullBox__6CAABox@l
2022-04-14 08:02:42 +00:00
/* 80198224 00195184 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2)
/* 80198228 00195188 38 80 00 00 */ li r4, 0
/* 8019822C 0019518C 90 DE 03 F0 */ stw r6, 0x3f0(r30)
/* 80198230 00195190 D0 1E 03 30 */ stfs f0, 0x330(r30)
/* 80198234 00195194 D0 1E 03 34 */ stfs f0, 0x334(r30)
/* 80198238 00195198 80 65 00 00 */ lwz r3, 0(r5)
/* 8019823C 0019519C 80 05 00 04 */ lwz r0, 4(r5)
/* 80198240 001951A0 90 7E 03 18 */ stw r3, 0x318(r30)
/* 80198244 001951A4 90 1E 03 1C */ stw r0, 0x31c(r30)
/* 80198248 001951A8 80 05 00 08 */ lwz r0, 8(r5)
/* 8019824C 001951AC 90 1E 03 20 */ stw r0, 0x320(r30)
/* 80198250 001951B0 80 65 00 0C */ lwz r3, 0xc(r5)
/* 80198254 001951B4 80 05 00 10 */ lwz r0, 0x10(r5)
/* 80198258 001951B8 90 7E 03 24 */ stw r3, 0x324(r30)
/* 8019825C 001951BC 90 1E 03 28 */ stw r0, 0x328(r30)
/* 80198260 001951C0 80 05 00 14 */ lwz r0, 0x14(r5)
/* 80198264 001951C4 90 1E 03 2C */ stw r0, 0x32c(r30)
/* 80198268 001951C8 80 7E 03 48 */ lwz r3, 0x348(r30)
/* 8019826C 001951CC 81 83 00 00 */ lwz r12, 0(r3)
/* 80198270 001951D0 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 80198274 001951D4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198278 001951D8 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 8019827C 001951DC C0 5E 03 14 */ lfs f2, 0x314(r30)
/* 80198280 001951E0 38 7E 03 4C */ addi r3, r30, 0x34c
/* 80198284 001951E4 C0 3E 03 04 */ lfs f1, 0x304(r30)
/* 80198288 001951E8 38 81 00 08 */ addi r4, r1, 8
/* 8019828C 001951EC C0 1E 02 F4 */ lfs f0, 0x2f4(r30)
/* 80198290 001951F0 D0 01 00 08 */ stfs f0, 8(r1)
/* 80198294 001951F4 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80198298 001951F8 D0 41 00 10 */ stfs f2, 0x10(r1)
2022-11-27 01:43:52 +00:00
/* 8019829C 001951FC 48 01 CC D9 */ bl ResetPosition__10CFlameWarpFRC9CVector3f
2022-04-14 08:02:42 +00:00
/* 801982A0 00195200 48 00 00 34 */ b lbl_801982D4
lbl_801982A4:
/* 801982A4 00195204 80 7E 03 48 */ lwz r3, 0x348(r30)
/* 801982A8 00195208 38 80 00 00 */ li r4, 0
/* 801982AC 0019520C 81 83 00 00 */ lwz r12, 0(r3)
/* 801982B0 00195210 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 801982B4 00195214 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801982B8 00195218 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801982BC 0019521C 88 7E 04 00 */ lbz r3, 0x400(r30)
/* 801982C0 00195220 38 00 00 00 */ li r0, 0
/* 801982C4 00195224 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19
/* 801982C8 00195228 38 00 00 03 */ li r0, 3
/* 801982CC 0019522C 98 7E 04 00 */ stb r3, 0x400(r30)
/* 801982D0 00195230 90 1E 03 F0 */ stw r0, 0x3f0(r30)
lbl_801982D4:
/* 801982D4 00195234 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801982D8 00195238 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801982DC 0019523C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801982E0 00195240 7C 08 03 A6 */ mtlr r0
/* 801982E4 00195244 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 801982E8 00195248 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb
Fire__13CFlameThrowerFRC12CTransform4fR13CStateManagerb:
/* 801982EC 0019524C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801982F0 00195250 7C 08 02 A6 */ mflr r0
/* 801982F4 00195254 38 80 00 01 */ li r4, 1
/* 801982F8 00195258 90 01 00 14 */ stw r0, 0x14(r1)
/* 801982FC 0019525C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80198300 00195260 7C BF 2B 78 */ mr r31, r5
/* 80198304 00195264 93 C1 00 08 */ stw r30, 8(r1)
/* 80198308 00195268 7C 7E 1B 78 */ mr r30, r3
/* 8019830C 0019526C 81 83 00 00 */ lwz r12, 0(r3)
/* 80198310 00195270 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80198314 00195274 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198318 00195278 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 8019831C 0019527C 88 1E 04 00 */ lbz r0, 0x400(r30)
/* 80198320 00195280 38 A0 00 01 */ li r5, 1
/* 80198324 00195284 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 80198328 00195288 7F C3 F3 78 */ mr r3, r30
/* 8019832C 0019528C 98 1E 04 00 */ stb r0, 0x400(r30)
/* 80198330 00195290 7F E4 FB 78 */ mr r4, r31
/* 80198334 00195294 88 1E 04 00 */ lbz r0, 0x400(r30)
/* 80198338 00195298 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 8019833C 0019529C 98 1E 04 00 */ stb r0, 0x400(r30)
/* 80198340 001952A0 90 BE 03 F0 */ stw r5, 0x3f0(r30)
/* 80198344 001952A4 4B FF FD 0D */ bl CreateFlameParticles__13CFlameThrowerFR13CStateManager
/* 80198348 001952A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8019834C 001952AC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80198350 001952B0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80198354 001952B4 7C 08 03 A6 */ mtlr r0
/* 80198358 001952B8 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8019835C 001952BC 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Render__13CFlameThrowerCFRC13CStateManager
Render__13CFlameThrowerCFRC13CStateManager:
/* 80198360 001952C0 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80198364 001952C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
2022-07-14 05:48:03 +00:00
/* 80198368 001952C8 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global AddToRenderer__13CFlameThrowerCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__13CFlameThrowerCFRC14CFrustumPlanesRC13CStateManager:
/* 8019836C 001952CC 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80198370 001952D0 7C 08 02 A6 */ mflr r0
/* 80198374 001952D4 90 01 00 44 */ stw r0, 0x44(r1)
/* 80198378 001952D8 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8019837C 001952DC 7C BF 2B 78 */ mr r31, r5
/* 80198380 001952E0 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80198384 001952E4 7C 7E 1B 78 */ mr r30, r3
/* 80198388 001952E8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8019838C 001952EC 80 9E 03 48 */ lwz r4, 0x348(r30)
/* 80198390 001952F0 81 83 00 00 */ lwz r12, 0(r3)
/* 80198394 001952F4 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 80198398 001952F8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8019839C 001952FC 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801983A0 00195300 C0 5E 03 14 */ lfs f2, 0x314(r30)
/* 801983A4 00195304 7F C4 F3 78 */ mr r4, r30
/* 801983A8 00195308 C0 3E 03 04 */ lfs f1, 0x304(r30)
/* 801983AC 0019530C 7F E5 FB 78 */ mr r5, r31
/* 801983B0 00195310 C0 1E 02 F4 */ lfs f0, 0x2f4(r30)
/* 801983B4 00195314 38 61 00 14 */ addi r3, r1, 0x14
/* 801983B8 00195318 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 801983BC 0019531C D0 01 00 08 */ stfs f0, 8(r1)
/* 801983C0 00195320 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 801983C4 00195324 81 9E 00 00 */ lwz r12, 0(r30)
/* 801983C8 00195328 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 801983CC 0019532C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801983D0 00195330 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801983D4 00195334 7F C3 F3 78 */ mr r3, r30
/* 801983D8 00195338 7F E4 FB 78 */ mr r4, r31
/* 801983DC 0019533C 38 A1 00 08 */ addi r5, r1, 8
/* 801983E0 00195340 38 C1 00 14 */ addi r6, r1, 0x14
2022-08-16 02:14:28 +00:00
/* 801983E4 00195344 4B EB C6 C5 */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3fRC6CAABox
2022-04-14 08:02:42 +00:00
/* 801983E8 00195348 80 01 00 44 */ lwz r0, 0x44(r1)
/* 801983EC 0019534C 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 801983F0 00195350 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 801983F4 00195354 7C 08 03 A6 */ mtlr r0
/* 801983F8 00195358 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 801983FC 0019535C 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global SetTransform__13CFlameThrowerFRC12CTransform4f
SetTransform__13CFlameThrowerFRC12CTransform4f:
/* 80198400 00195360 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80198404 00195364 7C 08 02 A6 */ mflr r0
/* 80198408 00195368 38 63 02 E8 */ addi r3, r3, 0x2e8
/* 8019840C 0019536C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80198410 00195370 48 17 A7 31 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80198414 00195374 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80198418 00195378 7C 08 03 A6 */ mtlr r0
/* 8019841C 0019537C 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80198420 00195380 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global UpdateFlameState__13CFlameThrowerFfR13CStateManager
UpdateFlameState__13CFlameThrowerFfR13CStateManager:
/* 80198424 00195384 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80198428 00195388 7C 08 02 A6 */ mflr r0
/* 8019842C 0019538C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80198430 00195390 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80198434 00195394 7C 9F 23 78 */ mr r31, r4
/* 80198438 00195398 93 C1 00 08 */ stw r30, 8(r1)
/* 8019843C 0019539C 7C 7E 1B 78 */ mr r30, r3
/* 80198440 001953A0 80 03 03 F0 */ lwz r0, 0x3f0(r3)
/* 80198444 001953A4 2C 00 00 03 */ cmpwi r0, 3
/* 80198448 001953A8 41 82 00 2C */ beq lbl_80198474
/* 8019844C 001953AC 40 80 00 10 */ bge lbl_8019845C
/* 80198450 001953B0 2C 00 00 01 */ cmpwi r0, 1
/* 80198454 001953B4 41 82 00 14 */ beq lbl_80198468
/* 80198458 001953B8 48 00 00 A8 */ b lbl_80198500
lbl_8019845C:
/* 8019845C 001953BC 2C 00 00 05 */ cmpwi r0, 5
/* 80198460 001953C0 40 80 00 A0 */ bge lbl_80198500
/* 80198464 001953C4 48 00 00 50 */ b lbl_801984B4
lbl_80198468:
/* 80198468 001953C8 38 00 00 02 */ li r0, 2
/* 8019846C 001953CC 90 1E 03 F0 */ stw r0, 0x3f0(r30)
/* 80198470 001953D0 48 00 00 90 */ b lbl_80198500
lbl_80198474:
/* 80198474 001953D4 C0 62 A6 B8 */ lfs f3, lbl_805AC3D8@sda21(r2)
/* 80198478 001953D8 C0 5E 03 34 */ lfs f2, 0x334(r30)
/* 8019847C 001953DC C0 02 A6 A0 */ lfs f0, lbl_805AC3C0@sda21(r2)
/* 80198480 001953E0 EC 23 10 7A */ fmadds f1, f3, f1, f2
/* 80198484 001953E4 D0 3E 03 34 */ stfs f1, 0x334(r30)
/* 80198488 001953E8 C0 3E 03 34 */ lfs f1, 0x334(r30)
/* 8019848C 001953EC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80198490 001953F0 40 81 00 70 */ ble lbl_80198500
/* 80198494 001953F4 D0 1E 03 34 */ stfs f0, 0x334(r30)
/* 80198498 001953F8 38 00 00 04 */ li r0, 4
/* 8019849C 001953FC 38 60 00 00 */ li r3, 0
/* 801984A0 00195400 90 1E 03 F0 */ stw r0, 0x3f0(r30)
/* 801984A4 00195404 88 1E 04 00 */ lbz r0, 0x400(r30)
/* 801984A8 00195408 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 801984AC 0019540C 98 1E 04 00 */ stb r0, 0x400(r30)
/* 801984B0 00195410 48 00 00 50 */ b lbl_80198500
lbl_801984B4:
/* 801984B4 00195414 C0 5E 03 30 */ lfs f2, 0x330(r30)
/* 801984B8 00195418 C0 02 A6 BC */ lfs f0, lbl_805AC3DC@sda21(r2)
/* 801984BC 0019541C EC 22 08 2A */ fadds f1, f2, f1
/* 801984C0 00195420 D0 3E 03 30 */ stfs f1, 0x330(r30)
/* 801984C4 00195424 C0 3E 03 30 */ lfs f1, 0x330(r30)
/* 801984C8 00195428 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801984CC 0019542C 40 81 00 34 */ ble lbl_80198500
/* 801984D0 00195430 80 7E 03 48 */ lwz r3, 0x348(r30)
/* 801984D4 00195434 28 03 00 00 */ cmplwi r3, 0
/* 801984D8 00195438 41 82 00 28 */ beq lbl_80198500
/* 801984DC 0019543C 48 17 FA 11 */ bl GetParticleCountAll__11CElementGenCFv
/* 801984E0 00195440 2C 03 00 00 */ cmpwi r3, 0
/* 801984E4 00195444 40 82 00 1C */ bne lbl_80198500
/* 801984E8 00195448 38 00 00 00 */ li r0, 0
/* 801984EC 0019544C 7F C3 F3 78 */ mr r3, r30
/* 801984F0 00195450 90 1E 03 F0 */ stw r0, 0x3f0(r30)
/* 801984F4 00195454 7F E4 FB 78 */ mr r4, r31
/* 801984F8 00195458 38 A0 00 01 */ li r5, 1
/* 801984FC 0019545C 4B FF FC C5 */ bl Reset__13CFlameThrowerFR13CStateManagerb
lbl_80198500:
/* 80198500 00195460 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80198504 00195464 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80198508 00195468 C0 22 A6 A4 */ lfs f1, lbl_805AC3C4@sda21(r2)
/* 8019850C 0019546C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80198510 00195470 7C 08 03 A6 */ mtlr r0
/* 80198514 00195474 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80198518 00195478 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Think__13CFlameThrowerFfR13CStateManager
Think__13CFlameThrowerFfR13CStateManager:
/* 8019851C 0019547C 94 21 FE 10 */ stwu r1, -0x1f0(r1)
/* 80198520 00195480 7C 08 02 A6 */ mflr r0
/* 80198524 00195484 90 01 01 F4 */ stw r0, 0x1f4(r1)
/* 80198528 00195488 DB E1 01 E0 */ stfd f31, 0x1e0(r1)
/* 8019852C 0019548C F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0
/* 80198530 00195490 BF 61 01 CC */ stmw r27, 0x1cc(r1)
/* 80198534 00195494 FF E0 08 90 */ fmr f31, f1
/* 80198538 00195498 7C 7D 1B 78 */ mr r29, r3
/* 8019853C 0019549C 7C 9E 23 78 */ mr r30, r4
/* 80198540 001954A0 4B F6 9B 99 */ bl Think__7CWeaponFfR13CStateManager
/* 80198544 001954A4 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 80198548 001954A8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8019854C 001954AC 41 82 04 9C */ beq lbl_801989E8
/* 80198550 001954B0 FC 20 F8 90 */ fmr f1, f31
/* 80198554 001954B4 7F A3 EB 78 */ mr r3, r29
/* 80198558 001954B8 7F C4 F3 78 */ mr r4, r30
/* 8019855C 001954BC 3B FD 02 E8 */ addi r31, r29, 0x2e8
/* 80198560 001954C0 4B FF FE C5 */ bl UpdateFlameState__13CFlameThrowerFfR13CStateManager
/* 80198564 001954C4 C0 5F 00 2C */ lfs f2, 0x2c(r31)
/* 80198568 001954C8 3B 80 00 01 */ li r28, 1
/* 8019856C 001954CC C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 80198570 001954D0 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 80198574 001954D4 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80198578 001954D8 D0 21 00 5C */ stfs f1, 0x5c(r1)
/* 8019857C 001954DC D0 41 00 60 */ stfs f2, 0x60(r1)
/* 80198580 001954E0 80 1D 03 F0 */ lwz r0, 0x3f0(r29)
/* 80198584 001954E4 2C 00 00 02 */ cmpwi r0, 2
/* 80198588 001954E8 41 82 00 10 */ beq lbl_80198598
/* 8019858C 001954EC 2C 00 00 03 */ cmpwi r0, 3
/* 80198590 001954F0 41 82 00 08 */ beq lbl_80198598
/* 80198594 001954F4 3B 80 00 00 */ li r28, 0
lbl_80198598:
/* 80198598 001954F8 2C 00 00 04 */ cmpwi r0, 4
/* 8019859C 001954FC 40 80 00 88 */ bge lbl_80198624
/* 801985A0 00195500 2C 00 00 02 */ cmpwi r0, 2
/* 801985A4 00195504 40 80 00 08 */ bge lbl_801985AC
/* 801985A8 00195508 48 00 00 7C */ b lbl_80198624
lbl_801985AC:
/* 801985AC 0019550C 38 7D 03 4C */ addi r3, r29, 0x34c
/* 801985B0 00195510 38 80 00 01 */ li r4, 1
/* 801985B4 00195514 81 9D 03 4C */ lwz r12, 0x34c(r29)
/* 801985B8 00195518 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 801985BC 0019551C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801985C0 00195520 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801985C4 00195524 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 801985C8 00195528 38 81 00 58 */ addi r4, r1, 0x58
/* 801985CC 0019552C D0 1D 03 C0 */ stfs f0, 0x3c0(r29)
/* 801985D0 00195530 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 801985D4 00195534 D0 1D 03 C4 */ stfs f0, 0x3c4(r29)
/* 801985D8 00195538 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 801985DC 0019553C D0 1D 03 C8 */ stfs f0, 0x3c8(r29)
/* 801985E0 00195540 93 DD 03 E8 */ stw r30, 0x3e8(r29)
/* 801985E4 00195544 80 7D 03 48 */ lwz r3, 0x348(r29)
/* 801985E8 00195548 81 83 00 00 */ lwz r12, 0(r3)
/* 801985EC 0019554C 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 801985F0 00195550 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801985F4 00195554 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801985F8 00195558 83 7D 03 48 */ lwz r27, 0x348(r29)
/* 801985FC 0019555C 7F E4 FB 78 */ mr r4, r31
/* 80198600 00195560 38 61 01 18 */ addi r3, r1, 0x118
/* 80198604 00195564 48 17 A6 3D */ bl GetRotation__12CTransform4fCFv
/* 80198608 00195568 7F 63 DB 78 */ mr r3, r27
/* 8019860C 0019556C 38 81 01 18 */ addi r4, r1, 0x118
/* 80198610 00195570 81 9B 00 00 */ lwz r12, 0(r27)
/* 80198614 00195574 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80198618 00195578 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8019861C 0019557C 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80198620 00195580 48 00 00 1C */ b lbl_8019863C
lbl_80198624:
/* 80198624 00195584 38 7D 03 4C */ addi r3, r29, 0x34c
/* 80198628 00195588 38 80 00 00 */ li r4, 0
/* 8019862C 0019558C 81 9D 03 4C */ lwz r12, 0x34c(r29)
/* 80198630 00195590 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80198634 00195594 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198638 00195598 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
lbl_8019863C:
/* 8019863C 0019559C 80 7D 03 48 */ lwz r3, 0x348(r29)
/* 80198640 001955A0 FC 20 F8 90 */ fmr f1, f31
/* 80198644 001955A4 81 83 00 00 */ lwz r12, 0(r3)
/* 80198648 001955A8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8019864C 001955AC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198650 001955B0 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80198654 001955B4 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2)
/* 80198658 001955B8 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 8019865C 001955BC D0 1D 03 D8 */ stfs f0, 0x3d8(r29)
/* 80198660 001955C0 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 80198664 001955C4 D0 1D 03 CC */ stfs f0, 0x3cc(r29)
/* 80198668 001955C8 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 8019866C 001955CC D0 1D 03 D0 */ stfs f0, 0x3d0(r29)
/* 80198670 001955D0 C0 01 00 60 */ lfs f0, 0x60(r1)
/* 80198674 001955D4 D0 1D 03 D4 */ stfs f0, 0x3d4(r29)
/* 80198678 001955D8 41 82 02 48 */ beq lbl_801988C0
/* 8019867C 001955DC 88 1D 03 EC */ lbz r0, 0x3ec(r29)
/* 80198680 001955E0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 80198684 001955E4 41 82 02 3C */ beq lbl_801988C0
/* 80198688 001955E8 38 9D 03 50 */ addi r4, r29, 0x350
/* 8019868C 001955EC C0 5D 03 54 */ lfs f2, 0x354(r29)
/* 80198690 001955F0 38 A4 00 10 */ addi r5, r4, 0x10
/* 80198694 001955F4 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 80198698 001955F8 C0 3D 03 58 */ lfs f1, 0x358(r29)
/* 8019869C 001955FC D0 21 00 50 */ stfs f1, 0x50(r1)
/* 801986A0 00195600 C0 1D 03 5C */ lfs f0, 0x35c(r29)
/* 801986A4 00195604 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 801986A8 00195608 D0 41 00 40 */ stfs f2, 0x40(r1)
/* 801986AC 0019560C D0 21 00 44 */ stfs f1, 0x44(r1)
/* 801986B0 00195610 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 801986B4 00195614 48 00 00 80 */ b lbl_80198734
lbl_801986B8:
/* 801986B8 00195618 C0 25 00 00 */ lfs f1, 0(r5)
/* 801986BC 0019561C C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 801986C0 00195620 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801986C4 00195624 40 80 00 08 */ bge lbl_801986CC
/* 801986C8 00195628 D0 21 00 4C */ stfs f1, 0x4c(r1)
lbl_801986CC:
/* 801986CC 0019562C C0 25 00 04 */ lfs f1, 4(r5)
/* 801986D0 00195630 C0 01 00 50 */ lfs f0, 0x50(r1)
/* 801986D4 00195634 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801986D8 00195638 40 80 00 08 */ bge lbl_801986E0
/* 801986DC 0019563C D0 21 00 50 */ stfs f1, 0x50(r1)
lbl_801986E0:
/* 801986E0 00195640 C0 25 00 08 */ lfs f1, 8(r5)
/* 801986E4 00195644 C0 01 00 54 */ lfs f0, 0x54(r1)
/* 801986E8 00195648 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801986EC 0019564C 40 80 00 08 */ bge lbl_801986F4
/* 801986F0 00195650 D0 21 00 54 */ stfs f1, 0x54(r1)
lbl_801986F4:
/* 801986F4 00195654 C0 25 00 00 */ lfs f1, 0(r5)
/* 801986F8 00195658 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 801986FC 0019565C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80198700 00195660 40 81 00 08 */ ble lbl_80198708
/* 80198704 00195664 D0 21 00 40 */ stfs f1, 0x40(r1)
lbl_80198708:
/* 80198708 00195668 C0 25 00 04 */ lfs f1, 4(r5)
/* 8019870C 0019566C C0 01 00 44 */ lfs f0, 0x44(r1)
/* 80198710 00195670 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80198714 00195674 40 81 00 08 */ ble lbl_8019871C
/* 80198718 00195678 D0 21 00 44 */ stfs f1, 0x44(r1)
lbl_8019871C:
/* 8019871C 0019567C C0 25 00 08 */ lfs f1, 8(r5)
/* 80198720 00195680 C0 01 00 48 */ lfs f0, 0x48(r1)
/* 80198724 00195684 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80198728 00195688 40 81 00 08 */ ble lbl_80198730
/* 8019872C 0019568C D0 21 00 48 */ stfs f1, 0x48(r1)
lbl_80198730:
/* 80198730 00195690 38 A5 00 0C */ addi r5, r5, 0xc
lbl_80198734:
/* 80198734 00195694 80 04 00 00 */ lwz r0, 0(r4)
/* 80198738 00195698 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8019873C 0019569C 7C 64 02 14 */ add r3, r4, r0
/* 80198740 001956A0 38 03 00 04 */ addi r0, r3, 4
/* 80198744 001956A4 7C 05 00 40 */ cmplw r5, r0
/* 80198748 001956A8 40 82 FF 70 */ bne lbl_801986B8
2022-04-24 01:54:45 +00:00
/* 8019874C 001956AC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 80198750 001956B0 38 61 00 9C */ addi r3, r1, 0x9c
/* 80198754 001956B4 38 81 00 4C */ addi r4, r1, 0x4c
/* 80198758 001956B8 38 A1 00 40 */ addi r5, r1, 0x40
/* 8019875C 001956BC B0 01 00 20 */ sth r0, 0x20(r1)
/* 80198760 001956C0 48 19 FD A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80198764 001956C4 80 C1 00 9C */ lwz r6, 0x9c(r1)
/* 80198768 001956C8 7F A4 EB 78 */ mr r4, r29
/* 8019876C 001956CC 80 01 00 A0 */ lwz r0, 0xa0(r1)
/* 80198770 001956D0 7F C7 F3 78 */ mr r7, r30
/* 80198774 001956D4 38 61 00 E8 */ addi r3, r1, 0xe8
/* 80198778 001956D8 38 A1 00 20 */ addi r5, r1, 0x20
/* 8019877C 001956DC 90 DD 03 18 */ stw r6, 0x318(r29)
/* 80198780 001956E0 38 DD 03 18 */ addi r6, r29, 0x318
/* 80198784 001956E4 90 1D 03 1C */ stw r0, 0x31c(r29)
/* 80198788 001956E8 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8019878C 001956EC 90 1D 03 20 */ stw r0, 0x320(r29)
/* 80198790 001956F0 81 01 00 A8 */ lwz r8, 0xa8(r1)
/* 80198794 001956F4 80 01 00 AC */ lwz r0, 0xac(r1)
/* 80198798 001956F8 91 1D 03 24 */ stw r8, 0x324(r29)
/* 8019879C 001956FC 90 1D 03 28 */ stw r0, 0x328(r29)
/* 801987A0 00195700 80 01 00 B0 */ lwz r0, 0xb0(r1)
/* 801987A4 00195704 90 1D 03 2C */ stw r0, 0x32c(r29)
/* 801987A8 00195708 4B FF EE E1 */ bl DoCollisionCheck__13CFlameThrowerFR9TUniqueIdRC6CAABoxR13CStateManager
/* 801987AC 0019570C C0 E1 00 E8 */ lfs f7, 0xe8(r1)
/* 801987B0 00195710 7F C3 F3 78 */ mr r3, r30
/* 801987B4 00195714 C0 C1 00 EC */ lfs f6, 0xec(r1)
/* 801987B8 00195718 3B 61 01 4C */ addi r27, r1, 0x14c
/* 801987BC 0019571C C0 A1 00 F0 */ lfs f5, 0xf0(r1)
/* 801987C0 00195720 38 81 00 1C */ addi r4, r1, 0x1c
/* 801987C4 00195724 C0 81 00 F4 */ lfs f4, 0xf4(r1)
/* 801987C8 00195728 C0 61 00 F8 */ lfs f3, 0xf8(r1)
/* 801987CC 0019572C C0 41 00 FC */ lfs f2, 0xfc(r1)
/* 801987D0 00195730 C0 21 01 00 */ lfs f1, 0x100(r1)
/* 801987D4 00195734 C0 01 01 04 */ lfs f0, 0x104(r1)
/* 801987D8 00195738 88 E1 01 08 */ lbz r7, 0x108(r1)
/* 801987DC 0019573C 80 A1 01 10 */ lwz r5, 0x110(r1)
/* 801987E0 00195740 80 C1 01 14 */ lwz r6, 0x114(r1)
/* 801987E4 00195744 A0 01 00 20 */ lhz r0, 0x20(r1)
/* 801987E8 00195748 D0 E1 01 48 */ stfs f7, 0x148(r1)
/* 801987EC 0019574C D0 C1 01 4C */ stfs f6, 0x14c(r1)
/* 801987F0 00195750 D0 A1 01 50 */ stfs f5, 0x150(r1)
/* 801987F4 00195754 D0 81 01 54 */ stfs f4, 0x154(r1)
/* 801987F8 00195758 D0 61 01 58 */ stfs f3, 0x158(r1)
/* 801987FC 0019575C D0 41 01 5C */ stfs f2, 0x15c(r1)
/* 80198800 00195760 D0 21 01 60 */ stfs f1, 0x160(r1)
/* 80198804 00195764 D0 01 01 64 */ stfs f0, 0x164(r1)
/* 80198808 00195768 98 E1 01 68 */ stb r7, 0x168(r1)
/* 8019880C 0019576C 90 C1 01 74 */ stw r6, 0x174(r1)
/* 80198810 00195770 90 A1 01 70 */ stw r5, 0x170(r1)
/* 80198814 00195774 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 80198818 00195778 4B EB 3D 5D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8019881C 0019577C 7C 64 1B 78 */ mr r4, r3
/* 80198820 00195780 38 61 00 2C */ addi r3, r1, 0x2c
/* 80198824 00195784 4B F1 74 6D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 80198828 00195788 80 03 00 04 */ lwz r0, 4(r3)
/* 8019882C 0019578C 28 00 00 00 */ cmplwi r0, 0
/* 80198830 00195790 41 82 00 24 */ beq lbl_80198854
/* 80198834 00195794 A0 01 00 20 */ lhz r0, 0x20(r1)
/* 80198838 00195798 FC 20 F8 90 */ fmr f1, f31
/* 8019883C 0019579C 7F A3 EB 78 */ mr r3, r29
/* 80198840 001957A0 7F C4 F3 78 */ mr r4, r30
/* 80198844 001957A4 B0 01 00 18 */ sth r0, 0x18(r1)
/* 80198848 001957A8 38 A1 00 18 */ addi r5, r1, 0x18
/* 8019884C 001957AC 4B FF ED 25 */ bl sub_80197570
/* 80198850 001957B0 48 00 00 70 */ b lbl_801988C0
lbl_80198854:
/* 80198854 001957B4 88 01 01 68 */ lbz r0, 0x168(r1)
/* 80198858 001957B8 28 00 00 00 */ cmplwi r0, 0
/* 8019885C 001957BC 41 82 00 64 */ beq lbl_801988C0
/* 80198860 001957C0 80 1D 00 F8 */ lwz r0, 0xf8(r29)
/* 80198864 001957C4 FC 20 F8 90 */ fmr f1, f31
/* 80198868 001957C8 80 BD 00 FC */ lwz r5, 0xfc(r29)
/* 8019886C 001957CC 38 61 00 80 */ addi r3, r1, 0x80
/* 80198870 001957D0 38 9D 01 2C */ addi r4, r29, 0x12c
/* 80198874 001957D4 90 A1 00 6C */ stw r5, 0x6c(r1)
/* 80198878 001957D8 90 01 00 68 */ stw r0, 0x68(r1)
/* 8019887C 001957DC 80 1D 01 00 */ lwz r0, 0x100(r29)
/* 80198880 001957E0 80 BD 01 04 */ lwz r5, 0x104(r29)
/* 80198884 001957E4 90 A1 00 74 */ stw r5, 0x74(r1)
/* 80198888 001957E8 90 01 00 70 */ stw r0, 0x70(r1)
/* 8019888C 001957EC 80 1D 01 08 */ lwz r0, 0x108(r29)
/* 80198890 001957F0 90 01 00 78 */ stw r0, 0x78(r1)
/* 80198894 001957F4 4B F2 AB B5 */ bl __ct__11CDamageInfoFRC11CDamageInfof
/* 80198898 001957F8 A0 1D 00 EC */ lhz r0, 0xec(r29)
/* 8019889C 001957FC 7F C3 F3 78 */ mr r3, r30
/* 801988A0 00195800 7F A5 EB 78 */ mr r5, r29
/* 801988A4 00195804 7F 66 DB 78 */ mr r6, r27
/* 801988A8 00195808 B0 01 00 10 */ sth r0, 0x10(r1)
/* 801988AC 0019580C 38 81 00 14 */ addi r4, r1, 0x14
/* 801988B0 00195810 38 E1 00 80 */ addi r7, r1, 0x80
/* 801988B4 00195814 39 01 00 68 */ addi r8, r1, 0x68
/* 801988B8 00195818 B0 01 00 14 */ sth r0, 0x14(r1)
/* 801988BC 0019581C 4B EB 03 F1 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter
lbl_801988C0:
/* 801988C0 00195820 7F E4 FB 78 */ mr r4, r31
/* 801988C4 00195824 38 61 00 B4 */ addi r3, r1, 0xb4
/* 801988C8 00195828 48 17 A3 79 */ bl GetRotation__12CTransform4fCFv
/* 801988CC 0019582C 38 7D 00 34 */ addi r3, r29, 0x34
/* 801988D0 00195830 38 81 00 B4 */ addi r4, r1, 0xb4
/* 801988D4 00195834 48 17 A2 6D */ bl __as__12CTransform4fFRC12CTransform4f
/* 801988D8 00195838 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 801988DC 0019583C 38 A0 00 01 */ li r5, 1
/* 801988E0 00195840 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 801988E4 00195844 7F A3 EB 78 */ mr r3, r29
/* 801988E8 00195848 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 801988EC 0019584C 38 81 00 34 */ addi r4, r1, 0x34
/* 801988F0 00195850 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 801988F4 00195854 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 801988F8 00195858 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 801988FC 0019585C 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 80198900 00195860 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 80198904 00195864 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 80198908 00195868 C0 5F 00 2C */ lfs f2, 0x2c(r31)
/* 8019890C 0019586C C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 80198910 00195870 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 80198914 00195874 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80198918 00195878 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 8019891C 0019587C D0 41 00 3C */ stfs f2, 0x3c(r1)
/* 80198920 00195880 4B EB A5 6D */ bl SetTranslation__6CActorFRC9CVector3f
/* 80198924 00195884 A0 BD 02 C8 */ lhz r5, 0x2c8(r29)
2022-04-24 01:54:45 +00:00
/* 80198928 00195888 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 8019892C 0019588C 7C 05 00 40 */ cmplw r5, r0
/* 80198930 00195890 41 82 00 B8 */ beq lbl_801989E8
/* 80198934 00195894 B0 A1 00 08 */ sth r5, 8(r1)
/* 80198938 00195898 7F C3 F3 78 */ mr r3, r30
/* 8019893C 0019589C 38 81 00 0C */ addi r4, r1, 0xc
/* 80198940 001958A0 B0 A1 00 0C */ sth r5, 0xc(r1)
/* 80198944 001958A4 4B EB 3C 31 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80198948 001958A8 7C 64 1B 78 */ mr r4, r3
/* 8019894C 001958AC 38 61 00 24 */ addi r3, r1, 0x24
/* 80198950 001958B0 4B F1 51 35 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity"
/* 80198954 001958B4 83 63 00 04 */ lwz r27, 4(r3)
/* 80198958 001958B8 28 1B 00 00 */ cmplwi r27, 0
/* 8019895C 001958BC 41 82 00 8C */ beq lbl_801989E8
/* 80198960 001958C0 38 7B 00 34 */ addi r3, r27, 0x34
/* 80198964 001958C4 38 9D 00 34 */ addi r4, r29, 0x34
/* 80198968 001958C8 48 17 A1 D9 */ bl __as__12CTransform4fFRC12CTransform4f
/* 8019896C 001958CC 88 1B 00 E4 */ lbz r0, 0xe4(r27)
/* 80198970 001958D0 38 A0 00 01 */ li r5, 1
/* 80198974 001958D4 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 80198978 001958D8 7F 63 DB 78 */ mr r3, r27
/* 8019897C 001958DC 98 1B 00 E4 */ stb r0, 0xe4(r27)
/* 80198980 001958E0 38 9D 03 CC */ addi r4, r29, 0x3cc
/* 80198984 001958E4 88 1B 00 E4 */ lbz r0, 0xe4(r27)
/* 80198988 001958E8 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 8019898C 001958EC 98 1B 00 E4 */ stb r0, 0xe4(r27)
/* 80198990 001958F0 88 1B 00 E4 */ lbz r0, 0xe4(r27)
/* 80198994 001958F4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 80198998 001958F8 98 1B 00 E4 */ stb r0, 0xe4(r27)
/* 8019899C 001958FC 4B EB A4 F1 */ bl SetTranslation__6CActorFRC9CVector3f
/* 801989A0 00195900 80 7D 03 48 */ lwz r3, 0x348(r29)
/* 801989A4 00195904 28 03 00 00 */ cmplwi r3, 0
/* 801989A8 00195908 41 82 00 40 */ beq lbl_801989E8
/* 801989AC 0019590C 81 83 00 00 */ lwz r12, 0(r3)
/* 801989B0 00195910 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 801989B4 00195914 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801989B8 00195918 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801989BC 0019591C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801989C0 00195920 41 82 00 28 */ beq lbl_801989E8
/* 801989C4 00195924 80 9D 03 48 */ lwz r4, 0x348(r29)
/* 801989C8 00195928 38 61 01 78 */ addi r3, r1, 0x178
/* 801989CC 0019592C 81 84 00 00 */ lwz r12, 0(r4)
/* 801989D0 00195930 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 801989D4 00195934 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801989D8 00195938 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801989DC 0019593C 7F 63 DB 78 */ mr r3, r27
/* 801989E0 00195940 38 81 01 78 */ addi r4, r1, 0x178
/* 801989E4 00195944 4B F1 CD 61 */ bl SetLight__10CGameLightFRC6CLight
lbl_801989E8:
/* 801989E8 00195948 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0
/* 801989EC 0019594C CB E1 01 E0 */ lfd f31, 0x1e0(r1)
/* 801989F0 00195950 BB 61 01 CC */ lmw r27, 0x1cc(r1)
/* 801989F4 00195954 80 01 01 F4 */ lwz r0, 0x1f4(r1)
/* 801989F8 00195958 7C 08 03 A6 */ mtlr r0
/* 801989FC 0019595C 38 21 01 F0 */ addi r1, r1, 0x1f0
2022-07-14 05:48:03 +00:00
/* 80198A00 00195960 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Activate__10CFlameWarpFb
Activate__10CFlameWarpFb:
/* 80198A04 00195964 88 03 00 A0 */ lbz r0, 0xa0(r3)
/* 80198A08 00195968 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80198A0C 0019596C 98 03 00 A0 */ stb r0, 0xa0(r3)
2022-07-14 05:48:03 +00:00
/* 80198A10 00195970 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global nullsub_141
nullsub_141:
2022-07-14 05:48:03 +00:00
/* 80198A14 00195974 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Accept__13CFlameThrowerFR8IVisitor
Accept__13CFlameThrowerFR8IVisitor:
/* 80198A18 00195978 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80198A1C 0019597C 7C 08 02 A6 */ mflr r0
/* 80198A20 00195980 90 01 00 14 */ stw r0, 0x14(r1)
/* 80198A24 00195984 7C 60 1B 78 */ mr r0, r3
/* 80198A28 00195988 7C 83 23 78 */ mr r3, r4
/* 80198A2C 0019598C 81 84 00 00 */ lwz r12, 0(r4)
/* 80198A30 00195990 7C 04 03 78 */ mr r4, r0
/* 80198A34 00195994 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80198A38 00195998 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198A3C 0019599C 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80198A40 001959A0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80198A44 001959A4 7C 08 03 A6 */ mtlr r0
/* 80198A48 001959A8 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80198A4C 001959AC 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global GetTouchBounds__13CFlameThrowerCFv
GetTouchBounds__13CFlameThrowerCFv:
/* 80198A50 001959B0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80198A54 001959B4 88 04 00 30 */ lbz r0, 0x30(r4)
/* 80198A58 001959B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80198A5C 001959BC 41 82 00 18 */ beq lbl_80198A74
/* 80198A60 001959C0 80 04 03 F0 */ lwz r0, 0x3f0(r4)
/* 80198A64 001959C4 2C 00 00 02 */ cmpwi r0, 2
/* 80198A68 001959C8 40 82 00 0C */ bne lbl_80198A74
/* 80198A6C 001959CC 2C 00 00 03 */ cmpwi r0, 3
/* 80198A70 001959D0 41 82 00 10 */ beq lbl_80198A80
lbl_80198A74:
/* 80198A74 001959D4 38 00 00 00 */ li r0, 0
/* 80198A78 001959D8 98 03 00 18 */ stb r0, 0x18(r3)
/* 80198A7C 001959DC 48 00 00 6C */ b lbl_80198AE8
lbl_80198A80:
/* 80198A80 001959E0 C0 C4 00 60 */ lfs f6, 0x60(r4)
/* 80198A84 001959E4 28 03 00 00 */ cmplwi r3, 0
/* 80198A88 001959E8 C0 E2 84 00 */ lfs f7, lbl_805AA120@sda21(r2)
/* 80198A8C 001959EC 38 00 00 01 */ li r0, 1
/* 80198A90 001959F0 C0 24 00 50 */ lfs f1, 0x50(r4)
/* 80198A94 001959F4 C0 04 00 40 */ lfs f0, 0x40(r4)
/* 80198A98 001959F8 EC 66 38 28 */ fsubs f3, f6, f7
/* 80198A9C 001959FC EC 81 38 28 */ fsubs f4, f1, f7
/* 80198AA0 00195A00 EC A0 38 28 */ fsubs f5, f0, f7
/* 80198AA4 00195A04 98 03 00 18 */ stb r0, 0x18(r3)
/* 80198AA8 00195A08 EC 47 00 2A */ fadds f2, f7, f0
/* 80198AAC 00195A0C EC 27 08 2A */ fadds f1, f7, f1
/* 80198AB0 00195A10 D0 81 00 0C */ stfs f4, 0xc(r1)
/* 80198AB4 00195A14 EC 07 30 2A */ fadds f0, f7, f6
/* 80198AB8 00195A18 D0 A1 00 08 */ stfs f5, 8(r1)
/* 80198ABC 00195A1C D0 61 00 10 */ stfs f3, 0x10(r1)
/* 80198AC0 00195A20 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80198AC4 00195A24 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80198AC8 00195A28 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80198ACC 00195A2C 41 82 00 1C */ beq lbl_80198AE8
/* 80198AD0 00195A30 D0 A3 00 00 */ stfs f5, 0(r3)
/* 80198AD4 00195A34 D0 83 00 04 */ stfs f4, 4(r3)
/* 80198AD8 00195A38 D0 63 00 08 */ stfs f3, 8(r3)
/* 80198ADC 00195A3C D0 43 00 0C */ stfs f2, 0xc(r3)
/* 80198AE0 00195A40 D0 23 00 10 */ stfs f1, 0x10(r3)
/* 80198AE4 00195A44 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_80198AE8:
/* 80198AE8 00195A48 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80198AEC 00195A4C 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global "__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi"
"__ct__13CFlameThrowerFRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>11EWeaponTypeRC10CFlameInfoRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId9TUniqueIdUi":
/* 80198AF0 00195A50 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 80198AF4 00195A54 7C 08 02 A6 */ mflr r0
/* 80198AF8 00195A58 C0 02 A6 A0 */ lfs f0, lbl_805AC3C0@sda21(r2)
/* 80198AFC 00195A5C 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 80198B00 00195A60 39 81 00 74 */ addi r12, r1, 0x74
/* 80198B04 00195A64 39 61 00 64 */ addi r11, r1, 0x64
/* 80198B08 00195A68 BE 41 00 88 */ stmw r18, 0x88(r1)
/* 80198B0C 00195A6C 3A A0 00 00 */ li r21, 0
/* 80198B10 00195A70 7C BE 2B 78 */ mr r30, r5
/* 80198B14 00195A74 80 A1 00 D0 */ lwz r5, 0xd0(r1)
/* 80198B18 00195A78 7C D2 33 78 */ mr r18, r6
/* 80198B1C 00195A7C 7C FB 3B 78 */ mr r27, r7
/* 80198B20 00195A80 83 E1 00 CC */ lwz r31, 0xcc(r1)
/* 80198B24 00195A84 7E 47 93 78 */ mr r7, r18
/* 80198B28 00195A88 82 61 00 C8 */ lwz r19, 0xc8(r1)
/* 80198B2C 00195A8C 3A C1 00 38 */ addi r22, r1, 0x38
/* 80198B30 00195A90 3A E1 00 3C */ addi r23, r1, 0x3c
/* 80198B34 00195A94 3B 01 00 34 */ addi r24, r1, 0x34
/* 80198B38 00195A98 3B 21 00 30 */ addi r25, r1, 0x30
/* 80198B3C 00195A9C 82 81 00 D4 */ lwz r20, 0xd4(r1)
/* 80198B40 00195AA0 83 A1 00 D8 */ lwz r29, 0xd8(r1)
/* 80198B44 00195AA4 7C 7A 1B 78 */ mr r26, r3
/* 80198B48 00195AA8 7D 1C 43 78 */ mr r28, r8
2022-04-24 01:54:45 +00:00
/* 80198B4C 00195AAC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 80198B50 00195AB0 9A A1 00 70 */ stb r21, 0x70(r1)
/* 80198B54 00195AB4 B0 01 00 30 */ sth r0, 0x30(r1)
2022-10-05 23:06:15 +00:00
/* 80198B58 00195AB8 A0 02 C5 FC */ lhz r0, kInternalInvalidSfxId__11CSfxManager@sda21(r2)
2022-04-14 08:02:42 +00:00
/* 80198B5C 00195ABC D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80198B60 00195AC0 D0 01 00 78 */ stfs f0, 0x78(r1)
/* 80198B64 00195AC4 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80198B68 00195AC8 A0 C5 00 00 */ lhz r6, 0(r5)
/* 80198B6C 00195ACC 7C 85 23 78 */ mr r5, r4
/* 80198B70 00195AD0 38 80 00 00 */ li r4, 0
/* 80198B74 00195AD4 B0 C1 00 34 */ sth r6, 0x34(r1)
/* 80198B78 00195AD8 7F C6 F3 78 */ mr r6, r30
/* 80198B7C 00195ADC A3 C1 00 DE */ lhz r30, 0xde(r1)
/* 80198B80 00195AE0 82 5F 00 00 */ lwz r18, 0(r31)
/* 80198B84 00195AE4 83 E1 00 E0 */ lwz r31, 0xe0(r1)
/* 80198B88 00195AE8 92 41 00 3C */ stw r18, 0x3c(r1)
/* 80198B8C 00195AEC A2 53 00 00 */ lhz r18, 0(r19)
/* 80198B90 00195AF0 B2 41 00 38 */ sth r18, 0x38(r1)
/* 80198B94 00195AF4 92 C1 00 08 */ stw r22, 8(r1)
/* 80198B98 00195AF8 92 E1 00 0C */ stw r23, 0xc(r1)
/* 80198B9C 00195AFC 93 01 00 10 */ stw r24, 0x10(r1)
/* 80198BA0 00195B00 93 21 00 14 */ stw r25, 0x14(r1)
/* 80198BA4 00195B04 92 81 00 18 */ stw r20, 0x18(r1)
/* 80198BA8 00195B08 92 A1 00 1C */ stw r21, 0x1c(r1)
/* 80198BAC 00195B0C 91 81 00 20 */ stw r12, 0x20(r1)
/* 80198BB0 00195B10 91 61 00 24 */ stw r11, 0x24(r1)
/* 80198BB4 00195B14 90 01 00 28 */ stw r0, 0x28(r1)
/* 80198BB8 00195B18 92 A1 00 2C */ stw r21, 0x2c(r1)
2022-11-24 16:29:09 +00:00
/* 80198BBC 00195B1C 4B EA 18 C9 */ bl "__ct__15CGameProjectileFbRC28TToken<18CWeaponDescription>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>Usb"
2022-04-14 08:02:42 +00:00
/* 80198BC0 00195B20 88 01 00 70 */ lbz r0, 0x70(r1)
/* 80198BC4 00195B24 28 00 00 00 */ cmplwi r0, 0
/* 80198BC8 00195B28 41 82 00 1C */ beq lbl_80198BE4
/* 80198BCC 00195B2C 34 61 00 64 */ addic. r3, r1, 0x64
/* 80198BD0 00195B30 41 82 00 14 */ beq lbl_80198BE4
/* 80198BD4 00195B34 28 03 00 00 */ cmplwi r3, 0
/* 80198BD8 00195B38 41 82 00 0C */ beq lbl_80198BE4
/* 80198BDC 00195B3C 38 80 00 00 */ li r4, 0
/* 80198BE0 00195B40 48 1A 82 61 */ bl __dt__6CTokenFv
lbl_80198BE4:
/* 80198BE4 00195B44 38 00 00 00 */ li r0, 0
/* 80198BE8 00195B48 3C 60 80 3E */ lis r3, lbl_803E45D8@ha
/* 80198BEC 00195B4C 98 01 00 70 */ stb r0, 0x70(r1)
/* 80198BF0 00195B50 38 03 45 D8 */ addi r0, r3, lbl_803E45D8@l
/* 80198BF4 00195B54 7F 84 E3 78 */ mr r4, r28
/* 80198BF8 00195B58 38 7A 02 E8 */ addi r3, r26, 0x2e8
/* 80198BFC 00195B5C 90 1A 00 00 */ stw r0, 0(r26)
/* 80198C00 00195B60 48 17 9F 75 */ bl __ct__12CTransform4fFRC12CTransform4f
2022-08-16 21:46:30 +00:00
/* 80198C04 00195B64 3C 80 80 5A */ lis r4, mskNullBox__6CAABox@ha
/* 80198C08 00195B68 C4 24 67 84 */ lfsu f1, mskNullBox__6CAABox@l(r4)
2022-04-14 08:02:42 +00:00
/* 80198C0C 00195B6C 3C 60 50 41 */ lis r3, 0x50415254@ha
/* 80198C10 00195B70 C0 02 A6 A4 */ lfs f0, lbl_805AC3C4@sda21(r2)
/* 80198C14 00195B74 D0 3A 03 18 */ stfs f1, 0x318(r26)
/* 80198C18 00195B78 38 03 52 54 */ addi r0, r3, 0x50415254@l
/* 80198C1C 00195B7C 38 61 00 48 */ addi r3, r1, 0x48
/* 80198C20 00195B80 38 A1 00 50 */ addi r5, r1, 0x50
/* 80198C24 00195B84 C0 24 00 04 */ lfs f1, 4(r4)
/* 80198C28 00195B88 D0 3A 03 1C */ stfs f1, 0x31c(r26)
/* 80198C2C 00195B8C C0 24 00 08 */ lfs f1, 8(r4)
/* 80198C30 00195B90 D0 3A 03 20 */ stfs f1, 0x320(r26)
/* 80198C34 00195B94 C0 24 00 0C */ lfs f1, 0xc(r4)
/* 80198C38 00195B98 D0 3A 03 24 */ stfs f1, 0x324(r26)
/* 80198C3C 00195B9C C0 24 00 10 */ lfs f1, 0x10(r4)
/* 80198C40 00195BA0 D0 3A 03 28 */ stfs f1, 0x328(r26)
/* 80198C44 00195BA4 C0 24 00 14 */ lfs f1, 0x14(r4)
/* 80198C48 00195BA8 D0 3A 03 2C */ stfs f1, 0x32c(r26)
/* 80198C4C 00195BAC D0 1A 03 30 */ stfs f0, 0x330(r26)
/* 80198C50 00195BB0 D0 1A 03 34 */ stfs f0, 0x334(r26)
/* 80198C54 00195BB4 C0 1B 00 10 */ lfs f0, 0x10(r27)
/* 80198C58 00195BB8 D0 1A 03 38 */ stfs f0, 0x338(r26)
/* 80198C5C 00195BBC 80 DB 00 08 */ lwz r6, 8(r27)
/* 80198C60 00195BC0 90 01 00 50 */ stw r0, 0x50(r1)
/* 80198C64 00195BC4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80198C68 00195BC8 90 C1 00 54 */ stw r6, 0x54(r1)
/* 80198C6C 00195BCC 81 84 00 00 */ lwz r12, 0(r4)
/* 80198C70 00195BD0 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80198C74 00195BD4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80198C78 00195BD8 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 80198C7C 00195BDC 3A 5A 03 3C */ addi r18, r26, 0x33c
/* 80198C80 00195BE0 38 81 00 48 */ addi r4, r1, 0x48
/* 80198C84 00195BE4 7E 43 93 78 */ mr r3, r18
/* 80198C88 00195BE8 48 1A 82 21 */ bl __ct__6CTokenFRC6CToken
/* 80198C8C 00195BEC 7E 43 93 78 */ mr r3, r18
/* 80198C90 00195BF0 48 1A 81 7D */ bl GetObj__6CTokenFv
/* 80198C94 00195BF4 80 03 00 04 */ lwz r0, 4(r3)
/* 80198C98 00195BF8 38 61 00 48 */ addi r3, r1, 0x48
/* 80198C9C 00195BFC 38 80 FF FF */ li r4, -1
/* 80198CA0 00195C00 90 12 00 08 */ stw r0, 8(r18)
/* 80198CA4 00195C04 48 1A 81 9D */ bl __dt__6CTokenFv
/* 80198CA8 00195C08 3C 60 80 3D */ lis r3, lbl_803D1210@ha
/* 80198CAC 00195C0C 3A 60 00 00 */ li r19, 0
/* 80198CB0 00195C10 38 83 12 10 */ addi r4, r3, lbl_803D1210@l
/* 80198CB4 00195C14 38 A0 00 00 */ li r5, 0
/* 80198CB8 00195C18 38 60 03 40 */ li r3, 0x340
/* 80198CBC 00195C1C 48 17 CB B1 */ bl __nw__FUlPCcPCc
/* 80198CC0 00195C20 7C 72 1B 79 */ or. r18, r3, r3
/* 80198CC4 00195C24 41 82 00 2C */ beq lbl_80198CF0
/* 80198CC8 00195C28 38 61 00 40 */ addi r3, r1, 0x40
/* 80198CCC 00195C2C 38 9A 03 3C */ addi r4, r26, 0x33c
/* 80198CD0 00195C30 48 1A 81 D9 */ bl __ct__6CTokenFRC6CToken
/* 80198CD4 00195C34 7E 43 93 78 */ mr r3, r18
/* 80198CD8 00195C38 38 81 00 40 */ addi r4, r1, 0x40
/* 80198CDC 00195C3C 3A 60 00 01 */ li r19, 1
/* 80198CE0 00195C40 38 A0 00 00 */ li r5, 0
/* 80198CE4 00195C44 38 C0 00 01 */ li r6, 1
/* 80198CE8 00195C48 48 18 66 F9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 80198CEC 00195C4C 7C 72 1B 78 */ mr r18, r3
lbl_80198CF0:
/* 80198CF0 00195C50 7E 60 07 75 */ extsb. r0, r19
/* 80198CF4 00195C54 92 5A 03 48 */ stw r18, 0x348(r26)
/* 80198CF8 00195C58 41 82 00 10 */ beq lbl_80198D08
/* 80198CFC 00195C5C 38 61 00 40 */ addi r3, r1, 0x40
/* 80198D00 00195C60 38 80 00 00 */ li r4, 0
/* 80198D04 00195C64 48 1A 81 3D */ bl __dt__6CTokenFv
lbl_80198D08:
/* 80198D08 00195C68 80 9B 00 0C */ lwz r4, 0xc(r27)
/* 80198D0C 00195C6C 3C 00 43 30 */ lis r0, 0x4330
/* 80198D10 00195C70 C0 9C 00 2C */ lfs f4, 0x2c(r28)
/* 80198D14 00195C74 38 7A 03 4C */ addi r3, r26, 0x34c
/* 80198D18 00195C78 6C 84 80 00 */ xoris r4, r4, 0x8000
/* 80198D1C 00195C7C C0 7C 00 1C */ lfs f3, 0x1c(r28)
/* 80198D20 00195C80 90 81 00 84 */ stw r4, 0x84(r1)
/* 80198D24 00195C84 38 81 00 58 */ addi r4, r1, 0x58
/* 80198D28 00195C88 C0 5C 00 0C */ lfs f2, 0xc(r28)
/* 80198D2C 00195C8C 90 01 00 80 */ stw r0, 0x80(r1)
/* 80198D30 00195C90 C8 22 A6 B0 */ lfd f1, lbl_805AC3D0@sda21(r2)
/* 80198D34 00195C94 C8 01 00 80 */ lfd f0, 0x80(r1)
/* 80198D38 00195C98 80 BB 00 04 */ lwz r5, 4(r27)
/* 80198D3C 00195C9C EC 20 08 28 */ fsubs f1, f0, f1
/* 80198D40 00195CA0 D0 41 00 58 */ stfs f2, 0x58(r1)
/* 80198D44 00195CA4 54 A5 F7 FE */ rlwinm r5, r5, 0x1e, 0x1f, 0x1f
/* 80198D48 00195CA8 D0 61 00 5C */ stfs f3, 0x5c(r1)
/* 80198D4C 00195CAC D0 81 00 60 */ stfs f4, 0x60(r1)
/* 80198D50 00195CB0 48 01 C9 D9 */ bl __ct__10CFlameWarpFfRC9CVector3fb
/* 80198D54 00195CB4 38 80 00 00 */ li r4, 0
/* 80198D58 00195CB8 7F 43 D3 78 */ mr r3, r26
/* 80198D5C 00195CBC 90 9A 03 F0 */ stw r4, 0x3f0(r26)
/* 80198D60 00195CC0 93 BA 03 F4 */ stw r29, 0x3f4(r26)
/* 80198D64 00195CC4 B3 DA 03 F8 */ sth r30, 0x3f8(r26)
/* 80198D68 00195CC8 93 FA 03 FC */ stw r31, 0x3fc(r26)
/* 80198D6C 00195CCC 88 1A 04 00 */ lbz r0, 0x400(r26)
/* 80198D70 00195CD0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80198D74 00195CD4 98 1A 04 00 */ stb r0, 0x400(r26)
/* 80198D78 00195CD8 88 1A 04 00 */ lbz r0, 0x400(r26)
/* 80198D7C 00195CDC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80198D80 00195CE0 98 1A 04 00 */ stb r0, 0x400(r26)
/* 80198D84 00195CE4 80 9B 00 04 */ lwz r4, 4(r27)
/* 80198D88 00195CE8 88 1A 04 00 */ lbz r0, 0x400(r26)
/* 80198D8C 00195CEC 54 84 07 FE */ clrlwi r4, r4, 0x1f
/* 80198D90 00195CF0 68 84 00 01 */ xori r4, r4, 1
/* 80198D94 00195CF4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80198D98 00195CF8 98 1A 04 00 */ stb r0, 0x400(r26)
/* 80198D9C 00195CFC 80 9B 00 04 */ lwz r4, 4(r27)
/* 80198DA0 00195D00 88 1A 04 00 */ lbz r0, 0x400(r26)
/* 80198DA4 00195D04 50 80 1E F6 */ rlwimi r0, r4, 3, 0x1b, 0x1b
/* 80198DA8 00195D08 98 1A 04 00 */ stb r0, 0x400(r26)
/* 80198DAC 00195D0C BA 41 00 88 */ lmw r18, 0x88(r1)
/* 80198DB0 00195D10 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80198DB4 00195D14 7C 08 03 A6 */ mtlr r0
/* 80198DB8 00195D18 38 21 00 C0 */ addi r1, r1, 0xc0
2022-07-14 05:48:03 +00:00
/* 80198DBC 00195D1C 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global __sinit_CFlameThrower_cpp
__sinit_CFlameThrower_cpp:
/* 80198DC0 00195D20 C0 42 A6 A4 */ lfs f2, lbl_805AC3C4@sda21(r2)
/* 80198DC4 00195D24 3C 60 80 57 */ lis r3, lbl_8057200C@ha
/* 80198DC8 00195D28 C0 22 A6 C0 */ lfs f1, lbl_805AC3E0@sda21(r2)
/* 80198DCC 00195D2C D4 43 20 0C */ stfsu f2, lbl_8057200C@l(r3)
/* 80198DD0 00195D30 C0 02 A6 C4 */ lfs f0, lbl_805AC3E4@sda21(r2)
/* 80198DD4 00195D34 D0 23 00 04 */ stfs f1, 4(r3)
/* 80198DD8 00195D38 D0 03 00 08 */ stfs f0, 8(r3)
/* 80198DDC 00195D3C 4E 80 00 20 */ blr
2022-07-18 05:20:04 +00:00
.section .sdata2, "a"
.balign 8
2022-07-18 05:20:04 +00:00
.global lbl_805AC3C0
lbl_805AC3C0:
# ROM: 0x3F8C60
.float 1.0
.global lbl_805AC3C4
lbl_805AC3C4:
# ROM: 0x3F8C64
.4byte 0
.global lbl_805AC3C8
lbl_805AC3C8:
# ROM: 0x3F8C68
.float 0.5
.4byte 0
.global lbl_805AC3D0
lbl_805AC3D0:
# ROM: 0x3F8C70
.double 4.503601774854144E15
.global lbl_805AC3D8
lbl_805AC3D8:
# ROM: 0x3F8C78
.float 4.0
.global lbl_805AC3DC
lbl_805AC3DC:
# ROM: 0x3F8C7C
.float 0.1
.global lbl_805AC3E0
lbl_805AC3E0:
# ROM: 0x3F8C80
.4byte 0x40400000
.global lbl_805AC3E4
lbl_805AC3E4:
# ROM: 0x3F8C84
.float 2.0
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803D1210
lbl_803D1210:
# ROM: 0x3CE210
.asciz "??(??)"
.byte 0x46
.asciz "lameThrower_Light"
.balign 4
.4byte 0