//
// PlayLayer::toggleGlitter from 0x10011e93c to 0x10011e998 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x10078fd80
//
// 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 PlayLayer::toggleGlitter(PlayLayer *a1, bool a2)
{
_BOOL4 v2; // w19
cocos2d::CCParticleSystemQuad *m_glitterParticles; // x0
v2 = a2;
if ( !GameManager::sharedState()->m_performanceMode )
{
a1->m_glitterEnabled = v2;
m_glitterParticles = a1->m_glitterParticles;
if ( a1->m_bgEffectDisabled || !v2 )
cocos2d::CCParticleSystem::stopSystem(m_glitterParticles);
else
cocos2d::CCParticleSystem::resumeSystem(m_glitterParticles);
}
}