//
// ParticleGameObject::particleWasActivated from 0x10038154c to 0x1003815ec (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f9658
//
// 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 __fastcall ParticleGameObject::particleWasActivated(ParticleGameObject *a1)
{
cocos2d::CCParticleSystemQuad *m_particle; // x0
float v3; // s8
int v4; // w20
if ( a1->m_shouldQuickStart )
{
m_particle = a1->m_particle;
if ( m_particle )
{
if ( cocos2d::CCParticleSystem::getTimeElapsed(m_particle) <= 0.0 )
{
v3 = 0.2;
if ( (float)(((float (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_particle->getLife)(a1->m_particle)
/ 10.0) < 0.2 )
v3 = ((float (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_particle->getLife)(a1->m_particle) / 10.0;
v4 = 10;
do
{
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))a1->m_particle->update)(a1->m_particle, v3);
--v4;
}
while ( v4 );
}
}
}
}