//
// cocos2d::CCParticleSystem::CCParticleSystem from 0x1800c7a90 to 0x1800c7f68 (1240 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleSystemQuad::CCParticleSystemQuad @ 0x1800c7f85
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9aec
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=2
cocos2d::CCParticleSystem *__fastcall cocos2d::CCParticleSystem::CCParticleSystem(
cocos2d::CCParticleSystem *this,
const struct cocos2d::CCParticleSystem *a2)
{
cocos2d::CCNode::CCNode(this, a2);
this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCParticleSystem_vtbl *)&cocos2d::CCParticleSystem::`vftable'{for `cocos2d::CCNode'};
this->cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&cocos2d::CCParticleSystem::`vftable'{for `cocos2d::CCTextureProtocol'};
sub_180016C80((__int64)&this->m_sPlistFile, (__int64)&a2->m_sPlistFile);
this->m_fElapsed = a2->m_fElapsed;
cocos2d::cc_timeval::operator=(&this->modeA.gravity, &a2->modeA.gravity);
this->modeA.speed = a2->modeA.speed;
this->modeA.speedVar = a2->modeA.speedVar;
this->modeA.tangentialAccel = a2->modeA.tangentialAccel;
this->modeA.tangentialAccelVar = a2->modeA.tangentialAccelVar;
this->modeA.radialAccel = a2->modeA.radialAccel;
this->modeA.radialAccelVar = a2->modeA.radialAccelVar;
this->modeA.rotationIsDir = a2->modeA.rotationIsDir;
this->modeB = a2->modeB;
this->m_pParticles = a2->m_pParticles;
this->m_fEmitCounter = a2->m_fEmitCounter;
this->m_uParticleIdx = a2->m_uParticleIdx;
this->m_pBatchNode = a2->m_pBatchNode;
this->m_uAtlasIndex = a2->m_uAtlasIndex;
this->m_bTransformSystemDirty = a2->m_bTransformSystemDirty;
this->m_uAllocatedParticles = a2->m_uAllocatedParticles;
this->m_bIsActive = a2->m_bIsActive;
this->m_uParticleCount = a2->m_uParticleCount;
this->m_fDuration = a2->m_fDuration;
cocos2d::cc_timeval::operator=(&this->m_tSourcePosition, &a2->m_tSourcePosition);
cocos2d::cc_timeval::operator=(&this->m_tPosVar, &a2->m_tPosVar);
this->m_fLife = a2->m_fLife;
this->m_fLifeVar = a2->m_fLifeVar;
this->m_fAngle = a2->m_fAngle;
this->m_fAngleVar = a2->m_fAngleVar;
this->m_fFadeInTime = a2->m_fFadeInTime;
this->m_fFadeInTimeVar = a2->m_fFadeInTimeVar;
this->m_fFadeOutTime = a2->m_fFadeOutTime;
this->m_fFadeOutTimeVar = a2->m_fFadeOutTimeVar;
this->m_fFrictionPos = a2->m_fFrictionPos;
this->m_fFrictionPosVar = a2->m_fFrictionPosVar;
this->m_fFrictionSize = a2->m_fFrictionSize;
this->m_fFrictionSizeVar = a2->m_fFrictionSizeVar;
this->m_fFrictionRot = a2->m_fFrictionRot;
this->m_fFrictionRotVar = a2->m_fFrictionRotVar;
this->m_fRespawn = a2->m_fRespawn;
this->m_fRespawnVar = a2->m_fRespawnVar;
this->m_bStartSpinEqualToEnd = a2->m_bStartSpinEqualToEnd;
this->m_bStartSizeEqualToEnd = a2->m_bStartSizeEqualToEnd;
this->m_bStartRadiusEqualToEnd = a2->m_bStartRadiusEqualToEnd;
this->m_bDynamicRotationIsDir = a2->m_bDynamicRotationIsDir;
this->m_bOrderSensitive = a2->m_bOrderSensitive;
this->m_bStartRGBVarSync = a2->m_bStartRGBVarSync;
this->m_bEndRGBVarSync = a2->m_bEndRGBVarSync;
this->m_bWasRemoved = a2->m_bWasRemoved;
this->m_bUsingSchedule = a2->m_bUsingSchedule;
*(&this->m_bUsingSchedule + 1) = *(&a2->m_bUsingSchedule + 1);
this->m_fStartSize = a2->m_fStartSize;
this->m_fStartSizeVar = a2->m_fStartSizeVar;
this->m_fEndSize = a2->m_fEndSize;
this->m_fEndSizeVar = a2->m_fEndSizeVar;
this->m_tStartColor = a2->m_tStartColor;
this->m_tStartColorVar = a2->m_tStartColorVar;
this->m_tEndColor = a2->m_tEndColor;
this->m_tEndColorVar = a2->m_tEndColorVar;
this->m_fStartSpin = a2->m_fStartSpin;
this->m_fStartSpinVar = a2->m_fStartSpinVar;
this->m_fEndSpin = a2->m_fEndSpin;
this->m_fEndSpinVar = a2->m_fEndSpinVar;
this->m_fEmissionRate = a2->m_fEmissionRate;
this->m_uTotalParticles = a2->m_uTotalParticles;
this->m_pTexture = a2->m_pTexture;
this->m_tBlendFunc = a2->m_tBlendFunc;
this->m_bOpacityModifyRGB = a2->m_bOpacityModifyRGB;
this->m_bIsBlendAdditive = a2->m_bIsBlendAdditive;
this->m_ePositionType = a2->m_ePositionType;
this->m_bIsAutoRemoveOnFinish = a2->m_bIsAutoRemoveOnFinish;
*(&this->m_bIsAutoRemoveOnFinish + 1) = *(&a2->m_bIsAutoRemoveOnFinish + 1);
this->m_nEmitterMode = a2->m_nEmitterMode;
this->m_bWorldPosUninitialized = a2->m_bWorldPosUninitialized;
cocos2d::cc_timeval::operator=(&this->m_tWorldPos, &a2->m_tWorldPos);
this->m_tUniformColor = a2->m_tUniformColor;
this->m_tUniformDeltaColor = a2->m_tUniformDeltaColor;
this->m_bUseUniformColorMode = a2->m_bUseUniformColorMode;
this->m_fDefaultStartSize = a2->m_fDefaultStartSize;
this->m_fDefaultStartSizeVar = a2->m_fDefaultStartSizeVar;
this->m_fDefaultEndSize2 = a2->m_fDefaultEndSize2;
this->m_fDefaultEndSize = a2->m_fDefaultEndSize;
this->m_fDefaultAngle = a2->m_fDefaultAngle;
this->m_fDefaultModeASpeed = a2->m_fDefaultModeASpeed;
this->m_fDefaultModeASpeedVar = a2->m_fDefaultModeASpeedVar;
cocos2d::cc_timeval::operator=(&this->m_tDefaultPosVar, &a2->m_tDefaultPosVar);
this->m_nCustomParticleIndex = a2->m_nCustomParticleIndex;
return this;
}