//
// ParticleGameObject::particleWasActivated from 0x1404a06d0 to 0x1404a0786 (182 bytes)
//
// 4 xrefs:
// > ??> @ 0x14060d8e0
// > ??> @ 0x1406a7928
// > ??> @ 0x1406a7938
// > ??> @ 0x1406dc518
//
// 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
//
void ParticleGameObject::particleWasActivated(ParticleGameObject *a1)
{
cocos2d::CCParticleSystemQuad *m_particle; // rcx
__int64 v3; // rdi
if ( a1->m_shouldQuickStart )
{
m_particle = a1->m_particle;
if ( m_particle )
{
if ( cocos2d::CCParticleSystem::getTimeElapsed(m_particle) <= 0.0 )
{
if ( (float)(a1->m_particle->getLife(a1->m_particle) / 10.0) <= 0.2 )
a1->m_particle->getLife(a1->m_particle);
v3 = 10;
do
{
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_particle->update)(a1->m_particle);
--v3;
}
while ( v3 );
}
}
}
}