//
// PlayLayer::toggleBGEffectVisibility from 0x100122724 to 0x100122754 (48 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x100385ce0
//
// 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::toggleBGEffectVisibility(PlayLayer *a1, bool a2)
{
a1->m_bgEffectDisabled = !a2;
if ( a2 )
{
if ( a1->m_glitterEnabled )
cocos2d::CCParticleSystem::resumeSystem(a1->m_glitterParticles);
}
else
{
cocos2d::CCParticleSystem::stopSystem(a1->m_glitterParticles);
}
}