//
// ParticleGameObject::particleWasActivated from 0x7506bc to 0x750778 (188 bytes)
//
// 2 xrefs:
// > ??> @ 0x2b560
// > ??> @ 0x1166378
//
// 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)
{
float v2; // s8
int v3; // w19
if ( a1->m_shouldQuickStart && a1->m_particle && cocos2d::CCParticleSystem::getTimeElapsed(a1->m_particle) <= 0.0 )
{
v2 = 0.2;
if ( (float)(a1->m_particle->getLife(a1->m_particle) / 10.0) < 0.2 )
v2 = a1->m_particle->getLife(a1->m_particle) / 10.0;
v3 = 10;
do
{
a1->m_particle->update(a1->m_particle, v2);
--v3;
}
while ( v3 );
}
}