// // ParticleGameObject::particleWasActivated from 0x3e525c to 0x3e52d6 (122 bytes) // // 0 xrefs: // // 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; // r0 float v3; // s16 int v4; // r5 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)(a1->m_particle->getLife(a1->m_particle) / 10.0) < 0.2 ) v3 = a1->m_particle->getLife(a1->m_particle) / 10.0; v4 = 10; do { ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, _DWORD))a1->m_particle->update)( a1->m_particle, LODWORD(v3)); --v4; } while ( v4 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source