pikmin2/asm/plugProjectNishimuraU/ElecBug.s
EpochFlame 75c3292df0 reduce label emissions
linkmap goes faster now
2022-11-03 17:02:42 -04:00

1983 lines
98 KiB
ArmAsm

.include "macros.inc"
.section .data, "wa" # 0x8049E220 - 0x804EFC20
.balign 8
.global __vt__Q23efx13TDnkmsHoudenB
__vt__Q23efx13TDnkmsHoudenB:
.4byte 0
.4byte 0
.4byte create__Q23efx5TSyncFPQ23efx3Arg
.4byte forceKill__Q23efx5TSyncFv
.4byte fade__Q23efx5TSyncFv
.4byte 0
.4byte 0
.4byte "@4@__dt__Q23efx13TDnkmsHoudenBFv"
.4byte "@4@execute__Q23efx5TSyncFP14JPABaseEmitter"
.4byte "@4@executeAfter__Q23efx5TSyncFP14JPABaseEmitter"
.4byte draw__18JPAEmitterCallBackFP14JPABaseEmitter
.4byte drawAfter__18JPAEmitterCallBackFP14JPABaseEmitter
.4byte execute__Q23efx5TSyncFP14JPABaseEmitter
.4byte executeAfter__Q23efx5TSyncFP14JPABaseEmitter
.4byte doExecuteEmitterOperation__Q23efx9TChasePosFP14JPABaseEmitter
.4byte doExecuteAfter__Q23efx5TSyncFP14JPABaseEmitter
.4byte startDemoDrawOff__Q23efx5TSyncFv
.4byte endDemoDrawOn__Q23efx5TSyncFv
.4byte __dt__Q23efx13TDnkmsHoudenBFv
.global __vt__Q23efx13TDnkmsHoudenA
__vt__Q23efx13TDnkmsHoudenA:
.4byte 0
.4byte 0
.4byte create__Q23efx5TSyncFPQ23efx3Arg
.4byte forceKill__Q23efx5TSyncFv
.4byte fade__Q23efx5TSyncFv
.4byte 0
.4byte 0
.4byte "@4@__dt__Q23efx13TDnkmsHoudenAFv"
.4byte "@4@execute__Q23efx5TSyncFP14JPABaseEmitter"
.4byte "@4@executeAfter__Q23efx5TSyncFP14JPABaseEmitter"
.4byte draw__18JPAEmitterCallBackFP14JPABaseEmitter
.4byte drawAfter__18JPAEmitterCallBackFP14JPABaseEmitter
.4byte execute__Q23efx5TSyncFP14JPABaseEmitter
.4byte executeAfter__Q23efx5TSyncFP14JPABaseEmitter
.4byte doExecuteEmitterOperation__Q23efx9TChasePosFP14JPABaseEmitter
.4byte doExecuteAfter__Q23efx5TSyncFP14JPABaseEmitter
.4byte startDemoDrawOff__Q23efx5TSyncFv
.4byte endDemoDrawOn__Q23efx5TSyncFv
.4byte __dt__Q23efx13TDnkmsHoudenAFv
.global __vt__Q34Game7ElecBug3Obj
__vt__Q34Game7ElecBug3Obj:
.4byte 0
.4byte 0
.4byte getPosition__Q24Game9EnemyBaseFv
.4byte checkCollision__Q24Game8CreatureFPQ24Game10CellObject
.4byte getBoundingSphere__Q24Game9EnemyBaseFRQ23Sys6Sphere
.4byte collisionUpdatable__Q24Game8CreatureFv
.4byte isPiki__Q24Game8CreatureFv
.4byte isNavi__Q24Game8CreatureFv
.4byte deferPikiCollision__Q24Game10CellObjectFv
.4byte getTypeName__Q24Game8CreatureFv
.4byte getObjType__Q24Game8CreatureFv
.4byte constructor__Q24Game9EnemyBaseFv
.4byte onInit__Q34Game7ElecBug3ObjFPQ24Game15CreatureInitArg
.4byte onKill__Q34Game7ElecBug3ObjFPQ24Game15CreatureKillArg
.4byte onInitPost__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg
.4byte doAnimation__Q24Game9EnemyBaseFv
.4byte doEntry__Q24Game9EnemyBaseFv
.4byte doSetView__Q24Game9EnemyBaseFi
.4byte doViewCalc__Q24Game9EnemyBaseFv
.4byte doSimulation__Q24Game9EnemyBaseFf
.4byte doDirectDraw__Q34Game7ElecBug3ObjFR8Graphics
.4byte getBodyRadius__Q24Game9EnemyBaseFv
.4byte getCellRadius__Q24Game9EnemyBaseFv
.4byte "initPosition__Q24Game8CreatureFR10Vector3<f>"
.4byte "onInitPosition__Q24Game8CreatureFR10Vector3<f>"
.4byte getFaceDir__Q24Game9EnemyBaseFv
.4byte "setVelocity__Q24Game9EnemyBaseFR10Vector3<f>"
.4byte getVelocity__Q24Game9EnemyBaseFv
.4byte "onSetPosition__Q24Game9EnemyBaseFR10Vector3<f>"
.4byte "onSetPositionPost__Q24Game9EnemyBaseFR10Vector3<f>"
.4byte updateTrMatrix__Q24Game9EnemyBaseFv
.4byte isTeki__Q24Game9EnemyBaseFv
.4byte isPellet__Q24Game8CreatureFv
.4byte inWaterCallback__Q24Game9EnemyBaseFPQ24Game8WaterBox
.4byte outWaterCallback__Q24Game9EnemyBaseFv
.4byte inWater__Q24Game9EnemyBaseFv
.4byte getFlockMgr__Q24Game8CreatureFv
.4byte onStartCapture__Q24Game8CreatureFv
.4byte onUpdateCapture__Q24Game8CreatureFR7Matrixf
.4byte onEndCapture__Q24Game8CreatureFv
.4byte isAtari__Q24Game8CreatureFv
.4byte setAtari__Q24Game8CreatureFb
.4byte isAlive__Q24Game8CreatureFv
.4byte setAlive__Q24Game8CreatureFb
.4byte isCollisionFlick__Q24Game8CreatureFv
.4byte setCollisionFlick__Q24Game8CreatureFb
.4byte isMovieActor__Q24Game8CreatureFv
.4byte isMovieExtra__Q24Game8CreatureFv
.4byte isMovieMotion__Q24Game8CreatureFv
.4byte setMovieMotion__Q24Game8CreatureFb
.4byte isBuried__Q24Game8CreatureFv
.4byte isFlying__Q24Game9EnemyBaseFv
.4byte isUnderground__Q24Game8CreatureFv
.4byte isLivingThing__Q24Game8CreatureFv
.4byte isDebugCollision__Q24Game8CreatureFv
.4byte setDebugCollision__Q24Game8CreatureFb
.4byte doSave__Q24Game8CreatureFR6Stream
.4byte doLoad__Q24Game8CreatureFR6Stream
.4byte bounceCallback__Q24Game8CreatureFPQ23Sys8Triangle
.4byte collisionCallback__Q34Game7ElecBug3ObjFRQ24Game9CollEvent
.4byte platCallback__Q24Game8CreatureFRQ24Game9PlatEvent
.4byte getJAIObject__Q24Game9EnemyBaseFv
.4byte getPSCreature__Q24Game9EnemyBaseFv
.4byte getSound_AILOD__Q24Game8CreatureFv
.4byte getSound_PosPtr__Q24Game9EnemyBaseFv
.4byte sound_culling__Q24Game9EnemyBaseFv
.4byte getSound_CurrAnimFrame__Q24Game9EnemyBaseFv
.4byte getSound_CurrAnimSpeed__Q24Game9EnemyBaseFv
.4byte on_movie_begin__Q24Game8CreatureFb
.4byte on_movie_end__Q24Game8CreatureFb
.4byte movieStartAnimation__Q24Game8CreatureFUl
.4byte movieStartDemoAnimation__Q24Game8CreatureFPQ28SysShape8AnimInfo
.4byte movieSetAnimationLastFrame__Q24Game8CreatureFv
.4byte "movieSetTranslation__Q24Game8CreatureFR10Vector3<f>f"
.4byte movieSetFaceDir__Q24Game8CreatureFf
.4byte "movieGotoPosition__Q24Game8CreatureFR10Vector3<f>"
.4byte movieUserCommand__Q24Game8CreatureFUlPQ24Game11MoviePlayer
.4byte getShadowParam__Q34Game7ElecBug3ObjFRQ24Game11ShadowParam
.4byte needShadow__Q24Game9EnemyBaseFv
.4byte getLifeGaugeParam__Q24Game9EnemyBaseFRQ24Game14LifeGaugeParam
.4byte getLODSphere__Q24Game9EnemyBaseFRQ23Sys6Sphere
.4byte getLODCylinder__Q24Game8CreatureFRQ23Sys8Cylinder
.4byte startPick__Q24Game8CreatureFv
.4byte endPick__Q24Game8CreatureFb
.4byte getMabiki__Q24Game8CreatureFv
.4byte getFootmarks__Q24Game8CreatureFv
.4byte onStickStart__Q24Game9EnemyBaseFPQ24Game8Creature
.4byte onStickEnd__Q24Game9EnemyBaseFPQ24Game8Creature
.4byte onStickStartSelf__Q24Game8CreatureFPQ24Game8Creature
.4byte onStickEndSelf__Q24Game8CreatureFPQ24Game8Creature
.4byte isSlotFree__Q24Game8CreatureFs
.4byte getFreeStickSlot__Q24Game8CreatureFv
.4byte "getNearFreeStickSlot__Q24Game8CreatureFR10Vector3<f>"
.4byte getRandomFreeStickSlot__Q24Game8CreatureFv
.4byte onSlotStickStart__Q24Game8CreatureFPQ24Game8Creatures
.4byte onSlotStickEnd__Q24Game8CreatureFPQ24Game8Creatures
.4byte "calcStickSlotGlobal__Q24Game8CreatureFsR10Vector3<f>"
.4byte "getVelocityAt__Q24Game9EnemyBaseFR10Vector3<f>R10Vector3<f>"
.4byte "getAngularEffect__Q24Game8CreatureFR10Vector3<f>R10Vector3<f>"
.4byte "applyImpulse__Q24Game8CreatureFR10Vector3<f>R10Vector3<f>"
.4byte ignoreAtari__Q24Game8CreatureFPQ24Game8Creature
.4byte getSuckPos__Q24Game8CreatureFv
.4byte getGoalPos__Q24Game8CreatureFv
.4byte isSuckReady__Q24Game8CreatureFv
.4byte isSuckArriveWait__Q24Game8CreatureFv
.4byte stimulate__Q24Game9EnemyBaseFRQ24Game11Interaction
.4byte getCreatureName__Q24Game9EnemyBaseFv
.4byte getCreatureID__Q24Game9EnemyBaseFv
.4byte 0
.4byte 0
.4byte "@376@onKeyEvent__Q24Game9EnemyBaseFRCQ28SysShape8KeyEvent"
.4byte __dt__Q34Game7ElecBug3ObjFv
.4byte "birth__Q24Game9EnemyBaseFR10Vector3<f>f"
.4byte setInitialSetting__Q34Game7ElecBug3ObjFPQ24Game21EnemyInitialParamBase
.4byte update__Q24Game9EnemyBaseFv
.4byte doUpdate__Q34Game7ElecBug3ObjFv
.4byte doUpdateCommon__Q24Game9EnemyBaseFv
.4byte doUpdateCarcass__Q24Game9EnemyBaseFv
.4byte doAnimationUpdateAnimator__Q24Game9EnemyBaseFv
.4byte doAnimationCullingOff__Q24Game9EnemyBaseFv
.4byte doAnimationCullingOn__Q24Game9EnemyBaseFv
.4byte doAnimationStick__Q24Game9EnemyBaseFv
.4byte doSimulationCarcass__Q24Game9EnemyBaseFf
.4byte doDebugDraw__Q34Game7ElecBug3ObjFR8Graphics
.4byte doSimpleDraw__Q24Game9EnemyBaseFP8Viewport
.4byte doSimulationGround__Q24Game9EnemyBaseFf
.4byte doSimulationFlying__Q24Game9EnemyBaseFf
.4byte doSimulationStick__Q24Game9EnemyBaseFf
.4byte changeMaterial__Q24Game9EnemyBaseFv
.4byte "getCommonEffectPos__Q24Game9EnemyBaseFR10Vector3<f>"
.4byte getFitEffectPos__Q24Game9EnemyBaseFv
.4byte viewGetShape__Q24Game9EnemyBaseFv
.4byte view_start_carrymotion__Q24Game9EnemyBaseFv
.4byte view_finish_carrymotion__Q24Game9EnemyBaseFv
.4byte viewStartPreCarryMotion__Q24Game9EnemyBaseFv
.4byte viewStartCarryMotion__Q24Game9EnemyBaseFv
.4byte viewOnPelletKilled__Q24Game9EnemyBaseFv
.4byte getOffsetForMapCollision__Q24Game9EnemyBaseFv
.4byte setParameters__Q24Game9EnemyBaseFv
.4byte initMouthSlots__Q24Game9EnemyBaseFv
.4byte initWalkSmokeEffect__Q24Game9EnemyBaseFv
.4byte getWalkSmokeEffectMgr__Q24Game9EnemyBaseFv
.4byte onKeyEvent__Q24Game9EnemyBaseFRCQ28SysShape8KeyEvent
.4byte injure__Q24Game9EnemyBaseFv
.4byte setCollEvent__Q24Game9EnemyBaseFRQ24Game9CollEvent
.4byte "getEfxHamonPos__Q24Game9EnemyBaseFP10Vector3<f>"
.4byte createInstanceEfxHamon__Q24Game9EnemyBaseFv
.4byte updateEfxHamon__Q24Game9EnemyBaseFv
.4byte createEfxHamon__Q24Game9EnemyBaseFv
.4byte fadeEfxHamon__Q24Game9EnemyBaseFv
.4byte getEnemyTypeID__Q34Game7ElecBug3ObjFv
.4byte getMouthSlots__Q24Game9EnemyBaseFv
.4byte doGetLifeGaugeParam__Q24Game9EnemyBaseFRQ24Game14LifeGaugeParam
.4byte throwupItem__Q24Game9EnemyBaseFv
.4byte "getThrowupItemPosition__Q24Game9EnemyBaseFP10Vector3<f>"
.4byte "getThrowupItemVelocity__Q24Game9EnemyBaseFP10Vector3<f>"
.4byte throwupItemInDeathProcedure__Q24Game9EnemyBaseFv
.4byte setLODSphere__Q24Game9EnemyBaseFRQ23Sys6Sphere
.4byte damageCallBack__Q24Game9EnemyBaseFPQ24Game8CreaturefP8CollPart
.4byte pressCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart
.4byte flyCollisionCallBack__Q24Game9EnemyBaseFPQ24Game8CreaturefP8CollPart
.4byte hipdropCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart
.4byte dropCallBack__Q24Game9EnemyBaseFPQ24Game8Creature
.4byte earthquakeCallBack__Q34Game7ElecBug3ObjFPQ24Game8Creaturef
.4byte farmCallBack__Q24Game9EnemyBaseFPQ24Game8Creaturef
.4byte "bombCallBack__Q24Game9EnemyBaseFPQ24Game8CreatureR10Vector3<f>f"
.4byte eatWhitePikminCallBack__Q24Game9EnemyBaseFPQ24Game8Creaturef
.4byte dopeCallBack__Q24Game9EnemyBaseFPQ24Game8Creaturei
.4byte doDopeCallBack__Q24Game9EnemyBaseFPQ24Game8Creaturei
.4byte doStartStoneState__Q34Game7ElecBug3ObjFv
.4byte doFinishStoneState__Q34Game7ElecBug3ObjFv
.4byte getDamageCoeStoneState__Q24Game9EnemyBaseFv
.4byte doStartEarthquakeState__Q24Game9EnemyBaseFf
.4byte doFinishEarthquakeState__Q24Game9EnemyBaseFv
.4byte doStartEarthquakeFitState__Q24Game9EnemyBaseFv
.4byte doFinishEarthquakeFitState__Q24Game9EnemyBaseFv
.4byte lifeRecover__Q24Game9EnemyBaseFv
.4byte startCarcassMotion__Q34Game7ElecBug3ObjFv
.4byte setCarcassArg__Q24Game9EnemyBaseFRQ24Game13PelletViewArg
.4byte getCarcassArgHeight__Q24Game9EnemyBaseFv
.4byte doBecomeCarcass__Q24Game9EnemyBaseFv
.4byte startWaitingBirthTypeDrop__Q24Game9EnemyBaseFv
.4byte finishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv
.4byte isFinishableWaitingBirthTypeDrop__Q24Game9EnemyBaseFv
.4byte doStartWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv
.4byte doFinishWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv
.4byte wallCallback__Q24Game9EnemyBaseFRCQ24Game8MoveInfo
.4byte getDownSmokeScale__Q34Game7ElecBug3ObjFv
.4byte doStartMovie__Q34Game7ElecBug3ObjFv
.4byte doEndMovie__Q34Game7ElecBug3ObjFv
.4byte setFSM__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3FSM
.4byte 0
.4byte 0
.4byte viewGetBaseScale__Q24Game10PelletViewFv
.4byte "@736@12@viewGetShape__Q24Game9EnemyBaseFv"
.4byte viewGetCollTreeJointIndex__Q24Game10PelletViewFv
.4byte viewGetCollTreeOffset__Q24Game10PelletViewFv
.4byte "@736@12@view_start_carrymotion__Q24Game9EnemyBaseFv"
.4byte "@736@12@view_finish_carrymotion__Q24Game9EnemyBaseFv"
.4byte "@736@12@viewStartPreCarryMotion__Q24Game9EnemyBaseFv"
.4byte "@736@12@viewStartCarryMotion__Q24Game9EnemyBaseFv"
.4byte "@736@12@viewOnPelletKilled__Q24Game9EnemyBaseFv"
.4byte "viewEntryShape__Q24Game10PelletViewFR7MatrixfR10Vector3<f>"
.4byte 0
.section .sdata2, "a" # 0x80516360 - 0x80520E40
.balign 8
.global lbl_8051B4E0
lbl_8051B4E0:
.4byte 0x41200000
.global lbl_8051B4E4
lbl_8051B4E4:
.4byte 0x47000000
.global lbl_8051B4E8
lbl_8051B4E8:
.4byte 0x00000000
.4byte 0x00000000
.global lbl_8051B4F0
lbl_8051B4F0:
.4byte 0x43300000
.4byte 0x80000000
.global lbl_8051B4F8
lbl_8051B4F8:
.4byte 0x626F6479
.4byte 0x00000000
.global lbl_8051B500
lbl_8051B500:
.4byte 0x40A00000
.global lbl_8051B504
lbl_8051B504:
.float 1.0
.global lbl_8051B508
lbl_8051B508:
.4byte 0x41700000
.global lbl_8051B50C
lbl_8051B50C:
.4byte 0x40C90FDB
.global lbl_8051B510
lbl_8051B510:
.4byte 0xC3A2F983
.global lbl_8051B514
lbl_8051B514:
.4byte 0x43A2F983
.global lbl_8051B518
lbl_8051B518:
.float 0.5
.global lbl_8051B51C
lbl_8051B51C:
.4byte 0x3F0CCCCD
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global __ct__Q34Game7ElecBug3ObjFv
__ct__Q34Game7ElecBug3ObjFv:
/* 8027AC88 00277BC8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027AC8C 00277BCC 7C 08 02 A6 */ mflr r0
/* 8027AC90 00277BD0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027AC94 00277BD4 7C 80 07 35 */ extsh. r0, r4
/* 8027AC98 00277BD8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027AC9C 00277BDC 7C 7F 1B 78 */ mr r31, r3
/* 8027ACA0 00277BE0 93 C1 00 08 */ stw r30, 8(r1)
/* 8027ACA4 00277BE4 41 82 00 24 */ beq .L_8027ACC8
/* 8027ACA8 00277BE8 38 1F 02 E0 */ addi r0, r31, 0x2e0
/* 8027ACAC 00277BEC 3C 60 80 4B */ lis r3, __vt__Q24Game10PelletView@ha
/* 8027ACB0 00277BF0 90 1F 01 7C */ stw r0, 0x17c(r31)
/* 8027ACB4 00277BF4 38 63 A6 78 */ addi r3, r3, __vt__Q24Game10PelletView@l
/* 8027ACB8 00277BF8 38 00 00 00 */ li r0, 0
/* 8027ACBC 00277BFC 90 7F 02 E0 */ stw r3, 0x2e0(r31)
/* 8027ACC0 00277C00 90 1F 02 E4 */ stw r0, 0x2e4(r31)
/* 8027ACC4 00277C04 90 1F 02 E8 */ stw r0, 0x2e8(r31)
.L_8027ACC8:
/* 8027ACC8 00277C08 7F E3 FB 78 */ mr r3, r31
/* 8027ACCC 00277C0C 38 80 00 00 */ li r4, 0
/* 8027ACD0 00277C10 4B E8 66 D1 */ bl __ct__Q24Game9EnemyBaseFv
/* 8027ACD4 00277C14 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug3Obj@ha
/* 8027ACD8 00277C18 38 1F 02 E0 */ addi r0, r31, 0x2e0
/* 8027ACDC 00277C1C 38 A3 7B B0 */ addi r5, r3, __vt__Q34Game7ElecBug3Obj@l
/* 8027ACE0 00277C20 38 60 00 2C */ li r3, 0x2c
/* 8027ACE4 00277C24 90 BF 00 00 */ stw r5, 0(r31)
/* 8027ACE8 00277C28 38 85 01 B0 */ addi r4, r5, 0x1b0
/* 8027ACEC 00277C2C 38 A5 02 FC */ addi r5, r5, 0x2fc
/* 8027ACF0 00277C30 90 9F 01 78 */ stw r4, 0x178(r31)
/* 8027ACF4 00277C34 80 9F 01 7C */ lwz r4, 0x17c(r31)
/* 8027ACF8 00277C38 90 A4 00 00 */ stw r5, 0(r4)
/* 8027ACFC 00277C3C 80 9F 01 7C */ lwz r4, 0x17c(r31)
/* 8027AD00 00277C40 7C 04 00 50 */ subf r0, r4, r0
/* 8027AD04 00277C44 90 04 00 0C */ stw r0, 0xc(r4)
/* 8027AD08 00277C48 4B DA 91 9D */ bl __nw__FUl
/* 8027AD0C 00277C4C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8027AD10 00277C50 41 82 00 44 */ beq .L_8027AD54
/* 8027AD14 00277C54 4B EA CC 61 */ bl __ct__Q24Game17EnemyAnimatorBaseFv
/* 8027AD18 00277C58 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug14ProperAnimator@ha
/* 8027AD1C 00277C5C 3C 80 80 4B */ lis r4, __vt__Q28SysShape12BaseAnimator@ha
/* 8027AD20 00277C60 38 03 7A 00 */ addi r0, r3, __vt__Q34Game7ElecBug14ProperAnimator@l
/* 8027AD24 00277C64 3C 60 80 4F */ lis r3, __vt__Q28SysShape8Animator@ha
/* 8027AD28 00277C68 90 1E 00 00 */ stw r0, 0(r30)
/* 8027AD2C 00277C6C 38 84 B9 88 */ addi r4, r4, __vt__Q28SysShape12BaseAnimator@l
/* 8027AD30 00277C70 38 63 BE 00 */ addi r3, r3, __vt__Q28SysShape8Animator@l
/* 8027AD34 00277C74 38 00 00 00 */ li r0, 0
/* 8027AD38 00277C78 90 9E 00 10 */ stw r4, 0x10(r30)
/* 8027AD3C 00277C7C 90 7E 00 10 */ stw r3, 0x10(r30)
/* 8027AD40 00277C80 98 1E 00 28 */ stb r0, 0x28(r30)
/* 8027AD44 00277C84 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 8027AD48 00277C88 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8027AD4C 00277C8C 98 1E 00 28 */ stb r0, 0x28(r30)
/* 8027AD50 00277C90 90 1E 00 20 */ stw r0, 0x20(r30)
.L_8027AD54:
/* 8027AD54 00277C94 93 DF 01 84 */ stw r30, 0x184(r31)
/* 8027AD58 00277C98 38 60 00 1C */ li r3, 0x1c
/* 8027AD5C 00277C9C 4B DA 91 49 */ bl __nw__FUl
/* 8027AD60 00277CA0 7C 64 1B 79 */ or. r4, r3, r3
/* 8027AD64 00277CA4 41 82 00 24 */ beq .L_8027AD88
/* 8027AD68 00277CA8 3C A0 80 4B */ lis r5, __vt__Q24Game17EnemyStateMachine@ha
/* 8027AD6C 00277CAC 3C 60 80 4C */ lis r3, __vt__Q34Game7ElecBug3FSM@ha
/* 8027AD70 00277CB0 38 05 F9 80 */ addi r0, r5, __vt__Q24Game17EnemyStateMachine@l
/* 8027AD74 00277CB4 38 A0 FF FF */ li r5, -1
/* 8027AD78 00277CB8 90 04 00 00 */ stw r0, 0(r4)
/* 8027AD7C 00277CBC 38 03 79 DC */ addi r0, r3, __vt__Q34Game7ElecBug3FSM@l
/* 8027AD80 00277CC0 90 A4 00 18 */ stw r5, 0x18(r4)
/* 8027AD84 00277CC4 90 04 00 00 */ stw r0, 0(r4)
.L_8027AD88:
/* 8027AD88 00277CC8 81 9F 00 00 */ lwz r12, 0(r31)
/* 8027AD8C 00277CCC 7F E3 FB 78 */ mr r3, r31
/* 8027AD90 00277CD0 81 8C 02 F8 */ lwz r12, 0x2f8(r12)
/* 8027AD94 00277CD4 7D 89 03 A6 */ mtctr r12
/* 8027AD98 00277CD8 4E 80 04 21 */ bctrl
/* 8027AD9C 00277CDC 7F E3 FB 78 */ mr r3, r31
/* 8027ADA0 00277CE0 48 00 0A C5 */ bl createEffect__Q34Game7ElecBug3ObjFv
/* 8027ADA4 00277CE4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027ADA8 00277CE8 7F E3 FB 78 */ mr r3, r31
/* 8027ADAC 00277CEC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027ADB0 00277CF0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027ADB4 00277CF4 7C 08 03 A6 */ mtlr r0
/* 8027ADB8 00277CF8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027ADBC 00277CFC 4E 80 00 20 */ blr
.global setInitialSetting__Q34Game7ElecBug3ObjFPQ24Game21EnemyInitialParamBase
setInitialSetting__Q34Game7ElecBug3ObjFPQ24Game21EnemyInitialParamBase:
/* 8027ADC0 00277D00 4E 80 00 20 */ blr
.global onInit__Q34Game7ElecBug3ObjFPQ24Game15CreatureInitArg
onInit__Q34Game7ElecBug3ObjFPQ24Game15CreatureInitArg:
/* 8027ADC4 00277D04 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8027ADC8 00277D08 7C 08 02 A6 */ mflr r0
/* 8027ADCC 00277D0C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8027ADD0 00277D10 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8027ADD4 00277D14 7C 7F 1B 78 */ mr r31, r3
/* 8027ADD8 00277D18 4B E8 6C 81 */ bl onInit__Q24Game9EnemyBaseFPQ24Game15CreatureInitArg
/* 8027ADDC 00277D1C 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 8027ADE0 00277D20 60 00 00 01 */ ori r0, r0, 1
/* 8027ADE4 00277D24 90 1F 01 E0 */ stw r0, 0x1e0(r31)
/* 8027ADE8 00277D28 4B E4 E7 B9 */ bl rand
/* 8027ADEC 00277D2C 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 8027ADF0 00277D30 3C 80 43 30 */ lis r4, 0x4330
/* 8027ADF4 00277D34 90 01 00 0C */ stw r0, 0xc(r1)
/* 8027ADF8 00277D38 38 00 00 00 */ li r0, 0
/* 8027ADFC 00277D3C C8 62 D1 90 */ lfd f3, lbl_8051B4F0@sda21(r2)
/* 8027AE00 00277D40 7F E3 FB 78 */ mr r3, r31
/* 8027AE04 00277D44 90 81 00 08 */ stw r4, 8(r1)
/* 8027AE08 00277D48 C0 42 D1 80 */ lfs f2, lbl_8051B4E0@sda21(r2)
/* 8027AE0C 00277D4C C8 01 00 08 */ lfd f0, 8(r1)
/* 8027AE10 00277D50 C0 22 D1 84 */ lfs f1, lbl_8051B4E4@sda21(r2)
/* 8027AE14 00277D54 EC 60 18 28 */ fsubs f3, f0, f3
/* 8027AE18 00277D58 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2)
/* 8027AE1C 00277D5C EC 42 00 F2 */ fmuls f2, f2, f3
/* 8027AE20 00277D60 EC 22 08 24 */ fdivs f1, f2, f1
/* 8027AE24 00277D64 D0 3F 02 C0 */ stfs f1, 0x2c0(r31)
/* 8027AE28 00277D68 D0 1F 02 C4 */ stfs f0, 0x2c4(r31)
/* 8027AE2C 00277D6C 90 1F 02 D8 */ stw r0, 0x2d8(r31)
/* 8027AE30 00277D70 48 00 0E 21 */ bl setupEffect__Q34Game7ElecBug3ObjFv
/* 8027AE34 00277D74 80 7F 02 BC */ lwz r3, 0x2bc(r31)
/* 8027AE38 00277D78 7F E4 FB 78 */ mr r4, r31
/* 8027AE3C 00277D7C 38 A0 00 02 */ li r5, 2
/* 8027AE40 00277D80 38 C0 00 00 */ li r6, 0
/* 8027AE44 00277D84 81 83 00 00 */ lwz r12, 0(r3)
/* 8027AE48 00277D88 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8027AE4C 00277D8C 7D 89 03 A6 */ mtctr r12
/* 8027AE50 00277D90 4E 80 04 21 */ bctrl
/* 8027AE54 00277D94 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8027AE58 00277D98 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8027AE5C 00277D9C 7C 08 03 A6 */ mtlr r0
/* 8027AE60 00277DA0 38 21 00 20 */ addi r1, r1, 0x20
/* 8027AE64 00277DA4 4E 80 00 20 */ blr
.global onKill__Q34Game7ElecBug3ObjFPQ24Game15CreatureKillArg
onKill__Q34Game7ElecBug3ObjFPQ24Game15CreatureKillArg:
/* 8027AE68 00277DA8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027AE6C 00277DAC 7C 08 02 A6 */ mflr r0
/* 8027AE70 00277DB0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027AE74 00277DB4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027AE78 00277DB8 7C 9F 23 78 */ mr r31, r4
/* 8027AE7C 00277DBC 93 C1 00 08 */ stw r30, 8(r1)
/* 8027AE80 00277DC0 7C 7E 1B 78 */ mr r30, r3
/* 8027AE84 00277DC4 48 00 0E DD */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
/* 8027AE88 00277DC8 7F C3 F3 78 */ mr r3, r30
/* 8027AE8C 00277DCC 7F E4 FB 78 */ mr r4, r31
/* 8027AE90 00277DD0 4B E8 70 59 */ bl onKill__Q24Game9EnemyBaseFPQ24Game15CreatureKillArg
/* 8027AE94 00277DD4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027AE98 00277DD8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027AE9C 00277DDC 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027AEA0 00277DE0 7C 08 03 A6 */ mtlr r0
/* 8027AEA4 00277DE4 38 21 00 10 */ addi r1, r1, 0x10
/* 8027AEA8 00277DE8 4E 80 00 20 */ blr
.global doUpdate__Q34Game7ElecBug3ObjFv
doUpdate__Q34Game7ElecBug3ObjFv:
/* 8027AEAC 00277DEC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027AEB0 00277DF0 7C 08 02 A6 */ mflr r0
/* 8027AEB4 00277DF4 7C 64 1B 78 */ mr r4, r3
/* 8027AEB8 00277DF8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027AEBC 00277DFC 80 AD 9A EC */ lwz r5, sys@sda21(r13)
/* 8027AEC0 00277E00 C0 23 02 C0 */ lfs f1, 0x2c0(r3)
/* 8027AEC4 00277E04 C0 05 00 54 */ lfs f0, 0x54(r5)
/* 8027AEC8 00277E08 EC 01 00 2A */ fadds f0, f1, f0
/* 8027AECC 00277E0C D0 03 02 C0 */ stfs f0, 0x2c0(r3)
/* 8027AED0 00277E10 80 63 02 BC */ lwz r3, 0x2bc(r3)
/* 8027AED4 00277E14 81 83 00 00 */ lwz r12, 0(r3)
/* 8027AED8 00277E18 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8027AEDC 00277E1C 7D 89 03 A6 */ mtctr r12
/* 8027AEE0 00277E20 4E 80 04 21 */ bctrl
/* 8027AEE4 00277E24 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027AEE8 00277E28 7C 08 03 A6 */ mtlr r0
/* 8027AEEC 00277E2C 38 21 00 10 */ addi r1, r1, 0x10
/* 8027AEF0 00277E30 4E 80 00 20 */ blr
.global doDirectDraw__Q34Game7ElecBug3ObjFR8Graphics
doDirectDraw__Q34Game7ElecBug3ObjFR8Graphics:
/* 8027AEF4 00277E34 4E 80 00 20 */ blr
.global doDebugDraw__Q34Game7ElecBug3ObjFR8Graphics
doDebugDraw__Q34Game7ElecBug3ObjFR8Graphics:
/* 8027AEF8 00277E38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027AEFC 00277E3C 7C 08 02 A6 */ mflr r0
/* 8027AF00 00277E40 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027AF04 00277E44 4B E8 AF 69 */ bl doDebugDraw__Q24Game9EnemyBaseFR8Graphics
/* 8027AF08 00277E48 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027AF0C 00277E4C 7C 08 03 A6 */ mtlr r0
/* 8027AF10 00277E50 38 21 00 10 */ addi r1, r1, 0x10
/* 8027AF14 00277E54 4E 80 00 20 */ blr
.global setFSM__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3FSM
setFSM__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3FSM:
/* 8027AF18 00277E58 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027AF1C 00277E5C 7C 08 02 A6 */ mflr r0
/* 8027AF20 00277E60 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027AF24 00277E64 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027AF28 00277E68 7C 7F 1B 78 */ mr r31, r3
/* 8027AF2C 00277E6C 90 83 02 BC */ stw r4, 0x2bc(r3)
/* 8027AF30 00277E70 7F E4 FB 78 */ mr r4, r31
/* 8027AF34 00277E74 80 63 02 BC */ lwz r3, 0x2bc(r3)
/* 8027AF38 00277E78 81 83 00 00 */ lwz r12, 0(r3)
/* 8027AF3C 00277E7C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027AF40 00277E80 7D 89 03 A6 */ mtctr r12
/* 8027AF44 00277E84 4E 80 04 21 */ bctrl
/* 8027AF48 00277E88 38 00 00 00 */ li r0, 0
/* 8027AF4C 00277E8C 90 1F 02 B4 */ stw r0, 0x2b4(r31)
/* 8027AF50 00277E90 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027AF54 00277E94 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027AF58 00277E98 7C 08 03 A6 */ mtlr r0
/* 8027AF5C 00277E9C 38 21 00 10 */ addi r1, r1, 0x10
/* 8027AF60 00277EA0 4E 80 00 20 */ blr
.global getShadowParam__Q34Game7ElecBug3ObjFRQ24Game11ShadowParam
getShadowParam__Q34Game7ElecBug3ObjFRQ24Game11ShadowParam:
/* 8027AF64 00277EA4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027AF68 00277EA8 7C 08 02 A6 */ mflr r0
/* 8027AF6C 00277EAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027AF70 00277EB0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027AF74 00277EB4 7C 9F 23 78 */ mr r31, r4
/* 8027AF78 00277EB8 38 82 D1 98 */ addi r4, r2, lbl_8051B4F8@sda21
/* 8027AF7C 00277EBC 80 63 01 74 */ lwz r3, 0x174(r3)
/* 8027AF80 00277EC0 48 1C 40 65 */ bl getJoint__Q28SysShape5ModelFPc
/* 8027AF84 00277EC4 48 1A E9 1D */ bl getWorldMatrix__Q28SysShape5JointFv
/* 8027AF88 00277EC8 C0 83 00 2C */ lfs f4, 0x2c(r3)
/* 8027AF8C 00277ECC C0 23 00 1C */ lfs f1, 0x1c(r3)
/* 8027AF90 00277ED0 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8027AF94 00277ED4 C0 62 D1 A0 */ lfs f3, lbl_8051B500@sda21(r2)
/* 8027AF98 00277ED8 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8027AF9C 00277EDC C0 42 D1 88 */ lfs f2, lbl_8051B4E8@sda21(r2)
/* 8027AFA0 00277EE0 D0 3F 00 04 */ stfs f1, 4(r31)
/* 8027AFA4 00277EE4 C0 22 D1 A4 */ lfs f1, lbl_8051B504@sda21(r2)
/* 8027AFA8 00277EE8 D0 9F 00 08 */ stfs f4, 8(r31)
/* 8027AFAC 00277EEC C0 02 D1 A8 */ lfs f0, lbl_8051B508@sda21(r2)
/* 8027AFB0 00277EF0 C0 9F 00 04 */ lfs f4, 4(r31)
/* 8027AFB4 00277EF4 EC 64 18 28 */ fsubs f3, f4, f3
/* 8027AFB8 00277EF8 D0 7F 00 04 */ stfs f3, 4(r31)
/* 8027AFBC 00277EFC D0 5F 00 0C */ stfs f2, 0xc(r31)
/* 8027AFC0 00277F00 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 8027AFC4 00277F04 D0 5F 00 14 */ stfs f2, 0x14(r31)
/* 8027AFC8 00277F08 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 8027AFCC 00277F0C D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 8027AFD0 00277F10 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027AFD4 00277F14 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027AFD8 00277F18 7C 08 03 A6 */ mtlr r0
/* 8027AFDC 00277F1C 38 21 00 10 */ addi r1, r1, 0x10
/* 8027AFE0 00277F20 4E 80 00 20 */ blr
.global collisionCallback__Q34Game7ElecBug3ObjFRQ24Game9CollEvent
collisionCallback__Q34Game7ElecBug3ObjFRQ24Game9CollEvent:
/* 8027AFE4 00277F24 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8027AFE8 00277F28 7C 08 02 A6 */ mflr r0
/* 8027AFEC 00277F2C 90 01 00 74 */ stw r0, 0x74(r1)
/* 8027AFF0 00277F30 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 8027AFF4 00277F34 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 8027AFF8 00277F38 DB C1 00 50 */ stfd f30, 0x50(r1)
/* 8027AFFC 00277F3C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0
/* 8027B000 00277F40 DB A1 00 40 */ stfd f29, 0x40(r1)
/* 8027B004 00277F44 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0
/* 8027B008 00277F48 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8027B00C 00277F4C 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8027B010 00277F50 7C 9F 23 78 */ mr r31, r4
/* 8027B014 00277F54 7C 7E 1B 78 */ mr r30, r3
/* 8027B018 00277F58 80 04 00 00 */ lwz r0, 0(r4)
/* 8027B01C 00277F5C 28 00 00 00 */ cmplwi r0, 0
/* 8027B020 00277F60 41 82 01 60 */ beq .L_8027B180
/* 8027B024 00277F64 80 1E 01 E0 */ lwz r0, 0x1e0(r30)
/* 8027B028 00277F68 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8027B02C 00277F6C 40 82 01 54 */ bne .L_8027B180
/* 8027B030 00277F70 4B E8 C3 C5 */ bl getStateID__Q24Game9EnemyBaseFv
/* 8027B034 00277F74 2C 03 00 05 */ cmpwi r3, 5
/* 8027B038 00277F78 41 82 00 0C */ beq .L_8027B044
/* 8027B03C 00277F7C 2C 03 00 07 */ cmpwi r3, 7
/* 8027B040 00277F80 40 82 01 40 */ bne .L_8027B180
.L_8027B044:
/* 8027B044 00277F84 80 7F 00 00 */ lwz r3, 0(r31)
/* 8027B048 00277F88 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B04C 00277F8C 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8027B050 00277F90 7D 89 03 A6 */ mtctr r12
/* 8027B054 00277F94 4E 80 04 21 */ bctrl
/* 8027B058 00277F98 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B05C 00277F9C 40 82 00 20 */ bne .L_8027B07C
/* 8027B060 00277FA0 80 7F 00 00 */ lwz r3, 0(r31)
/* 8027B064 00277FA4 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B068 00277FA8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8027B06C 00277FAC 7D 89 03 A6 */ mtctr r12
/* 8027B070 00277FB0 4E 80 04 21 */ bctrl
/* 8027B074 00277FB4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B078 00277FB8 41 82 01 08 */ beq .L_8027B180
.L_8027B07C:
/* 8027B07C 00277FBC 80 9F 00 00 */ lwz r4, 0(r31)
/* 8027B080 00277FC0 38 61 00 08 */ addi r3, r1, 8
/* 8027B084 00277FC4 81 84 00 00 */ lwz r12, 0(r4)
/* 8027B088 00277FC8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027B08C 00277FCC 7D 89 03 A6 */ mtctr r12
/* 8027B090 00277FD0 4E 80 04 21 */ bctrl
/* 8027B094 00277FD4 C0 61 00 08 */ lfs f3, 8(r1)
/* 8027B098 00277FD8 C0 3E 01 8C */ lfs f1, 0x18c(r30)
/* 8027B09C 00277FDC C0 81 00 10 */ lfs f4, 0x10(r1)
/* 8027B0A0 00277FE0 C0 1E 01 94 */ lfs f0, 0x194(r30)
/* 8027B0A4 00277FE4 EC 63 08 28 */ fsubs f3, f3, f1
/* 8027B0A8 00277FE8 C0 22 D1 88 */ lfs f1, lbl_8051B4E8@sda21(r2)
/* 8027B0AC 00277FEC EC 84 00 28 */ fsubs f4, f4, f0
/* 8027B0B0 00277FF0 EC 03 08 FA */ fmadds f0, f3, f3, f1
/* 8027B0B4 00277FF4 EC 44 01 32 */ fmuls f2, f4, f4
/* 8027B0B8 00277FF8 EC 42 00 2A */ fadds f2, f2, f0
/* 8027B0BC 00277FFC FC 02 08 40 */ fcmpo cr0, f2, f1
/* 8027B0C0 00278000 40 81 00 14 */ ble .L_8027B0D4
/* 8027B0C4 00278004 40 81 00 14 */ ble .L_8027B0D8
/* 8027B0C8 00278008 FC 00 10 34 */ frsqrte f0, f2
/* 8027B0CC 0027800C EC 40 00 B2 */ fmuls f2, f0, f2
/* 8027B0D0 00278010 48 00 00 08 */ b .L_8027B0D8
.L_8027B0D4:
/* 8027B0D4 00278014 FC 40 08 90 */ fmr f2, f1
.L_8027B0D8:
/* 8027B0D8 00278018 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2)
/* 8027B0DC 0027801C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8027B0E0 00278020 40 81 00 14 */ ble .L_8027B0F4
/* 8027B0E4 00278024 C0 02 D1 A4 */ lfs f0, lbl_8051B504@sda21(r2)
/* 8027B0E8 00278028 EC 00 10 24 */ fdivs f0, f0, f2
/* 8027B0EC 0027802C EC 63 00 32 */ fmuls f3, f3, f0
/* 8027B0F0 00278030 EC 84 00 32 */ fmuls f4, f4, f0
.L_8027B0F4:
/* 8027B0F4 00278034 80 7F 00 00 */ lwz r3, 0(r31)
/* 8027B0F8 00278038 80 9E 00 C0 */ lwz r4, 0xc0(r30)
/* 8027B0FC 0027803C 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B100 00278040 C0 04 04 4C */ lfs f0, 0x44c(r4)
/* 8027B104 00278044 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8027B108 00278048 EF C4 00 32 */ fmuls f30, f4, f0
/* 8027B10C 0027804C C3 A4 04 74 */ lfs f29, 0x474(r4)
/* 8027B110 00278050 EF E3 00 32 */ fmuls f31, f3, f0
/* 8027B114 00278054 7D 89 03 A6 */ mtctr r12
/* 8027B118 00278058 4E 80 04 21 */ bctrl
/* 8027B11C 0027805C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B120 00278060 41 82 00 08 */ beq .L_8027B128
/* 8027B124 00278064 C3 A2 D1 88 */ lfs f29, lbl_8051B4E8@sda21(r2)
.L_8027B128:
/* 8027B128 00278068 80 DE 00 C0 */ lwz r6, 0xc0(r30)
/* 8027B12C 0027806C 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha
/* 8027B130 00278070 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractWind@ha
/* 8027B134 00278074 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractDenki@ha
/* 8027B138 00278078 C0 06 06 04 */ lfs f0, 0x604(r6)
/* 8027B13C 0027807C 38 C5 A3 00 */ addi r6, r5, __vt__Q24Game11Interaction@l
/* 8027B140 00278080 38 A4 49 74 */ addi r5, r4, __vt__Q24Game12InteractWind@l
/* 8027B144 00278084 38 03 49 08 */ addi r0, r3, __vt__Q24Game13InteractDenki@l
/* 8027B148 00278088 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8027B14C 0027808C 38 81 00 14 */ addi r4, r1, 0x14
/* 8027B150 00278090 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8027B154 00278094 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8027B158 00278098 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8027B15C 0027809C D3 E1 00 20 */ stfs f31, 0x20(r1)
/* 8027B160 002780A0 D3 A1 00 24 */ stfs f29, 0x24(r1)
/* 8027B164 002780A4 D3 C1 00 28 */ stfs f30, 0x28(r1)
/* 8027B168 002780A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B16C 002780AC 80 7F 00 00 */ lwz r3, 0(r31)
/* 8027B170 002780B0 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B174 002780B4 81 8C 01 A4 */ lwz r12, 0x1a4(r12)
/* 8027B178 002780B8 7D 89 03 A6 */ mtctr r12
/* 8027B17C 002780BC 4E 80 04 21 */ bctrl
.L_8027B180:
/* 8027B180 002780C0 7F C3 F3 78 */ mr r3, r30
/* 8027B184 002780C4 7F E4 FB 78 */ mr r4, r31
/* 8027B188 002780C8 81 9E 00 00 */ lwz r12, 0(r30)
/* 8027B18C 002780CC 81 8C 02 40 */ lwz r12, 0x240(r12)
/* 8027B190 002780D0 7D 89 03 A6 */ mtctr r12
/* 8027B194 002780D4 4E 80 04 21 */ bctrl
/* 8027B198 002780D8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 8027B19C 002780DC CB E1 00 60 */ lfd f31, 0x60(r1)
/* 8027B1A0 002780E0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0
/* 8027B1A4 002780E4 CB C1 00 50 */ lfd f30, 0x50(r1)
/* 8027B1A8 002780E8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0
/* 8027B1AC 002780EC CB A1 00 40 */ lfd f29, 0x40(r1)
/* 8027B1B0 002780F0 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8027B1B4 002780F4 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8027B1B8 002780F8 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8027B1BC 002780FC 7C 08 03 A6 */ mtlr r0
/* 8027B1C0 00278100 38 21 00 70 */ addi r1, r1, 0x70
/* 8027B1C4 00278104 4E 80 00 20 */ blr
.global pressCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart
pressCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart:
/* 8027B1C8 00278108 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8027B1CC 0027810C 7C 08 02 A6 */ mflr r0
/* 8027B1D0 00278110 90 01 00 44 */ stw r0, 0x44(r1)
/* 8027B1D4 00278114 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8027B1D8 00278118 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8027B1DC 0027811C 7C 9E 23 78 */ mr r30, r4
/* 8027B1E0 00278120 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8027B1E4 00278124 7C 7D 1B 78 */ mr r29, r3
/* 8027B1E8 00278128 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B1EC 0027812C 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 8027B1F0 00278130 7D 89 03 A6 */ mtctr r12
/* 8027B1F4 00278134 4E 80 04 21 */ bctrl
/* 8027B1F8 00278138 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B1FC 0027813C 41 82 01 68 */ beq .L_8027B364
/* 8027B200 00278140 80 1D 01 E0 */ lwz r0, 0x1e0(r29)
/* 8027B204 00278144 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8027B208 00278148 40 82 01 5C */ bne .L_8027B364
/* 8027B20C 0027814C 28 1E 00 00 */ cmplwi r30, 0
/* 8027B210 00278150 41 82 01 54 */ beq .L_8027B364
/* 8027B214 00278154 7F C3 F3 78 */ mr r3, r30
/* 8027B218 00278158 81 9E 00 00 */ lwz r12, 0(r30)
/* 8027B21C 0027815C 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8027B220 00278160 7D 89 03 A6 */ mtctr r12
/* 8027B224 00278164 4E 80 04 21 */ bctrl
/* 8027B228 00278168 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B22C 0027816C 41 82 01 38 */ beq .L_8027B364
/* 8027B230 00278170 7F A3 EB 78 */ mr r3, r29
/* 8027B234 00278174 4B E8 C1 C1 */ bl getStateID__Q24Game9EnemyBaseFv
/* 8027B238 00278178 7C 7F 1B 78 */ mr r31, r3
/* 8027B23C 0027817C 2C 1F 00 01 */ cmpwi r31, 1
/* 8027B240 00278180 41 80 01 24 */ blt .L_8027B364
/* 8027B244 00278184 2C 1F 00 07 */ cmpwi r31, 7
/* 8027B248 00278188 41 81 01 1C */ bgt .L_8027B364
/* 8027B24C 0027818C 80 7D 02 BC */ lwz r3, 0x2bc(r29)
/* 8027B250 00278190 7F A4 EB 78 */ mr r4, r29
/* 8027B254 00278194 38 A0 00 08 */ li r5, 8
/* 8027B258 00278198 38 C0 00 00 */ li r6, 0
/* 8027B25C 0027819C 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B260 002781A0 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8027B264 002781A4 7D 89 03 A6 */ mtctr r12
/* 8027B268 002781A8 4E 80 04 21 */ bctrl
/* 8027B26C 002781AC 2C 1F 00 05 */ cmpwi r31, 5
/* 8027B270 002781B0 41 82 00 0C */ beq .L_8027B27C
/* 8027B274 002781B4 2C 1F 00 07 */ cmpwi r31, 7
/* 8027B278 002781B8 40 82 00 E4 */ bne .L_8027B35C
.L_8027B27C:
/* 8027B27C 002781BC 7F C4 F3 78 */ mr r4, r30
/* 8027B280 002781C0 38 61 00 08 */ addi r3, r1, 8
/* 8027B284 002781C4 81 9E 00 00 */ lwz r12, 0(r30)
/* 8027B288 002781C8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027B28C 002781CC 7D 89 03 A6 */ mtctr r12
/* 8027B290 002781D0 4E 80 04 21 */ bctrl
/* 8027B294 002781D4 C0 81 00 08 */ lfs f4, 8(r1)
/* 8027B298 002781D8 C0 3D 01 8C */ lfs f1, 0x18c(r29)
/* 8027B29C 002781DC C0 A1 00 10 */ lfs f5, 0x10(r1)
/* 8027B2A0 002781E0 C0 1D 01 94 */ lfs f0, 0x194(r29)
/* 8027B2A4 002781E4 EC 84 08 28 */ fsubs f4, f4, f1
/* 8027B2A8 002781E8 C0 22 D1 88 */ lfs f1, lbl_8051B4E8@sda21(r2)
/* 8027B2AC 002781EC EC A5 00 28 */ fsubs f5, f5, f0
/* 8027B2B0 002781F0 EC 04 09 3A */ fmadds f0, f4, f4, f1
/* 8027B2B4 002781F4 EC 45 01 72 */ fmuls f2, f5, f5
/* 8027B2B8 002781F8 EC 42 00 2A */ fadds f2, f2, f0
/* 8027B2BC 002781FC FC 02 08 40 */ fcmpo cr0, f2, f1
/* 8027B2C0 00278200 40 81 00 14 */ ble .L_8027B2D4
/* 8027B2C4 00278204 40 81 00 14 */ ble .L_8027B2D8
/* 8027B2C8 00278208 FC 00 10 34 */ frsqrte f0, f2
/* 8027B2CC 0027820C EC 40 00 B2 */ fmuls f2, f0, f2
/* 8027B2D0 00278210 48 00 00 08 */ b .L_8027B2D8
.L_8027B2D4:
/* 8027B2D4 00278214 FC 40 08 90 */ fmr f2, f1
.L_8027B2D8:
/* 8027B2D8 00278218 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2)
/* 8027B2DC 0027821C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8027B2E0 00278220 40 81 00 14 */ ble .L_8027B2F4
/* 8027B2E4 00278224 C0 02 D1 A4 */ lfs f0, lbl_8051B504@sda21(r2)
/* 8027B2E8 00278228 EC 00 10 24 */ fdivs f0, f0, f2
/* 8027B2EC 0027822C EC 84 00 32 */ fmuls f4, f4, f0
/* 8027B2F0 00278230 EC A5 00 32 */ fmuls f5, f5, f0
.L_8027B2F4:
/* 8027B2F4 00278234 80 FD 00 C0 */ lwz r7, 0xc0(r29)
/* 8027B2F8 00278238 3C A0 80 4B */ lis r5, __vt__Q24Game11Interaction@ha
/* 8027B2FC 0027823C 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractWind@ha
/* 8027B300 00278240 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractDenki@ha
/* 8027B304 00278244 C0 07 04 4C */ lfs f0, 0x44c(r7)
/* 8027B308 00278248 38 C5 A3 00 */ addi r6, r5, __vt__Q24Game11Interaction@l
/* 8027B30C 0027824C C0 27 04 74 */ lfs f1, 0x474(r7)
/* 8027B310 00278250 38 A4 49 74 */ addi r5, r4, __vt__Q24Game12InteractWind@l
/* 8027B314 00278254 C0 67 06 04 */ lfs f3, 0x604(r7)
/* 8027B318 00278258 EC 45 00 32 */ fmuls f2, f5, f0
/* 8027B31C 0027825C EC 04 00 32 */ fmuls f0, f4, f0
/* 8027B320 00278260 38 03 49 08 */ addi r0, r3, __vt__Q24Game13InteractDenki@l
/* 8027B324 00278264 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8027B328 00278268 7F C3 F3 78 */ mr r3, r30
/* 8027B32C 0027826C 38 81 00 14 */ addi r4, r1, 0x14
/* 8027B330 00278270 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8027B334 00278274 93 A1 00 18 */ stw r29, 0x18(r1)
/* 8027B338 00278278 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 8027B33C 0027827C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8027B340 00278280 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 8027B344 00278284 D0 41 00 28 */ stfs f2, 0x28(r1)
/* 8027B348 00278288 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B34C 0027828C 81 9E 00 00 */ lwz r12, 0(r30)
/* 8027B350 00278290 81 8C 01 A4 */ lwz r12, 0x1a4(r12)
/* 8027B354 00278294 7D 89 03 A6 */ mtctr r12
/* 8027B358 00278298 4E 80 04 21 */ bctrl
.L_8027B35C:
/* 8027B35C 0027829C 38 60 00 01 */ li r3, 1
/* 8027B360 002782A0 48 00 00 08 */ b .L_8027B368
.L_8027B364:
/* 8027B364 002782A4 38 60 00 00 */ li r3, 0
.L_8027B368:
/* 8027B368 002782A8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8027B36C 002782AC 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8027B370 002782B0 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8027B374 002782B4 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8027B378 002782B8 7C 08 03 A6 */ mtlr r0
/* 8027B37C 002782BC 38 21 00 40 */ addi r1, r1, 0x40
/* 8027B380 002782C0 4E 80 00 20 */ blr
.global hipdropCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart
hipdropCallBack__Q34Game7ElecBug3ObjFPQ24Game8CreaturefP8CollPart:
/* 8027B384 002782C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B388 002782C8 7C 08 02 A6 */ mflr r0
/* 8027B38C 002782CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B390 002782D0 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B394 002782D4 81 8C 02 7C */ lwz r12, 0x27c(r12)
/* 8027B398 002782D8 7D 89 03 A6 */ mtctr r12
/* 8027B39C 002782DC 4E 80 04 21 */ bctrl
/* 8027B3A0 002782E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B3A4 002782E4 7C 08 03 A6 */ mtlr r0
/* 8027B3A8 002782E8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B3AC 002782EC 4E 80 00 20 */ blr
.global earthquakeCallBack__Q34Game7ElecBug3ObjFPQ24Game8Creaturef
earthquakeCallBack__Q34Game7ElecBug3ObjFPQ24Game8Creaturef:
/* 8027B3B0 002782F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B3B4 002782F4 7C 08 02 A6 */ mflr r0
/* 8027B3B8 002782F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B3BC 002782FC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027B3C0 00278300 7C 9F 23 78 */ mr r31, r4
/* 8027B3C4 00278304 93 C1 00 08 */ stw r30, 8(r1)
/* 8027B3C8 00278308 7C 7E 1B 78 */ mr r30, r3
/* 8027B3CC 0027830C 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B3D0 00278310 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 8027B3D4 00278314 7D 89 03 A6 */ mtctr r12
/* 8027B3D8 00278318 4E 80 04 21 */ bctrl
/* 8027B3DC 0027831C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B3E0 00278320 41 82 00 74 */ beq .L_8027B454
/* 8027B3E4 00278324 80 1E 01 E0 */ lwz r0, 0x1e0(r30)
/* 8027B3E8 00278328 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8027B3EC 0027832C 40 82 00 68 */ bne .L_8027B454
/* 8027B3F0 00278330 28 1F 00 00 */ cmplwi r31, 0
/* 8027B3F4 00278334 41 82 00 60 */ beq .L_8027B454
/* 8027B3F8 00278338 7F E3 FB 78 */ mr r3, r31
/* 8027B3FC 0027833C 81 9F 00 00 */ lwz r12, 0(r31)
/* 8027B400 00278340 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8027B404 00278344 7D 89 03 A6 */ mtctr r12
/* 8027B408 00278348 4E 80 04 21 */ bctrl
/* 8027B40C 0027834C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B410 00278350 41 82 00 44 */ beq .L_8027B454
/* 8027B414 00278354 7F C3 F3 78 */ mr r3, r30
/* 8027B418 00278358 4B E8 BF DD */ bl getStateID__Q24Game9EnemyBaseFv
/* 8027B41C 0027835C 2C 03 00 01 */ cmpwi r3, 1
/* 8027B420 00278360 41 80 00 34 */ blt .L_8027B454
/* 8027B424 00278364 2C 03 00 07 */ cmpwi r3, 7
/* 8027B428 00278368 41 81 00 2C */ bgt .L_8027B454
/* 8027B42C 0027836C 80 7E 02 BC */ lwz r3, 0x2bc(r30)
/* 8027B430 00278370 7F C4 F3 78 */ mr r4, r30
/* 8027B434 00278374 38 A0 00 08 */ li r5, 8
/* 8027B438 00278378 38 C0 00 00 */ li r6, 0
/* 8027B43C 0027837C 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B440 00278380 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8027B444 00278384 7D 89 03 A6 */ mtctr r12
/* 8027B448 00278388 4E 80 04 21 */ bctrl
/* 8027B44C 0027838C 38 60 00 01 */ li r3, 1
/* 8027B450 00278390 48 00 00 08 */ b .L_8027B458
.L_8027B454:
/* 8027B454 00278394 38 60 00 00 */ li r3, 0
.L_8027B458:
/* 8027B458 00278398 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B45C 0027839C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027B460 002783A0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027B464 002783A4 7C 08 03 A6 */ mtlr r0
/* 8027B468 002783A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B46C 002783AC 4E 80 00 20 */ blr
.global doStartStoneState__Q34Game7ElecBug3ObjFv
doStartStoneState__Q34Game7ElecBug3ObjFv:
/* 8027B470 002783B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B474 002783B4 7C 08 02 A6 */ mflr r0
/* 8027B478 002783B8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B47C 002783BC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027B480 002783C0 7C 7F 1B 78 */ mr r31, r3
/* 8027B484 002783C4 4B E8 7A 71 */ bl doStartStoneState__Q24Game9EnemyBaseFv
/* 8027B488 002783C8 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 8027B48C 002783CC 7F E3 FB 78 */ mr r3, r31
/* 8027B490 002783D0 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
/* 8027B494 002783D4 90 1F 01 E0 */ stw r0, 0x1e0(r31)
/* 8027B498 002783D8 48 00 08 C9 */ bl finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
/* 8027B49C 002783DC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B4A0 002783E0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027B4A4 002783E4 7C 08 03 A6 */ mtlr r0
/* 8027B4A8 002783E8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B4AC 002783EC 4E 80 00 20 */ blr
.global doFinishStoneState__Q34Game7ElecBug3ObjFv
doFinishStoneState__Q34Game7ElecBug3ObjFv:
/* 8027B4B0 002783F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B4B4 002783F4 7C 08 02 A6 */ mflr r0
/* 8027B4B8 002783F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B4BC 002783FC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027B4C0 00278400 7C 7F 1B 78 */ mr r31, r3
/* 8027B4C4 00278404 4B E8 BF 31 */ bl getStateID__Q24Game9EnemyBaseFv
/* 8027B4C8 00278408 2C 03 00 08 */ cmpwi r3, 8
/* 8027B4CC 0027840C 41 82 00 10 */ beq .L_8027B4DC
/* 8027B4D0 00278410 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 8027B4D4 00278414 60 00 00 01 */ ori r0, r0, 1
/* 8027B4D8 00278418 90 1F 01 E0 */ stw r0, 0x1e0(r31)
.L_8027B4DC:
/* 8027B4DC 0027841C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B4E0 00278420 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027B4E4 00278424 7C 08 03 A6 */ mtlr r0
/* 8027B4E8 00278428 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B4EC 0027842C 4E 80 00 20 */ blr
.global doStartWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv
doStartWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv:
/* 8027B4F0 00278430 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B4F4 00278434 7C 08 02 A6 */ mflr r0
/* 8027B4F8 00278438 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B4FC 0027843C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027B500 00278440 7C 7F 1B 78 */ mr r31, r3
/* 8027B504 00278444 4B E8 C4 95 */ bl doStartWaitingBirthTypeDrop__Q24Game9EnemyBaseFv
/* 8027B508 00278448 7F E3 FB 78 */ mr r3, r31
/* 8027B50C 0027844C 48 00 09 85 */ bl effectDrawOff__Q34Game7ElecBug3ObjFv
/* 8027B510 00278450 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B514 00278454 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027B518 00278458 7C 08 03 A6 */ mtlr r0
/* 8027B51C 0027845C 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B520 00278460 4E 80 00 20 */ blr
.global doFinishWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv
doFinishWaitingBirthTypeDrop__Q34Game7ElecBug3ObjFv:
/* 8027B524 00278464 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B528 00278468 7C 08 02 A6 */ mflr r0
/* 8027B52C 0027846C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B530 00278470 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027B534 00278474 7C 7F 1B 78 */ mr r31, r3
/* 8027B538 00278478 4B E8 C4 91 */ bl doFinishWaitingBirthTypeDrop__Q24Game9EnemyBaseFv
/* 8027B53C 0027847C 7F E3 FB 78 */ mr r3, r31
/* 8027B540 00278480 48 00 08 C5 */ bl effectDrawOn__Q34Game7ElecBug3ObjFv
/* 8027B544 00278484 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B548 00278488 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027B54C 0027848C 7C 08 03 A6 */ mtlr r0
/* 8027B550 00278490 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B554 00278494 4E 80 00 20 */ blr
.global startCarcassMotion__Q34Game7ElecBug3ObjFv
startCarcassMotion__Q34Game7ElecBug3ObjFv:
/* 8027B558 00278498 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B55C 0027849C 7C 08 02 A6 */ mflr r0
/* 8027B560 002784A0 38 80 00 07 */ li r4, 7
/* 8027B564 002784A4 38 A0 00 00 */ li r5, 0
/* 8027B568 002784A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B56C 002784AC 4B E8 9A 99 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 8027B570 002784B0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B574 002784B4 7C 08 03 A6 */ mtlr r0
/* 8027B578 002784B8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B57C 002784BC 4E 80 00 20 */ blr
.global doStartMovie__Q34Game7ElecBug3ObjFv
doStartMovie__Q34Game7ElecBug3ObjFv:
/* 8027B580 002784C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B584 002784C4 7C 08 02 A6 */ mflr r0
/* 8027B588 002784C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B58C 002784CC 48 00 09 05 */ bl effectDrawOff__Q34Game7ElecBug3ObjFv
/* 8027B590 002784D0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B594 002784D4 7C 08 03 A6 */ mtlr r0
/* 8027B598 002784D8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B59C 002784DC 4E 80 00 20 */ blr
.global doEndMovie__Q34Game7ElecBug3ObjFv
doEndMovie__Q34Game7ElecBug3ObjFv:
/* 8027B5A0 002784E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B5A4 002784E4 7C 08 02 A6 */ mflr r0
/* 8027B5A8 002784E8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B5AC 002784EC 48 00 08 59 */ bl effectDrawOn__Q34Game7ElecBug3ObjFv
/* 8027B5B0 002784F0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B5B4 002784F4 7C 08 03 A6 */ mtlr r0
/* 8027B5B8 002784F8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B5BC 002784FC 4E 80 00 20 */ blr
.global setTargetPosition__Q34Game7ElecBug3ObjFv
setTargetPosition__Q34Game7ElecBug3ObjFv:
/* 8027B5C0 00278500 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8027B5C4 00278504 7C 08 02 A6 */ mflr r0
/* 8027B5C8 00278508 90 01 00 94 */ stw r0, 0x94(r1)
/* 8027B5CC 0027850C DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8027B5D0 00278510 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8027B5D4 00278514 DB C1 00 70 */ stfd f30, 0x70(r1)
/* 8027B5D8 00278518 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
/* 8027B5DC 0027851C DB A1 00 60 */ stfd f29, 0x60(r1)
/* 8027B5E0 00278520 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0
/* 8027B5E4 00278524 DB 81 00 50 */ stfd f28, 0x50(r1)
/* 8027B5E8 00278528 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0
/* 8027B5EC 0027852C DB 61 00 40 */ stfd f27, 0x40(r1)
/* 8027B5F0 00278530 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0
/* 8027B5F4 00278534 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8027B5F8 00278538 7C 7F 1B 78 */ mr r31, r3
/* 8027B5FC 0027853C C3 C3 01 98 */ lfs f30, 0x198(r3)
/* 8027B600 00278540 C3 A3 01 9C */ lfs f29, 0x19c(r3)
/* 8027B604 00278544 C3 83 01 A0 */ lfs f28, 0x1a0(r3)
/* 8027B608 00278548 4B E4 DF 99 */ bl rand
/* 8027B60C 0027854C 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8027B610 00278550 3C 00 43 30 */ lis r0, 0x4330
/* 8027B614 00278554 90 61 00 0C */ stw r3, 0xc(r1)
/* 8027B618 00278558 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8027B61C 0027855C 90 01 00 08 */ stw r0, 8(r1)
/* 8027B620 00278560 C8 22 D1 90 */ lfd f1, lbl_8051B4F0@sda21(r2)
/* 8027B624 00278564 C8 01 00 08 */ lfd f0, 8(r1)
/* 8027B628 00278568 C0 62 D1 AC */ lfs f3, lbl_8051B50C@sda21(r2)
/* 8027B62C 0027856C EC 80 08 28 */ fsubs f4, f0, f1
/* 8027B630 00278570 C0 42 D1 84 */ lfs f2, lbl_8051B4E4@sda21(r2)
/* 8027B634 00278574 C0 23 03 5C */ lfs f1, 0x35c(r3)
/* 8027B638 00278578 C0 03 03 84 */ lfs f0, 0x384(r3)
/* 8027B63C 0027857C EC 63 01 32 */ fmuls f3, f3, f4
/* 8027B640 00278580 EF 61 00 28 */ fsubs f27, f1, f0
/* 8027B644 00278584 EF E3 10 24 */ fdivs f31, f3, f2
/* 8027B648 00278588 4B E4 DF 59 */ bl rand
/* 8027B64C 0027858C 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8027B650 00278590 3C 00 43 30 */ lis r0, 0x4330
/* 8027B654 00278594 90 61 00 14 */ stw r3, 0x14(r1)
/* 8027B658 00278598 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8027B65C 0027859C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8027B660 002785A0 C8 42 D1 90 */ lfd f2, lbl_8051B4F0@sda21(r2)
/* 8027B664 002785A4 C8 21 00 10 */ lfd f1, 0x10(r1)
/* 8027B668 002785A8 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2)
/* 8027B66C 002785AC EC 61 10 28 */ fsubs f3, f1, f2
/* 8027B670 002785B0 C0 42 D1 84 */ lfs f2, lbl_8051B4E4@sda21(r2)
/* 8027B674 002785B4 C0 23 03 84 */ lfs f1, 0x384(r3)
/* 8027B678 002785B8 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8027B67C 002785BC EC 1B 00 F2 */ fmuls f0, f27, f3
/* 8027B680 002785C0 EC 00 10 24 */ fdivs f0, f0, f2
/* 8027B684 002785C4 EC 41 00 2A */ fadds f2, f1, f0
/* 8027B688 002785C8 40 80 00 30 */ bge .L_8027B6B8
/* 8027B68C 002785CC C0 02 D1 B0 */ lfs f0, lbl_8051B510@sda21(r2)
/* 8027B690 002785D0 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha
/* 8027B694 002785D4 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l
/* 8027B698 002785D8 EC 1F 00 32 */ fmuls f0, f31, f0
/* 8027B69C 002785DC FC 00 00 1E */ fctiwz f0, f0
/* 8027B6A0 002785E0 D8 01 00 18 */ stfd f0, 0x18(r1)
/* 8027B6A4 002785E4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8027B6A8 002785E8 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c
/* 8027B6AC 002785EC 7C 03 04 2E */ lfsx f0, r3, r0
/* 8027B6B0 002785F0 FC 00 00 50 */ fneg f0, f0
/* 8027B6B4 002785F4 48 00 00 28 */ b .L_8027B6DC
.L_8027B6B8:
/* 8027B6B8 002785F8 C0 02 D1 B4 */ lfs f0, lbl_8051B514@sda21(r2)
/* 8027B6BC 002785FC 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha
/* 8027B6C0 00278600 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l
/* 8027B6C4 00278604 EC 1F 00 32 */ fmuls f0, f31, f0
/* 8027B6C8 00278608 FC 00 00 1E */ fctiwz f0, f0
/* 8027B6CC 0027860C D8 01 00 20 */ stfd f0, 0x20(r1)
/* 8027B6D0 00278610 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8027B6D4 00278614 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c
/* 8027B6D8 00278618 7C 03 04 2E */ lfsx f0, r3, r0
.L_8027B6DC:
/* 8027B6DC 0027861C EC 22 F0 3A */ fmadds f1, f2, f0, f30
/* 8027B6E0 00278620 C0 02 D1 88 */ lfs f0, lbl_8051B4E8@sda21(r2)
/* 8027B6E4 00278624 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8027B6E8 00278628 D0 3F 02 C8 */ stfs f1, 0x2c8(r31)
/* 8027B6EC 0027862C D3 BF 02 CC */ stfs f29, 0x2cc(r31)
/* 8027B6F0 00278630 40 80 00 08 */ bge .L_8027B6F8
/* 8027B6F4 00278634 FF E0 F8 50 */ fneg f31, f31
.L_8027B6F8:
/* 8027B6F8 00278638 C0 02 D1 B4 */ lfs f0, lbl_8051B514@sda21(r2)
/* 8027B6FC 0027863C 3C 60 80 50 */ lis r3, sincosTable___5JMath@ha
/* 8027B700 00278640 38 63 71 A0 */ addi r3, r3, sincosTable___5JMath@l
/* 8027B704 00278644 EC 1F 00 32 */ fmuls f0, f31, f0
/* 8027B708 00278648 FC 00 00 1E */ fctiwz f0, f0
/* 8027B70C 0027864C D8 01 00 28 */ stfd f0, 0x28(r1)
/* 8027B710 00278650 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8027B714 00278654 54 00 1C B8 */ rlwinm r0, r0, 3, 0x12, 0x1c
/* 8027B718 00278658 7C 63 02 14 */ add r3, r3, r0
/* 8027B71C 0027865C C0 03 00 04 */ lfs f0, 4(r3)
/* 8027B720 00278660 EC 02 E0 3A */ fmadds f0, f2, f0, f28
/* 8027B724 00278664 D0 1F 02 D0 */ stfs f0, 0x2d0(r31)
/* 8027B728 00278668 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 8027B72C 0027866C CB E1 00 80 */ lfd f31, 0x80(r1)
/* 8027B730 00278670 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
/* 8027B734 00278674 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 8027B738 00278678 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0
/* 8027B73C 0027867C CB A1 00 60 */ lfd f29, 0x60(r1)
/* 8027B740 00278680 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0
/* 8027B744 00278684 CB 81 00 50 */ lfd f28, 0x50(r1)
/* 8027B748 00278688 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0
/* 8027B74C 0027868C CB 61 00 40 */ lfd f27, 0x40(r1)
/* 8027B750 00278690 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8027B754 00278694 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8027B758 00278698 7C 08 03 A6 */ mtlr r0
/* 8027B75C 0027869C 38 21 00 90 */ addi r1, r1, 0x90
/* 8027B760 002786A0 4E 80 00 20 */ blr
.global resetPartnerPtr__Q34Game7ElecBug3ObjFv
resetPartnerPtr__Q34Game7ElecBug3ObjFv:
/* 8027B764 002786A4 80 83 02 D8 */ lwz r4, 0x2d8(r3)
/* 8027B768 002786A8 28 04 00 00 */ cmplwi r4, 0
/* 8027B76C 002786AC 4D 82 00 20 */ beqlr
/* 8027B770 002786B0 38 00 00 00 */ li r0, 0
/* 8027B774 002786B4 90 04 02 D8 */ stw r0, 0x2d8(r4)
/* 8027B778 002786B8 90 03 02 D8 */ stw r0, 0x2d8(r3)
/* 8027B77C 002786BC 4E 80 00 20 */ blr
.global isBecomeChargeState__Q34Game7ElecBug3ObjFv
isBecomeChargeState__Q34Game7ElecBug3ObjFv:
/* 8027B780 002786C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B784 002786C4 7C 08 02 A6 */ mflr r0
/* 8027B788 002786C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B78C 002786CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027B790 002786D0 7C 7F 1B 78 */ mr r31, r3
/* 8027B794 002786D4 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B798 002786D8 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 8027B79C 002786DC 7D 89 03 A6 */ mtctr r12
/* 8027B7A0 002786E0 4E 80 04 21 */ bctrl
/* 8027B7A4 002786E4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027B7A8 002786E8 41 82 00 30 */ beq .L_8027B7D8
/* 8027B7AC 002786EC 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 8027B7B0 002786F0 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 8027B7B4 002786F4 40 82 00 24 */ bne .L_8027B7D8
/* 8027B7B8 002786F8 7F E3 FB 78 */ mr r3, r31
/* 8027B7BC 002786FC 4B E8 BC 39 */ bl getStateID__Q24Game9EnemyBaseFv
/* 8027B7C0 00278700 2C 03 00 01 */ cmpwi r3, 1
/* 8027B7C4 00278704 41 80 00 14 */ blt .L_8027B7D8
/* 8027B7C8 00278708 2C 03 00 03 */ cmpwi r3, 3
/* 8027B7CC 0027870C 41 81 00 0C */ bgt .L_8027B7D8
/* 8027B7D0 00278710 38 60 00 01 */ li r3, 1
/* 8027B7D4 00278714 48 00 00 08 */ b .L_8027B7DC
.L_8027B7D8:
/* 8027B7D8 00278718 38 60 00 00 */ li r3, 0
.L_8027B7DC:
/* 8027B7DC 0027871C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B7E0 00278720 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027B7E4 00278724 7C 08 03 A6 */ mtlr r0
/* 8027B7E8 00278728 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B7EC 0027872C 4E 80 00 20 */ blr
.global startChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
startChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj:
/* 8027B7F0 00278730 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B7F4 00278734 7C 08 02 A6 */ mflr r0
/* 8027B7F8 00278738 7C 65 1B 78 */ mr r5, r3
/* 8027B7FC 0027873C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B800 00278740 90 83 02 D8 */ stw r4, 0x2d8(r3)
/* 8027B804 00278744 7C 83 23 78 */ mr r3, r4
/* 8027B808 00278748 7C A4 2B 78 */ mr r4, r5
/* 8027B80C 0027874C 48 00 00 15 */ bl startChildChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
/* 8027B810 00278750 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B814 00278754 7C 08 03 A6 */ mtlr r0
/* 8027B818 00278758 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B81C 0027875C 4E 80 00 20 */ blr
.global startChildChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
startChildChargeState__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj:
/* 8027B820 00278760 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B824 00278764 7C 08 02 A6 */ mflr r0
/* 8027B828 00278768 38 A0 00 06 */ li r5, 6
/* 8027B82C 0027876C 38 C0 00 00 */ li r6, 0
/* 8027B830 00278770 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B834 00278774 90 83 02 D8 */ stw r4, 0x2d8(r3)
/* 8027B838 00278778 7C 64 1B 78 */ mr r4, r3
/* 8027B83C 0027877C 80 63 02 BC */ lwz r3, 0x2bc(r3)
/* 8027B840 00278780 81 83 00 00 */ lwz r12, 0(r3)
/* 8027B844 00278784 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8027B848 00278788 7D 89 03 A6 */ mtctr r12
/* 8027B84C 0027878C 4E 80 04 21 */ bctrl
/* 8027B850 00278790 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B854 00278794 38 60 00 01 */ li r3, 1
/* 8027B858 00278798 7C 08 03 A6 */ mtlr r0
/* 8027B85C 0027879C 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B860 002787A0 4E 80 00 20 */ blr
.global createEffect__Q34Game7ElecBug3ObjFv
createEffect__Q34Game7ElecBug3ObjFv:
/* 8027B864 002787A4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027B868 002787A8 7C 08 02 A6 */ mflr r0
/* 8027B86C 002787AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027B870 002787B0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027B874 002787B4 7C 7F 1B 78 */ mr r31, r3
/* 8027B878 002787B8 38 60 00 74 */ li r3, 0x74
/* 8027B87C 002787BC 4B DA 86 29 */ bl __nw__FUl
/* 8027B880 002787C0 7C 60 1B 79 */ or. r0, r3, r3
/* 8027B884 002787C4 41 82 00 0C */ beq .L_8027B890
/* 8027B888 002787C8 48 00 00 21 */ bl __ct__Q23efx12TDnkmsEffectFv
/* 8027B88C 002787CC 7C 60 1B 78 */ mr r0, r3
.L_8027B890:
/* 8027B890 002787D0 90 1F 02 DC */ stw r0, 0x2dc(r31)
/* 8027B894 002787D4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027B898 002787D8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027B89C 002787DC 7C 08 03 A6 */ mtlr r0
/* 8027B8A0 002787E0 38 21 00 10 */ addi r1, r1, 0x10
/* 8027B8A4 002787E4 4E 80 00 20 */ blr
.global __ct__Q23efx12TDnkmsEffectFv
__ct__Q23efx12TDnkmsEffectFv:
/* 8027B8A8 002787E8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8027B8AC 002787EC 3C 80 80 4B */ lis r4, __vt__Q23efx5TBase@ha
/* 8027B8B0 002787F0 3C C0 80 4A */ lis r6, __vt__18JPAEmitterCallBack@ha
/* 8027B8B4 002787F4 3C A0 80 4E */ lis r5, __vt__Q23efx5TSync@ha
/* 8027B8B8 002787F8 BE C1 00 08 */ stmw r22, 8(r1)
/* 8027B8BC 002787FC 3B 24 A7 F8 */ addi r25, r4, __vt__Q23efx5TBase@l
/* 8027B8C0 00278800 3B 65 69 8C */ addi r27, r5, __vt__Q23efx5TSync@l
/* 8027B8C4 00278804 3C 80 80 4E */ lis r4, __vt__Q23efx9TChasePos@ha
/* 8027B8C8 00278808 3B C4 69 40 */ addi r30, r4, __vt__Q23efx9TChasePos@l
/* 8027B8CC 0027880C 3B 46 E2 7C */ addi r26, r6, __vt__18JPAEmitterCallBack@l
/* 8027B8D0 00278810 3C 80 80 4C */ lis r4, __vt__Q23efx13TDnkmsHoudenA@ha
/* 8027B8D4 00278814 3B 1B 00 14 */ addi r24, r27, 0x14
/* 8027B8D8 00278818 39 84 7B 64 */ addi r12, r4, __vt__Q23efx13TDnkmsHoudenA@l
/* 8027B8DC 0027881C 3B 80 00 00 */ li r28, 0
/* 8027B8E0 00278820 3C 80 80 4C */ lis r4, __vt__Q23efx13TDnkmsHoudenB@ha
/* 8027B8E4 00278824 3B A0 02 B2 */ li r29, 0x2b2
/* 8027B8E8 00278828 39 44 7B 18 */ addi r10, r4, __vt__Q23efx13TDnkmsHoudenB@l
/* 8027B8EC 0027882C 3A FE 00 14 */ addi r23, r30, 0x14
/* 8027B8F0 00278830 3C 80 80 4E */ lis r4, __vt__Q23efx14TDnkmsThunderA@ha
/* 8027B8F4 00278834 3B E0 00 33 */ li r31, 0x33
/* 8027B8F8 00278838 38 E4 6C 00 */ addi r7, r4, __vt__Q23efx14TDnkmsThunderA@l
/* 8027B8FC 0027883C 3A CC 00 14 */ addi r22, r12, 0x14
/* 8027B900 00278840 3C 80 80 4E */ lis r4, __vt__Q23efx14TDnkmsThunderB@ha
/* 8027B904 00278844 39 60 00 34 */ li r11, 0x34
/* 8027B908 00278848 38 84 6B B4 */ addi r4, r4, __vt__Q23efx14TDnkmsThunderB@l
/* 8027B90C 0027884C 39 2A 00 14 */ addi r9, r10, 0x14
/* 8027B910 00278850 39 00 00 35 */ li r8, 0x35
/* 8027B914 00278854 38 C7 00 14 */ addi r6, r7, 0x14
/* 8027B918 00278858 93 23 00 08 */ stw r25, 8(r3)
/* 8027B91C 0027885C 38 A0 00 36 */ li r5, 0x36
/* 8027B920 00278860 38 04 00 14 */ addi r0, r4, 0x14
/* 8027B924 00278864 93 43 00 0C */ stw r26, 0xc(r3)
/* 8027B928 00278868 93 63 00 08 */ stw r27, 8(r3)
/* 8027B92C 0027886C 93 03 00 0C */ stw r24, 0xc(r3)
/* 8027B930 00278870 93 83 00 10 */ stw r28, 0x10(r3)
/* 8027B934 00278874 B3 A3 00 14 */ sth r29, 0x14(r3)
/* 8027B938 00278878 9B 83 00 16 */ stb r28, 0x16(r3)
/* 8027B93C 0027887C 93 C3 00 08 */ stw r30, 8(r3)
/* 8027B940 00278880 92 E3 00 0C */ stw r23, 0xc(r3)
/* 8027B944 00278884 93 83 00 18 */ stw r28, 0x18(r3)
/* 8027B948 00278888 B3 E3 00 14 */ sth r31, 0x14(r3)
/* 8027B94C 0027888C 91 83 00 08 */ stw r12, 8(r3)
/* 8027B950 00278890 92 C3 00 0C */ stw r22, 0xc(r3)
/* 8027B954 00278894 93 23 00 1C */ stw r25, 0x1c(r3)
/* 8027B958 00278898 93 43 00 20 */ stw r26, 0x20(r3)
/* 8027B95C 0027889C 93 63 00 1C */ stw r27, 0x1c(r3)
/* 8027B960 002788A0 93 03 00 20 */ stw r24, 0x20(r3)
/* 8027B964 002788A4 93 83 00 24 */ stw r28, 0x24(r3)
/* 8027B968 002788A8 B3 A3 00 28 */ sth r29, 0x28(r3)
/* 8027B96C 002788AC 9B 83 00 2A */ stb r28, 0x2a(r3)
/* 8027B970 002788B0 93 C3 00 1C */ stw r30, 0x1c(r3)
/* 8027B974 002788B4 92 E3 00 20 */ stw r23, 0x20(r3)
/* 8027B978 002788B8 93 83 00 2C */ stw r28, 0x2c(r3)
/* 8027B97C 002788BC B3 E3 00 28 */ sth r31, 0x28(r3)
/* 8027B980 002788C0 91 83 00 1C */ stw r12, 0x1c(r3)
/* 8027B984 002788C4 92 C3 00 20 */ stw r22, 0x20(r3)
/* 8027B988 002788C8 93 23 00 30 */ stw r25, 0x30(r3)
/* 8027B98C 002788CC 93 43 00 34 */ stw r26, 0x34(r3)
/* 8027B990 002788D0 93 63 00 30 */ stw r27, 0x30(r3)
/* 8027B994 002788D4 93 03 00 34 */ stw r24, 0x34(r3)
/* 8027B998 002788D8 93 83 00 38 */ stw r28, 0x38(r3)
/* 8027B99C 002788DC B3 A3 00 3C */ sth r29, 0x3c(r3)
/* 8027B9A0 002788E0 9B 83 00 3E */ stb r28, 0x3e(r3)
/* 8027B9A4 002788E4 93 C3 00 30 */ stw r30, 0x30(r3)
/* 8027B9A8 002788E8 92 E3 00 34 */ stw r23, 0x34(r3)
/* 8027B9AC 002788EC 93 83 00 40 */ stw r28, 0x40(r3)
/* 8027B9B0 002788F0 B1 63 00 3C */ sth r11, 0x3c(r3)
/* 8027B9B4 002788F4 91 43 00 30 */ stw r10, 0x30(r3)
/* 8027B9B8 002788F8 91 23 00 34 */ stw r9, 0x34(r3)
/* 8027B9BC 002788FC 93 23 00 44 */ stw r25, 0x44(r3)
/* 8027B9C0 00278900 93 43 00 48 */ stw r26, 0x48(r3)
/* 8027B9C4 00278904 93 63 00 44 */ stw r27, 0x44(r3)
/* 8027B9C8 00278908 93 03 00 48 */ stw r24, 0x48(r3)
/* 8027B9CC 0027890C 93 83 00 4C */ stw r28, 0x4c(r3)
/* 8027B9D0 00278910 B1 03 00 50 */ sth r8, 0x50(r3)
/* 8027B9D4 00278914 9B 83 00 52 */ stb r28, 0x52(r3)
/* 8027B9D8 00278918 90 E3 00 44 */ stw r7, 0x44(r3)
/* 8027B9DC 0027891C 90 C3 00 48 */ stw r6, 0x48(r3)
/* 8027B9E0 00278920 93 23 00 5C */ stw r25, 0x5c(r3)
/* 8027B9E4 00278924 93 43 00 60 */ stw r26, 0x60(r3)
/* 8027B9E8 00278928 93 63 00 5C */ stw r27, 0x5c(r3)
/* 8027B9EC 0027892C 93 03 00 60 */ stw r24, 0x60(r3)
/* 8027B9F0 00278930 93 83 00 64 */ stw r28, 0x64(r3)
/* 8027B9F4 00278934 B0 A3 00 68 */ sth r5, 0x68(r3)
/* 8027B9F8 00278938 9B 83 00 6A */ stb r28, 0x6a(r3)
/* 8027B9FC 0027893C 90 83 00 5C */ stw r4, 0x5c(r3)
/* 8027BA00 00278940 90 03 00 60 */ stw r0, 0x60(r3)
/* 8027BA04 00278944 BA C1 00 08 */ lmw r22, 8(r1)
/* 8027BA08 00278948 38 21 00 30 */ addi r1, r1, 0x30
/* 8027BA0C 0027894C 4E 80 00 20 */ blr
.global __dt__Q23efx14TDnkmsThunderBFv
__dt__Q23efx14TDnkmsThunderBFv:
/* 8027BA10 00278950 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BA14 00278954 7C 08 02 A6 */ mflr r0
/* 8027BA18 00278958 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BA1C 0027895C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BA20 00278960 7C 9F 23 78 */ mr r31, r4
/* 8027BA24 00278964 93 C1 00 08 */ stw r30, 8(r1)
/* 8027BA28 00278968 7C 7E 1B 79 */ or. r30, r3, r3
/* 8027BA2C 0027896C 41 82 00 4C */ beq .L_8027BA78
/* 8027BA30 00278970 3C 60 80 4E */ lis r3, __vt__Q23efx14TDnkmsThunderB@ha
/* 8027BA34 00278974 38 63 6B B4 */ addi r3, r3, __vt__Q23efx14TDnkmsThunderB@l
/* 8027BA38 00278978 90 7E 00 00 */ stw r3, 0(r30)
/* 8027BA3C 0027897C 38 03 00 14 */ addi r0, r3, 0x14
/* 8027BA40 00278980 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BA44 00278984 41 82 00 24 */ beq .L_8027BA68
/* 8027BA48 00278988 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha
/* 8027BA4C 0027898C 38 7E 00 04 */ addi r3, r30, 4
/* 8027BA50 00278990 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l
/* 8027BA54 00278994 38 80 00 00 */ li r4, 0
/* 8027BA58 00278998 90 BE 00 00 */ stw r5, 0(r30)
/* 8027BA5C 0027899C 38 05 00 14 */ addi r0, r5, 0x14
/* 8027BA60 002789A0 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BA64 002789A4 4B E1 42 39 */ bl __dt__18JPAEmitterCallBackFv
.L_8027BA68:
/* 8027BA68 002789A8 7F E0 07 35 */ extsh. r0, r31
/* 8027BA6C 002789AC 40 81 00 0C */ ble .L_8027BA78
/* 8027BA70 002789B0 7F C3 F3 78 */ mr r3, r30
/* 8027BA74 002789B4 4B DA 86 41 */ bl __dl__FPv
.L_8027BA78:
/* 8027BA78 002789B8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BA7C 002789BC 7F C3 F3 78 */ mr r3, r30
/* 8027BA80 002789C0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BA84 002789C4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027BA88 002789C8 7C 08 03 A6 */ mtlr r0
/* 8027BA8C 002789CC 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BA90 002789D0 4E 80 00 20 */ blr
.global __dt__Q23efx14TDnkmsThunderAFv
__dt__Q23efx14TDnkmsThunderAFv:
/* 8027BA94 002789D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BA98 002789D8 7C 08 02 A6 */ mflr r0
/* 8027BA9C 002789DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BAA0 002789E0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BAA4 002789E4 7C 9F 23 78 */ mr r31, r4
/* 8027BAA8 002789E8 93 C1 00 08 */ stw r30, 8(r1)
/* 8027BAAC 002789EC 7C 7E 1B 79 */ or. r30, r3, r3
/* 8027BAB0 002789F0 41 82 00 4C */ beq .L_8027BAFC
/* 8027BAB4 002789F4 3C 60 80 4E */ lis r3, __vt__Q23efx14TDnkmsThunderA@ha
/* 8027BAB8 002789F8 38 63 6C 00 */ addi r3, r3, __vt__Q23efx14TDnkmsThunderA@l
/* 8027BABC 002789FC 90 7E 00 00 */ stw r3, 0(r30)
/* 8027BAC0 00278A00 38 03 00 14 */ addi r0, r3, 0x14
/* 8027BAC4 00278A04 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BAC8 00278A08 41 82 00 24 */ beq .L_8027BAEC
/* 8027BACC 00278A0C 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha
/* 8027BAD0 00278A10 38 7E 00 04 */ addi r3, r30, 4
/* 8027BAD4 00278A14 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l
/* 8027BAD8 00278A18 38 80 00 00 */ li r4, 0
/* 8027BADC 00278A1C 90 BE 00 00 */ stw r5, 0(r30)
/* 8027BAE0 00278A20 38 05 00 14 */ addi r0, r5, 0x14
/* 8027BAE4 00278A24 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BAE8 00278A28 4B E1 41 B5 */ bl __dt__18JPAEmitterCallBackFv
.L_8027BAEC:
/* 8027BAEC 00278A2C 7F E0 07 35 */ extsh. r0, r31
/* 8027BAF0 00278A30 40 81 00 0C */ ble .L_8027BAFC
/* 8027BAF4 00278A34 7F C3 F3 78 */ mr r3, r30
/* 8027BAF8 00278A38 4B DA 85 BD */ bl __dl__FPv
.L_8027BAFC:
/* 8027BAFC 00278A3C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BB00 00278A40 7F C3 F3 78 */ mr r3, r30
/* 8027BB04 00278A44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BB08 00278A48 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027BB0C 00278A4C 7C 08 03 A6 */ mtlr r0
/* 8027BB10 00278A50 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BB14 00278A54 4E 80 00 20 */ blr
.global __dt__Q23efx13TDnkmsHoudenBFv
__dt__Q23efx13TDnkmsHoudenBFv:
/* 8027BB18 00278A58 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BB1C 00278A5C 7C 08 02 A6 */ mflr r0
/* 8027BB20 00278A60 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BB24 00278A64 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BB28 00278A68 7C 9F 23 78 */ mr r31, r4
/* 8027BB2C 00278A6C 93 C1 00 08 */ stw r30, 8(r1)
/* 8027BB30 00278A70 7C 7E 1B 79 */ or. r30, r3, r3
/* 8027BB34 00278A74 41 82 00 64 */ beq .L_8027BB98
/* 8027BB38 00278A78 3C 60 80 4C */ lis r3, __vt__Q23efx13TDnkmsHoudenB@ha
/* 8027BB3C 00278A7C 38 63 7B 18 */ addi r3, r3, __vt__Q23efx13TDnkmsHoudenB@l
/* 8027BB40 00278A80 90 7E 00 00 */ stw r3, 0(r30)
/* 8027BB44 00278A84 38 03 00 14 */ addi r0, r3, 0x14
/* 8027BB48 00278A88 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BB4C 00278A8C 41 82 00 3C */ beq .L_8027BB88
/* 8027BB50 00278A90 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha
/* 8027BB54 00278A94 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l
/* 8027BB58 00278A98 90 7E 00 00 */ stw r3, 0(r30)
/* 8027BB5C 00278A9C 38 03 00 14 */ addi r0, r3, 0x14
/* 8027BB60 00278AA0 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BB64 00278AA4 41 82 00 24 */ beq .L_8027BB88
/* 8027BB68 00278AA8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha
/* 8027BB6C 00278AAC 38 7E 00 04 */ addi r3, r30, 4
/* 8027BB70 00278AB0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l
/* 8027BB74 00278AB4 38 80 00 00 */ li r4, 0
/* 8027BB78 00278AB8 90 BE 00 00 */ stw r5, 0(r30)
/* 8027BB7C 00278ABC 38 05 00 14 */ addi r0, r5, 0x14
/* 8027BB80 00278AC0 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BB84 00278AC4 4B E1 41 19 */ bl __dt__18JPAEmitterCallBackFv
.L_8027BB88:
/* 8027BB88 00278AC8 7F E0 07 35 */ extsh. r0, r31
/* 8027BB8C 00278ACC 40 81 00 0C */ ble .L_8027BB98
/* 8027BB90 00278AD0 7F C3 F3 78 */ mr r3, r30
/* 8027BB94 00278AD4 4B DA 85 21 */ bl __dl__FPv
.L_8027BB98:
/* 8027BB98 00278AD8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BB9C 00278ADC 7F C3 F3 78 */ mr r3, r30
/* 8027BBA0 00278AE0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BBA4 00278AE4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027BBA8 00278AE8 7C 08 03 A6 */ mtlr r0
/* 8027BBAC 00278AEC 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BBB0 00278AF0 4E 80 00 20 */ blr
.global __dt__Q23efx13TDnkmsHoudenAFv
__dt__Q23efx13TDnkmsHoudenAFv:
/* 8027BBB4 00278AF4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BBB8 00278AF8 7C 08 02 A6 */ mflr r0
/* 8027BBBC 00278AFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BBC0 00278B00 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BBC4 00278B04 7C 9F 23 78 */ mr r31, r4
/* 8027BBC8 00278B08 93 C1 00 08 */ stw r30, 8(r1)
/* 8027BBCC 00278B0C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8027BBD0 00278B10 41 82 00 64 */ beq .L_8027BC34
/* 8027BBD4 00278B14 3C 60 80 4C */ lis r3, __vt__Q23efx13TDnkmsHoudenA@ha
/* 8027BBD8 00278B18 38 63 7B 64 */ addi r3, r3, __vt__Q23efx13TDnkmsHoudenA@l
/* 8027BBDC 00278B1C 90 7E 00 00 */ stw r3, 0(r30)
/* 8027BBE0 00278B20 38 03 00 14 */ addi r0, r3, 0x14
/* 8027BBE4 00278B24 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BBE8 00278B28 41 82 00 3C */ beq .L_8027BC24
/* 8027BBEC 00278B2C 3C 60 80 4E */ lis r3, __vt__Q23efx9TChasePos@ha
/* 8027BBF0 00278B30 38 63 69 40 */ addi r3, r3, __vt__Q23efx9TChasePos@l
/* 8027BBF4 00278B34 90 7E 00 00 */ stw r3, 0(r30)
/* 8027BBF8 00278B38 38 03 00 14 */ addi r0, r3, 0x14
/* 8027BBFC 00278B3C 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BC00 00278B40 41 82 00 24 */ beq .L_8027BC24
/* 8027BC04 00278B44 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha
/* 8027BC08 00278B48 38 7E 00 04 */ addi r3, r30, 4
/* 8027BC0C 00278B4C 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l
/* 8027BC10 00278B50 38 80 00 00 */ li r4, 0
/* 8027BC14 00278B54 90 BE 00 00 */ stw r5, 0(r30)
/* 8027BC18 00278B58 38 05 00 14 */ addi r0, r5, 0x14
/* 8027BC1C 00278B5C 90 1E 00 04 */ stw r0, 4(r30)
/* 8027BC20 00278B60 4B E1 40 7D */ bl __dt__18JPAEmitterCallBackFv
.L_8027BC24:
/* 8027BC24 00278B64 7F E0 07 35 */ extsh. r0, r31
/* 8027BC28 00278B68 40 81 00 0C */ ble .L_8027BC34
/* 8027BC2C 00278B6C 7F C3 F3 78 */ mr r3, r30
/* 8027BC30 00278B70 4B DA 84 85 */ bl __dl__FPv
.L_8027BC34:
/* 8027BC34 00278B74 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BC38 00278B78 7F C3 F3 78 */ mr r3, r30
/* 8027BC3C 00278B7C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BC40 00278B80 83 C1 00 08 */ lwz r30, 8(r1)
/* 8027BC44 00278B84 7C 08 03 A6 */ mtlr r0
/* 8027BC48 00278B88 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BC4C 00278B8C 4E 80 00 20 */ blr
.global setupEffect__Q34Game7ElecBug3ObjFv
setupEffect__Q34Game7ElecBug3ObjFv:
/* 8027BC50 00278B90 80 83 02 DC */ lwz r4, 0x2dc(r3)
/* 8027BC54 00278B94 38 03 01 8C */ addi r0, r3, 0x18c
/* 8027BC58 00278B98 90 04 00 00 */ stw r0, 0(r4)
/* 8027BC5C 00278B9C 4E 80 00 20 */ blr
.global startChargeEffect__Q34Game7ElecBug3ObjFv
startChargeEffect__Q34Game7ElecBug3ObjFv:
/* 8027BC60 00278BA0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BC64 00278BA4 7C 08 02 A6 */ mflr r0
/* 8027BC68 00278BA8 38 80 00 00 */ li r4, 0
/* 8027BC6C 00278BAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BC70 00278BB0 80 A3 02 DC */ lwz r5, 0x2dc(r3)
/* 8027BC74 00278BB4 80 05 00 00 */ lwz r0, 0(r5)
/* 8027BC78 00278BB8 38 65 00 30 */ addi r3, r5, 0x30
/* 8027BC7C 00278BBC 90 05 00 40 */ stw r0, 0x40(r5)
/* 8027BC80 00278BC0 81 85 00 30 */ lwz r12, 0x30(r5)
/* 8027BC84 00278BC4 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027BC88 00278BC8 7D 89 03 A6 */ mtctr r12
/* 8027BC8C 00278BCC 4E 80 04 21 */ bctrl
/* 8027BC90 00278BD0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BC94 00278BD4 7C 08 03 A6 */ mtlr r0
/* 8027BC98 00278BD8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BC9C 00278BDC 4E 80 00 20 */ blr
.global startDischargeEffect__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
startDischargeEffect__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj:
/* 8027BCA0 00278BE0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BCA4 00278BE4 7C 08 02 A6 */ mflr r0
/* 8027BCA8 00278BE8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BCAC 00278BEC 38 04 01 8C */ addi r0, r4, 0x18c
/* 8027BCB0 00278BF0 38 80 00 00 */ li r4, 0
/* 8027BCB4 00278BF4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BCB8 00278BF8 83 E3 02 DC */ lwz r31, 0x2dc(r3)
/* 8027BCBC 00278BFC 90 1F 00 04 */ stw r0, 4(r31)
/* 8027BCC0 00278C00 38 7F 00 08 */ addi r3, r31, 8
/* 8027BCC4 00278C04 80 1F 00 00 */ lwz r0, 0(r31)
/* 8027BCC8 00278C08 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8027BCCC 00278C0C 81 9F 00 08 */ lwz r12, 8(r31)
/* 8027BCD0 00278C10 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027BCD4 00278C14 7D 89 03 A6 */ mtctr r12
/* 8027BCD8 00278C18 4E 80 04 21 */ bctrl
/* 8027BCDC 00278C1C 80 1F 00 04 */ lwz r0, 4(r31)
/* 8027BCE0 00278C20 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8027BCE4 00278C24 38 80 00 00 */ li r4, 0
/* 8027BCE8 00278C28 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 8027BCEC 00278C2C 81 9F 00 1C */ lwz r12, 0x1c(r31)
/* 8027BCF0 00278C30 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027BCF4 00278C34 7D 89 03 A6 */ mtctr r12
/* 8027BCF8 00278C38 4E 80 04 21 */ bctrl
/* 8027BCFC 00278C3C 80 BF 00 04 */ lwz r5, 4(r31)
/* 8027BD00 00278C40 38 7F 00 44 */ addi r3, r31, 0x44
/* 8027BD04 00278C44 80 1F 00 00 */ lwz r0, 0(r31)
/* 8027BD08 00278C48 38 80 00 00 */ li r4, 0
/* 8027BD0C 00278C4C 90 1F 00 54 */ stw r0, 0x54(r31)
/* 8027BD10 00278C50 90 BF 00 58 */ stw r5, 0x58(r31)
/* 8027BD14 00278C54 80 BF 00 04 */ lwz r5, 4(r31)
/* 8027BD18 00278C58 80 1F 00 00 */ lwz r0, 0(r31)
/* 8027BD1C 00278C5C 90 1F 00 6C */ stw r0, 0x6c(r31)
/* 8027BD20 00278C60 90 BF 00 70 */ stw r5, 0x70(r31)
/* 8027BD24 00278C64 81 9F 00 44 */ lwz r12, 0x44(r31)
/* 8027BD28 00278C68 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027BD2C 00278C6C 7D 89 03 A6 */ mtctr r12
/* 8027BD30 00278C70 4E 80 04 21 */ bctrl
/* 8027BD34 00278C74 38 7F 00 5C */ addi r3, r31, 0x5c
/* 8027BD38 00278C78 38 80 00 00 */ li r4, 0
/* 8027BD3C 00278C7C 81 9F 00 5C */ lwz r12, 0x5c(r31)
/* 8027BD40 00278C80 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027BD44 00278C84 7D 89 03 A6 */ mtctr r12
/* 8027BD48 00278C88 4E 80 04 21 */ bctrl
/* 8027BD4C 00278C8C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BD50 00278C90 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BD54 00278C94 7C 08 03 A6 */ mtlr r0
/* 8027BD58 00278C98 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BD5C 00278C9C 4E 80 00 20 */ blr
.global finishPartnerAndEffect__Q34Game7ElecBug3ObjFv
finishPartnerAndEffect__Q34Game7ElecBug3ObjFv:
/* 8027BD60 00278CA0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BD64 00278CA4 7C 08 02 A6 */ mflr r0
/* 8027BD68 00278CA8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BD6C 00278CAC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BD70 00278CB0 80 83 02 D8 */ lwz r4, 0x2d8(r3)
/* 8027BD74 00278CB4 28 04 00 00 */ cmplwi r4, 0
/* 8027BD78 00278CB8 41 82 00 10 */ beq .L_8027BD88
/* 8027BD7C 00278CBC 38 00 00 00 */ li r0, 0
/* 8027BD80 00278CC0 90 04 02 D8 */ stw r0, 0x2d8(r4)
/* 8027BD84 00278CC4 90 03 02 D8 */ stw r0, 0x2d8(r3)
.L_8027BD88:
/* 8027BD88 00278CC8 83 E3 02 DC */ lwz r31, 0x2dc(r3)
/* 8027BD8C 00278CCC 38 7F 00 08 */ addi r3, r31, 8
/* 8027BD90 00278CD0 81 9F 00 08 */ lwz r12, 8(r31)
/* 8027BD94 00278CD4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8027BD98 00278CD8 7D 89 03 A6 */ mtctr r12
/* 8027BD9C 00278CDC 4E 80 04 21 */ bctrl
/* 8027BDA0 00278CE0 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8027BDA4 00278CE4 81 9F 00 1C */ lwz r12, 0x1c(r31)
/* 8027BDA8 00278CE8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8027BDAC 00278CEC 7D 89 03 A6 */ mtctr r12
/* 8027BDB0 00278CF0 4E 80 04 21 */ bctrl
/* 8027BDB4 00278CF4 38 7F 00 30 */ addi r3, r31, 0x30
/* 8027BDB8 00278CF8 81 9F 00 30 */ lwz r12, 0x30(r31)
/* 8027BDBC 00278CFC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8027BDC0 00278D00 7D 89 03 A6 */ mtctr r12
/* 8027BDC4 00278D04 4E 80 04 21 */ bctrl
/* 8027BDC8 00278D08 38 7F 00 44 */ addi r3, r31, 0x44
/* 8027BDCC 00278D0C 81 9F 00 44 */ lwz r12, 0x44(r31)
/* 8027BDD0 00278D10 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8027BDD4 00278D14 7D 89 03 A6 */ mtctr r12
/* 8027BDD8 00278D18 4E 80 04 21 */ bctrl
/* 8027BDDC 00278D1C 38 7F 00 5C */ addi r3, r31, 0x5c
/* 8027BDE0 00278D20 81 9F 00 5C */ lwz r12, 0x5c(r31)
/* 8027BDE4 00278D24 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8027BDE8 00278D28 7D 89 03 A6 */ mtctr r12
/* 8027BDEC 00278D2C 4E 80 04 21 */ bctrl
/* 8027BDF0 00278D30 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BDF4 00278D34 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BDF8 00278D38 7C 08 03 A6 */ mtlr r0
/* 8027BDFC 00278D3C 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BE00 00278D40 4E 80 00 20 */ blr
.global effectDrawOn__Q34Game7ElecBug3ObjFv
effectDrawOn__Q34Game7ElecBug3ObjFv:
/* 8027BE04 00278D44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BE08 00278D48 7C 08 02 A6 */ mflr r0
/* 8027BE0C 00278D4C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BE10 00278D50 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BE14 00278D54 83 E3 02 DC */ lwz r31, 0x2dc(r3)
/* 8027BE18 00278D58 81 9F 00 08 */ lwz r12, 8(r31)
/* 8027BE1C 00278D5C 38 7F 00 08 */ addi r3, r31, 8
/* 8027BE20 00278D60 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8027BE24 00278D64 7D 89 03 A6 */ mtctr r12
/* 8027BE28 00278D68 4E 80 04 21 */ bctrl
/* 8027BE2C 00278D6C 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8027BE30 00278D70 81 9F 00 1C */ lwz r12, 0x1c(r31)
/* 8027BE34 00278D74 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8027BE38 00278D78 7D 89 03 A6 */ mtctr r12
/* 8027BE3C 00278D7C 4E 80 04 21 */ bctrl
/* 8027BE40 00278D80 38 7F 00 30 */ addi r3, r31, 0x30
/* 8027BE44 00278D84 81 9F 00 30 */ lwz r12, 0x30(r31)
/* 8027BE48 00278D88 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8027BE4C 00278D8C 7D 89 03 A6 */ mtctr r12
/* 8027BE50 00278D90 4E 80 04 21 */ bctrl
/* 8027BE54 00278D94 38 7F 00 44 */ addi r3, r31, 0x44
/* 8027BE58 00278D98 81 9F 00 44 */ lwz r12, 0x44(r31)
/* 8027BE5C 00278D9C 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8027BE60 00278DA0 7D 89 03 A6 */ mtctr r12
/* 8027BE64 00278DA4 4E 80 04 21 */ bctrl
/* 8027BE68 00278DA8 38 7F 00 5C */ addi r3, r31, 0x5c
/* 8027BE6C 00278DAC 81 9F 00 5C */ lwz r12, 0x5c(r31)
/* 8027BE70 00278DB0 81 8C 00 44 */ lwz r12, 0x44(r12)
/* 8027BE74 00278DB4 7D 89 03 A6 */ mtctr r12
/* 8027BE78 00278DB8 4E 80 04 21 */ bctrl
/* 8027BE7C 00278DBC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BE80 00278DC0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BE84 00278DC4 7C 08 03 A6 */ mtlr r0
/* 8027BE88 00278DC8 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BE8C 00278DCC 4E 80 00 20 */ blr
.global effectDrawOff__Q34Game7ElecBug3ObjFv
effectDrawOff__Q34Game7ElecBug3ObjFv:
/* 8027BE90 00278DD0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8027BE94 00278DD4 7C 08 02 A6 */ mflr r0
/* 8027BE98 00278DD8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8027BE9C 00278DDC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8027BEA0 00278DE0 83 E3 02 DC */ lwz r31, 0x2dc(r3)
/* 8027BEA4 00278DE4 81 9F 00 08 */ lwz r12, 8(r31)
/* 8027BEA8 00278DE8 38 7F 00 08 */ addi r3, r31, 8
/* 8027BEAC 00278DEC 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8027BEB0 00278DF0 7D 89 03 A6 */ mtctr r12
/* 8027BEB4 00278DF4 4E 80 04 21 */ bctrl
/* 8027BEB8 00278DF8 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8027BEBC 00278DFC 81 9F 00 1C */ lwz r12, 0x1c(r31)
/* 8027BEC0 00278E00 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8027BEC4 00278E04 7D 89 03 A6 */ mtctr r12
/* 8027BEC8 00278E08 4E 80 04 21 */ bctrl
/* 8027BECC 00278E0C 38 7F 00 30 */ addi r3, r31, 0x30
/* 8027BED0 00278E10 81 9F 00 30 */ lwz r12, 0x30(r31)
/* 8027BED4 00278E14 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8027BED8 00278E18 7D 89 03 A6 */ mtctr r12
/* 8027BEDC 00278E1C 4E 80 04 21 */ bctrl
/* 8027BEE0 00278E20 38 7F 00 44 */ addi r3, r31, 0x44
/* 8027BEE4 00278E24 81 9F 00 44 */ lwz r12, 0x44(r31)
/* 8027BEE8 00278E28 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8027BEEC 00278E2C 7D 89 03 A6 */ mtctr r12
/* 8027BEF0 00278E30 4E 80 04 21 */ bctrl
/* 8027BEF4 00278E34 38 7F 00 5C */ addi r3, r31, 0x5c
/* 8027BEF8 00278E38 81 9F 00 5C */ lwz r12, 0x5c(r31)
/* 8027BEFC 00278E3C 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8027BF00 00278E40 7D 89 03 A6 */ mtctr r12
/* 8027BF04 00278E44 4E 80 04 21 */ bctrl
/* 8027BF08 00278E48 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8027BF0C 00278E4C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8027BF10 00278E50 7C 08 03 A6 */ mtlr r0
/* 8027BF14 00278E54 38 21 00 10 */ addi r1, r1, 0x10
/* 8027BF18 00278E58 4E 80 00 20 */ blr
.global checkInteract__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj
checkInteract__Q34Game7ElecBug3ObjFPQ34Game7ElecBug3Obj:
/* 8027BF1C 00278E5C 94 21 FE 30 */ stwu r1, -0x1d0(r1)
/* 8027BF20 00278E60 7C 08 02 A6 */ mflr r0
/* 8027BF24 00278E64 90 01 01 D4 */ stw r0, 0x1d4(r1)
/* 8027BF28 00278E68 DB E1 01 C0 */ stfd f31, 0x1c0(r1)
/* 8027BF2C 00278E6C F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0
/* 8027BF30 00278E70 DB C1 01 B0 */ stfd f30, 0x1b0(r1)
/* 8027BF34 00278E74 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0
/* 8027BF38 00278E78 DB A1 01 A0 */ stfd f29, 0x1a0(r1)
/* 8027BF3C 00278E7C F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0
/* 8027BF40 00278E80 DB 81 01 90 */ stfd f28, 0x190(r1)
/* 8027BF44 00278E84 F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0
/* 8027BF48 00278E88 DB 61 01 80 */ stfd f27, 0x180(r1)
/* 8027BF4C 00278E8C F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0
/* 8027BF50 00278E90 DB 41 01 70 */ stfd f26, 0x170(r1)
/* 8027BF54 00278E94 F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0
/* 8027BF58 00278E98 DB 21 01 60 */ stfd f25, 0x160(r1)
/* 8027BF5C 00278E9C F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0
/* 8027BF60 00278EA0 DB 01 01 50 */ stfd f24, 0x150(r1)
/* 8027BF64 00278EA4 F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0
/* 8027BF68 00278EA8 DA E1 01 40 */ stfd f23, 0x140(r1)
/* 8027BF6C 00278EAC F2 E1 01 48 */ psq_st f23, 328(r1), 0, qr0
/* 8027BF70 00278EB0 DA C1 01 30 */ stfd f22, 0x130(r1)
/* 8027BF74 00278EB4 F2 C1 01 38 */ psq_st f22, 312(r1), 0, qr0
/* 8027BF78 00278EB8 DA A1 01 20 */ stfd f21, 0x120(r1)
/* 8027BF7C 00278EBC F2 A1 01 28 */ psq_st f21, 296(r1), 0, qr0
/* 8027BF80 00278EC0 DA 81 01 10 */ stfd f20, 0x110(r1)
/* 8027BF84 00278EC4 F2 81 01 18 */ psq_st f20, 280(r1), 0, qr0
/* 8027BF88 00278EC8 DA 61 01 00 */ stfd f19, 0x100(r1)
/* 8027BF8C 00278ECC F2 61 01 08 */ psq_st f19, 264(r1), 0, qr0
/* 8027BF90 00278ED0 DA 41 00 F0 */ stfd f18, 0xf0(r1)
/* 8027BF94 00278ED4 F2 41 00 F8 */ psq_st f18, 248(r1), 0, qr0
/* 8027BF98 00278ED8 DA 21 00 E0 */ stfd f17, 0xe0(r1)
/* 8027BF9C 00278EDC F2 21 00 E8 */ psq_st f17, 232(r1), 0, qr0
/* 8027BFA0 00278EE0 DA 01 00 D0 */ stfd f16, 0xd0(r1)
/* 8027BFA4 00278EE4 F2 01 00 D8 */ psq_st f16, 216(r1), 0, qr0
/* 8027BFA8 00278EE8 93 E1 00 CC */ stw r31, 0xcc(r1)
/* 8027BFAC 00278EEC 93 C1 00 C8 */ stw r30, 0xc8(r1)
/* 8027BFB0 00278EF0 7C 7E 1B 78 */ mr r30, r3
/* 8027BFB4 00278EF4 7C 9F 23 78 */ mr r31, r4
/* 8027BFB8 00278EF8 7F C4 F3 78 */ mr r4, r30
/* 8027BFBC 00278EFC 38 61 00 20 */ addi r3, r1, 0x20
/* 8027BFC0 00278F00 81 9E 00 00 */ lwz r12, 0(r30)
/* 8027BFC4 00278F04 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027BFC8 00278F08 7D 89 03 A6 */ mtctr r12
/* 8027BFCC 00278F0C 4E 80 04 21 */ bctrl
/* 8027BFD0 00278F10 7F E4 FB 78 */ mr r4, r31
/* 8027BFD4 00278F14 38 61 00 14 */ addi r3, r1, 0x14
/* 8027BFD8 00278F18 81 9F 00 00 */ lwz r12, 0(r31)
/* 8027BFDC 00278F1C C2 61 00 20 */ lfs f19, 0x20(r1)
/* 8027BFE0 00278F20 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027BFE4 00278F24 C2 81 00 24 */ lfs f20, 0x24(r1)
/* 8027BFE8 00278F28 C2 C1 00 28 */ lfs f22, 0x28(r1)
/* 8027BFEC 00278F2C 7D 89 03 A6 */ mtctr r12
/* 8027BFF0 00278F30 4E 80 04 21 */ bctrl
/* 8027BFF4 00278F34 C0 41 00 18 */ lfs f2, 0x18(r1)
/* 8027BFF8 00278F38 C0 21 00 14 */ lfs f1, 0x14(r1)
/* 8027BFFC 00278F3C EF A2 A0 28 */ fsubs f29, f2, f20
/* 8027C000 00278F40 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8027C004 00278F44 EF C1 98 28 */ fsubs f30, f1, f19
/* 8027C008 00278F48 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2)
/* 8027C00C 00278F4C EF E0 B0 28 */ fsubs f31, f0, f22
/* 8027C010 00278F50 EC 9D 07 72 */ fmuls f4, f29, f29
/* 8027C014 00278F54 EC BF 07 F2 */ fmuls f5, f31, f31
/* 8027C018 00278F58 EC 9E 27 BA */ fmadds f4, f30, f30, f4
/* 8027C01C 00278F5C EC 85 20 2A */ fadds f4, f5, f4
/* 8027C020 00278F60 FC 04 18 40 */ fcmpo cr0, f4, f3
/* 8027C024 00278F64 40 81 00 14 */ ble .L_8027C038
/* 8027C028 00278F68 40 81 00 14 */ ble .L_8027C03C
/* 8027C02C 00278F6C FC 60 20 34 */ frsqrte f3, f4
/* 8027C030 00278F70 EC 83 01 32 */ fmuls f4, f3, f4
/* 8027C034 00278F74 48 00 00 08 */ b .L_8027C03C
.L_8027C038:
/* 8027C038 00278F78 FC 80 18 90 */ fmr f4, f3
.L_8027C03C:
/* 8027C03C 00278F7C C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2)
/* 8027C040 00278F80 FC 04 18 40 */ fcmpo cr0, f4, f3
/* 8027C044 00278F84 40 81 00 18 */ ble .L_8027C05C
/* 8027C048 00278F88 C0 62 D1 A4 */ lfs f3, lbl_8051B504@sda21(r2)
/* 8027C04C 00278F8C EC 63 20 24 */ fdivs f3, f3, f4
/* 8027C050 00278F90 EF DE 00 F2 */ fmuls f30, f30, f3
/* 8027C054 00278F94 EF BD 00 F2 */ fmuls f29, f29, f3
/* 8027C058 00278F98 EF FF 00 F2 */ fmuls f31, f31, f3
.L_8027C05C:
/* 8027C05C 00278F9C C0 82 D1 88 */ lfs f4, lbl_8051B4E8@sda21(r2)
/* 8027C060 00278FA0 C0 A2 D1 A4 */ lfs f5, lbl_8051B504@sda21(r2)
/* 8027C064 00278FA4 EC 64 07 F2 */ fmuls f3, f4, f31
/* 8027C068 00278FA8 EC C4 07 72 */ fmuls f6, f4, f29
/* 8027C06C 00278FAC EF 64 1F B8 */ fmsubs f27, f4, f30, f3
/* 8027C070 00278FB0 EF 45 37 BC */ fnmsubs f26, f5, f30, f6
/* 8027C074 00278FB4 EF 85 37 F8 */ fmsubs f28, f5, f31, f6
/* 8027C078 00278FB8 EC 7B 06 F2 */ fmuls f3, f27, f27
/* 8027C07C 00278FBC EC BA 06 B2 */ fmuls f5, f26, f26
/* 8027C080 00278FC0 EC 7C 1F 3A */ fmadds f3, f28, f28, f3
/* 8027C084 00278FC4 EC A5 18 2A */ fadds f5, f5, f3
/* 8027C088 00278FC8 FC 05 20 40 */ fcmpo cr0, f5, f4
/* 8027C08C 00278FCC 40 81 00 14 */ ble .L_8027C0A0
/* 8027C090 00278FD0 40 81 00 14 */ ble .L_8027C0A4
/* 8027C094 00278FD4 FC 60 28 34 */ frsqrte f3, f5
/* 8027C098 00278FD8 EC A3 01 72 */ fmuls f5, f3, f5
/* 8027C09C 00278FDC 48 00 00 08 */ b .L_8027C0A4
.L_8027C0A0:
/* 8027C0A0 00278FE0 FC A0 20 90 */ fmr f5, f4
.L_8027C0A4:
/* 8027C0A4 00278FE4 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2)
/* 8027C0A8 00278FE8 FC 05 18 40 */ fcmpo cr0, f5, f3
/* 8027C0AC 00278FEC 40 81 00 18 */ ble .L_8027C0C4
/* 8027C0B0 00278FF0 C0 62 D1 A4 */ lfs f3, lbl_8051B504@sda21(r2)
/* 8027C0B4 00278FF4 EC 63 28 24 */ fdivs f3, f3, f5
/* 8027C0B8 00278FF8 EF 9C 00 F2 */ fmuls f28, f28, f3
/* 8027C0BC 00278FFC EF 7B 00 F2 */ fmuls f27, f27, f3
/* 8027C0C0 00279000 EF 5A 00 F2 */ fmuls f26, f26, f3
.L_8027C0C4:
/* 8027C0C4 00279004 EC BE 06 B2 */ fmuls f5, f30, f26
/* 8027C0C8 00279008 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2)
/* 8027C0CC 0027900C EC DF 06 F2 */ fmuls f6, f31, f27
/* 8027C0D0 00279010 EC 9D 07 32 */ fmuls f4, f29, f28
/* 8027C0D4 00279014 EF 3F 2F 38 */ fmsubs f25, f31, f28, f5
/* 8027C0D8 00279018 EE FD 36 B8 */ fmsubs f23, f29, f26, f6
/* 8027C0DC 0027901C EF 1E 26 F8 */ fmsubs f24, f30, f27, f4
/* 8027C0E0 00279020 EC 99 06 72 */ fmuls f4, f25, f25
/* 8027C0E4 00279024 EC B8 06 32 */ fmuls f5, f24, f24
/* 8027C0E8 00279028 EC 97 25 FA */ fmadds f4, f23, f23, f4
/* 8027C0EC 0027902C EC 85 20 2A */ fadds f4, f5, f4
/* 8027C0F0 00279030 FC 04 18 40 */ fcmpo cr0, f4, f3
/* 8027C0F4 00279034 40 81 00 14 */ ble .L_8027C108
/* 8027C0F8 00279038 40 81 00 14 */ ble .L_8027C10C
/* 8027C0FC 0027903C FC 60 20 34 */ frsqrte f3, f4
/* 8027C100 00279040 EC 83 01 32 */ fmuls f4, f3, f4
/* 8027C104 00279044 48 00 00 08 */ b .L_8027C10C
.L_8027C108:
/* 8027C108 00279048 FC 80 18 90 */ fmr f4, f3
.L_8027C10C:
/* 8027C10C 0027904C C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2)
/* 8027C110 00279050 FC 04 18 40 */ fcmpo cr0, f4, f3
/* 8027C114 00279054 40 81 00 18 */ ble .L_8027C12C
/* 8027C118 00279058 C0 62 D1 A4 */ lfs f3, lbl_8051B504@sda21(r2)
/* 8027C11C 0027905C EC 63 20 24 */ fdivs f3, f3, f4
/* 8027C120 00279060 EE F7 00 F2 */ fmuls f23, f23, f3
/* 8027C124 00279064 EF 39 00 F2 */ fmuls f25, f25, f3
/* 8027C128 00279068 EF 18 00 F2 */ fmuls f24, f24, f3
.L_8027C12C:
/* 8027C12C 0027906C EC B4 10 28 */ fsubs f5, f20, f2
/* 8027C130 00279070 C0 62 D1 88 */ lfs f3, lbl_8051B4E8@sda21(r2)
/* 8027C134 00279074 EC 96 00 28 */ fsubs f4, f22, f0
/* 8027C138 00279078 EC D3 08 28 */ fsubs f6, f19, f1
/* 8027C13C 0027907C EC A5 01 72 */ fmuls f5, f5, f5
/* 8027C140 00279080 EC E4 01 32 */ fmuls f7, f4, f4
/* 8027C144 00279084 EC 86 29 BA */ fmadds f4, f6, f6, f5
/* 8027C148 00279088 EE A7 20 2A */ fadds f21, f7, f4
/* 8027C14C 0027908C FC 15 18 40 */ fcmpo cr0, f21, f3
/* 8027C150 00279090 40 81 00 14 */ ble .L_8027C164
/* 8027C154 00279094 40 81 00 14 */ ble .L_8027C168
/* 8027C158 00279098 FC 60 A8 34 */ frsqrte f3, f21
/* 8027C15C 0027909C EE A3 05 72 */ fmuls f21, f3, f21
/* 8027C160 002790A0 48 00 00 08 */ b .L_8027C168
.L_8027C164:
/* 8027C164 002790A4 FE A0 18 90 */ fmr f21, f3
.L_8027C168:
/* 8027C168 002790A8 EC 73 08 2A */ fadds f3, f19, f1
/* 8027C16C 002790AC 80 7E 00 C0 */ lwz r3, 0xc0(r30)
/* 8027C170 002790B0 C0 82 D1 B8 */ lfs f4, lbl_8051B518@sda21(r2)
/* 8027C174 002790B4 EC 34 10 2A */ fadds f1, f20, f2
/* 8027C178 002790B8 EC 16 00 2A */ fadds f0, f22, f0
/* 8027C17C 002790BC C0 A3 04 4C */ lfs f5, 0x44c(r3)
/* 8027C180 002790C0 C2 23 04 74 */ lfs f17, 0x474(r3)
/* 8027C184 002790C4 EC 44 00 F2 */ fmuls f2, f4, f3
/* 8027C188 002790C8 EC 24 00 72 */ fmuls f1, f4, f1
/* 8027C18C 002790CC 38 61 00 54 */ addi r3, r1, 0x54
/* 8027C190 002790D0 EC 04 00 32 */ fmuls f0, f4, f0
/* 8027C194 002790D4 D2 A1 00 38 */ stfs f21, 0x38(r1)
/* 8027C198 002790D8 EE 5A 01 72 */ fmuls f18, f26, f5
/* 8027C19C 002790DC EE 1C 01 72 */ fmuls f16, f28, f5
/* 8027C1A0 002790E0 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8027C1A4 002790E4 38 81 00 2C */ addi r4, r1, 0x2c
/* 8027C1A8 002790E8 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 8027C1AC 002790EC D0 01 00 34 */ stfs f0, 0x34(r1)
/* 8027C1B0 002790F0 4B FB 21 F1 */ bl __ct__Q24Game15CellIteratorArgFRQ23Sys6Sphere
/* 8027C1B4 002790F4 38 00 00 01 */ li r0, 1
/* 8027C1B8 002790F8 38 61 00 74 */ addi r3, r1, 0x74
/* 8027C1BC 002790FC 98 01 00 70 */ stb r0, 0x70(r1)
/* 8027C1C0 00279100 38 81 00 54 */ addi r4, r1, 0x54
/* 8027C1C4 00279104 4B FB 22 1D */ bl __ct__Q24Game12CellIteratorFRQ24Game15CellIteratorArg
/* 8027C1C8 00279108 38 61 00 74 */ addi r3, r1, 0x74
/* 8027C1CC 0027910C 4B FB 22 91 */ bl first__Q24Game12CellIteratorFv
/* 8027C1D0 00279110 48 00 01 74 */ b .L_8027C344
.L_8027C1D4:
/* 8027C1D4 00279114 38 61 00 74 */ addi r3, r1, 0x74
/* 8027C1D8 00279118 4B FB 23 6D */ bl __ml__Q24Game12CellIteratorFv
/* 8027C1DC 0027911C 81 83 00 00 */ lwz r12, 0(r3)
/* 8027C1E0 00279120 7C 7F 1B 78 */ mr r31, r3
/* 8027C1E4 00279124 81 8C 00 A8 */ lwz r12, 0xa8(r12)
/* 8027C1E8 00279128 7D 89 03 A6 */ mtctr r12
/* 8027C1EC 0027912C 4E 80 04 21 */ bctrl
/* 8027C1F0 00279130 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027C1F4 00279134 41 82 01 48 */ beq .L_8027C33C
/* 8027C1F8 00279138 7F E3 FB 78 */ mr r3, r31
/* 8027C1FC 0027913C 81 9F 00 00 */ lwz r12, 0(r31)
/* 8027C200 00279140 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8027C204 00279144 7D 89 03 A6 */ mtctr r12
/* 8027C208 00279148 4E 80 04 21 */ bctrl
/* 8027C20C 0027914C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027C210 00279150 40 82 00 20 */ bne .L_8027C230
/* 8027C214 00279154 7F E3 FB 78 */ mr r3, r31
/* 8027C218 00279158 81 9F 00 00 */ lwz r12, 0(r31)
/* 8027C21C 0027915C 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8027C220 00279160 7D 89 03 A6 */ mtctr r12
/* 8027C224 00279164 4E 80 04 21 */ bctrl
/* 8027C228 00279168 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027C22C 0027916C 41 82 01 10 */ beq .L_8027C33C
.L_8027C230:
/* 8027C230 00279170 7F E4 FB 78 */ mr r4, r31
/* 8027C234 00279174 38 61 00 08 */ addi r3, r1, 8
/* 8027C238 00279178 81 9F 00 00 */ lwz r12, 0(r31)
/* 8027C23C 0027917C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8027C240 00279180 7D 89 03 A6 */ mtctr r12
/* 8027C244 00279184 4E 80 04 21 */ bctrl
/* 8027C248 00279188 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 8027C24C 0027918C C0 01 00 08 */ lfs f0, 8(r1)
/* 8027C250 00279190 EC 21 A0 28 */ fsubs f1, f1, f20
/* 8027C254 00279194 C0 41 00 10 */ lfs f2, 0x10(r1)
/* 8027C258 00279198 EC 00 98 28 */ fsubs f0, f0, f19
/* 8027C25C 0027919C C0 82 D1 88 */ lfs f4, lbl_8051B4E8@sda21(r2)
/* 8027C260 002791A0 EC 42 B0 28 */ fsubs f2, f2, f22
/* 8027C264 002791A4 EC 7B 00 72 */ fmuls f3, f27, f1
/* 8027C268 002791A8 EC 7C 18 3A */ fmadds f3, f28, f0, f3
/* 8027C26C 002791AC EC 7A 18 BA */ fmadds f3, f26, f2, f3
/* 8027C270 002791B0 FC 03 20 40 */ fcmpo cr0, f3, f4
/* 8027C274 002791B4 40 81 00 0C */ ble .L_8027C280
/* 8027C278 002791B8 FC 80 18 90 */ fmr f4, f3
/* 8027C27C 002791BC 48 00 00 08 */ b .L_8027C284
.L_8027C280:
/* 8027C280 002791C0 FC 80 18 50 */ fneg f4, f3
.L_8027C284:
/* 8027C284 002791C4 C0 A2 D1 80 */ lfs f5, lbl_8051B4E0@sda21(r2)
/* 8027C288 002791C8 FC 04 28 40 */ fcmpo cr0, f4, f5
/* 8027C28C 002791CC 40 80 00 B0 */ bge .L_8027C33C
/* 8027C290 002791D0 EC BD 00 72 */ fmuls f5, f29, f1
/* 8027C294 002791D4 EC BE 28 3A */ fmadds f5, f30, f0, f5
/* 8027C298 002791D8 EC DF 28 BA */ fmadds f6, f31, f2, f5
/* 8027C29C 002791DC FC 06 A8 40 */ fcmpo cr0, f6, f21
/* 8027C2A0 002791E0 40 80 00 9C */ bge .L_8027C33C
/* 8027C2A4 002791E4 C0 A2 D1 88 */ lfs f5, lbl_8051B4E8@sda21(r2)
/* 8027C2A8 002791E8 FC 06 28 40 */ fcmpo cr0, f6, f5
/* 8027C2AC 002791EC 40 81 00 90 */ ble .L_8027C33C
/* 8027C2B0 002791F0 EC 39 00 72 */ fmuls f1, f25, f1
/* 8027C2B4 002791F4 EC 17 08 3A */ fmadds f0, f23, f0, f1
/* 8027C2B8 002791F8 EC 38 00 BA */ fmadds f1, f24, f2, f0
/* 8027C2BC 002791FC FC 01 28 40 */ fcmpo cr0, f1, f5
/* 8027C2C0 00279200 40 81 00 08 */ ble .L_8027C2C8
/* 8027C2C4 00279204 48 00 00 08 */ b .L_8027C2CC
.L_8027C2C8:
/* 8027C2C8 00279208 FC 20 08 50 */ fneg f1, f1
.L_8027C2CC:
/* 8027C2CC 0027920C C0 02 D1 A8 */ lfs f0, lbl_8051B508@sda21(r2)
/* 8027C2D0 00279210 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8027C2D4 00279214 40 80 00 68 */ bge .L_8027C33C
/* 8027C2D8 00279218 EC 03 20 24 */ fdivs f0, f3, f4
/* 8027C2DC 0027921C 80 BE 00 C0 */ lwz r5, 0xc0(r30)
/* 8027C2E0 00279220 3C 60 80 4B */ lis r3, __vt__Q24Game11Interaction@ha
/* 8027C2E4 00279224 3C 80 80 4B */ lis r4, __vt__Q24Game12InteractWind@ha
/* 8027C2E8 00279228 C0 45 06 04 */ lfs f2, 0x604(r5)
/* 8027C2EC 0027922C 38 03 A3 00 */ addi r0, r3, __vt__Q24Game11Interaction@l
/* 8027C2F0 00279230 EC 20 04 32 */ fmuls f1, f0, f16
/* 8027C2F4 00279234 3C 60 80 4B */ lis r3, __vt__Q24Game13InteractDenki@ha
/* 8027C2F8 00279238 EC 00 04 B2 */ fmuls f0, f0, f18
/* 8027C2FC 0027923C 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8027C300 00279240 38 84 49 74 */ addi r4, r4, __vt__Q24Game12InteractWind@l
/* 8027C304 00279244 38 03 49 08 */ addi r0, r3, __vt__Q24Game13InteractDenki@l
/* 8027C308 00279248 90 81 00 3C */ stw r4, 0x3c(r1)
/* 8027C30C 0027924C 7F E3 FB 78 */ mr r3, r31
/* 8027C310 00279250 38 81 00 3C */ addi r4, r1, 0x3c
/* 8027C314 00279254 93 C1 00 40 */ stw r30, 0x40(r1)
/* 8027C318 00279258 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8027C31C 0027925C D0 21 00 48 */ stfs f1, 0x48(r1)
/* 8027C320 00279260 D2 21 00 4C */ stfs f17, 0x4c(r1)
/* 8027C324 00279264 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 8027C328 00279268 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8027C32C 0027926C 81 9F 00 00 */ lwz r12, 0(r31)
/* 8027C330 00279270 81 8C 01 A4 */ lwz r12, 0x1a4(r12)
/* 8027C334 00279274 7D 89 03 A6 */ mtctr r12
/* 8027C338 00279278 4E 80 04 21 */ bctrl
.L_8027C33C:
/* 8027C33C 0027927C 38 61 00 74 */ addi r3, r1, 0x74
/* 8027C340 00279280 4B FB 21 C1 */ bl next__Q24Game12CellIteratorFv
.L_8027C344:
/* 8027C344 00279284 38 61 00 74 */ addi r3, r1, 0x74
/* 8027C348 00279288 4B FB 21 ED */ bl isDone__Q24Game12CellIteratorFv
/* 8027C34C 0027928C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8027C350 00279290 41 82 FE 84 */ beq .L_8027C1D4
/* 8027C354 00279294 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0
/* 8027C358 00279298 CB E1 01 C0 */ lfd f31, 0x1c0(r1)
/* 8027C35C 0027929C E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0
/* 8027C360 002792A0 CB C1 01 B0 */ lfd f30, 0x1b0(r1)
/* 8027C364 002792A4 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0
/* 8027C368 002792A8 CB A1 01 A0 */ lfd f29, 0x1a0(r1)
/* 8027C36C 002792AC E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0
/* 8027C370 002792B0 CB 81 01 90 */ lfd f28, 0x190(r1)
/* 8027C374 002792B4 E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0
/* 8027C378 002792B8 CB 61 01 80 */ lfd f27, 0x180(r1)
/* 8027C37C 002792BC E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0
/* 8027C380 002792C0 CB 41 01 70 */ lfd f26, 0x170(r1)
/* 8027C384 002792C4 E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0
/* 8027C388 002792C8 CB 21 01 60 */ lfd f25, 0x160(r1)
/* 8027C38C 002792CC E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0
/* 8027C390 002792D0 CB 01 01 50 */ lfd f24, 0x150(r1)
/* 8027C394 002792D4 E2 E1 01 48 */ psq_l f23, 328(r1), 0, qr0
/* 8027C398 002792D8 CA E1 01 40 */ lfd f23, 0x140(r1)
/* 8027C39C 002792DC E2 C1 01 38 */ psq_l f22, 312(r1), 0, qr0
/* 8027C3A0 002792E0 CA C1 01 30 */ lfd f22, 0x130(r1)
/* 8027C3A4 002792E4 E2 A1 01 28 */ psq_l f21, 296(r1), 0, qr0
/* 8027C3A8 002792E8 CA A1 01 20 */ lfd f21, 0x120(r1)
/* 8027C3AC 002792EC E2 81 01 18 */ psq_l f20, 280(r1), 0, qr0
/* 8027C3B0 002792F0 CA 81 01 10 */ lfd f20, 0x110(r1)
/* 8027C3B4 002792F4 E2 61 01 08 */ psq_l f19, 264(r1), 0, qr0
/* 8027C3B8 002792F8 CA 61 01 00 */ lfd f19, 0x100(r1)
/* 8027C3BC 002792FC E2 41 00 F8 */ psq_l f18, 248(r1), 0, qr0
/* 8027C3C0 00279300 CA 41 00 F0 */ lfd f18, 0xf0(r1)
/* 8027C3C4 00279304 E2 21 00 E8 */ psq_l f17, 232(r1), 0, qr0
/* 8027C3C8 00279308 CA 21 00 E0 */ lfd f17, 0xe0(r1)
/* 8027C3CC 0027930C E2 01 00 D8 */ psq_l f16, 216(r1), 0, qr0
/* 8027C3D0 00279310 CA 01 00 D0 */ lfd f16, 0xd0(r1)
/* 8027C3D4 00279314 83 E1 00 CC */ lwz r31, 0xcc(r1)
/* 8027C3D8 00279318 80 01 01 D4 */ lwz r0, 0x1d4(r1)
/* 8027C3DC 0027931C 83 C1 00 C8 */ lwz r30, 0xc8(r1)
/* 8027C3E0 00279320 7C 08 03 A6 */ mtlr r0
/* 8027C3E4 00279324 38 21 01 D0 */ addi r1, r1, 0x1d0
/* 8027C3E8 00279328 4E 80 00 20 */ blr
.global getDownSmokeScale__Q34Game7ElecBug3ObjFv
getDownSmokeScale__Q34Game7ElecBug3ObjFv:
/* 8027C3EC 0027932C C0 22 D1 BC */ lfs f1, lbl_8051B51C@sda21(r2)
/* 8027C3F0 00279330 4E 80 00 20 */ blr
.global getEnemyTypeID__Q34Game7ElecBug3ObjFv
getEnemyTypeID__Q34Game7ElecBug3ObjFv:
/* 8027C3F4 00279334 38 60 00 1C */ li r3, 0x1c
/* 8027C3F8 00279338 4E 80 00 20 */ blr
.global "@4@__dt__Q23efx13TDnkmsHoudenAFv"
"@4@__dt__Q23efx13TDnkmsHoudenAFv":
/* 8027C3FC 0027933C 38 63 FF FC */ addi r3, r3, -4
/* 8027C400 00279340 4B FF F7 B4 */ b __dt__Q23efx13TDnkmsHoudenAFv
.global "@4@__dt__Q23efx13TDnkmsHoudenBFv"
"@4@__dt__Q23efx13TDnkmsHoudenBFv":
/* 8027C404 00279344 38 63 FF FC */ addi r3, r3, -4
/* 8027C408 00279348 4B FF F7 10 */ b __dt__Q23efx13TDnkmsHoudenBFv