//
// PlayLayer::toggleGlitter from 0x1000b9df0 to 0x1000b9e40 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b7340
//
// 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)
{
char v2; // al
cocos2d::CCParticleSystemQuad *m_glitterParticles; // rdi
if ( !GameManager::sharedState()->m_performanceMode )
{
a1->m_glitterEnabled = a2;
v2 = a2 & ~a1->m_bgEffectDisabled;
m_glitterParticles = a1->m_glitterParticles;
if ( v2 == 1 )
cocos2d::CCParticleSystem::resumeSystem(m_glitterParticles);
else
cocos2d::CCParticleSystem::stopSystem(m_glitterParticles);
}
}