//
// PlayLayer::toggleGlitter from 0x30f024 to 0x30f05c (56 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 PlayLayer::toggleGlitter(PlayLayer *a1, bool a2)
{
_BOOL4 v3; // r5
cocos2d::CCParticleSystemQuad *m_glitterParticles; // r0
v3 = a2;
if ( !GameManager::sharedState()->m_performanceMode )
{
a1->m_glitterEnabled = v3;
m_glitterParticles = a1->m_glitterParticles;
if ( a1->m_bgEffectDisabled || !v3 )
cocos2d::CCParticleSystem::stopSystem(m_glitterParticles);
else
cocos2d::CCParticleSystem::resumeSystem(m_glitterParticles);
}
}