//
// PlayLayer::toggleBGEffectVisibility from 0x10008d790 to 0x10008d7c7 (55 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10019a68a
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:20:07 +0000
//
char __fastcall PlayLayer::toggleBGEffectVisibility(__int64 a1, int a2, double a3)
{
char result; // al
result = a2 ^ 1;
*(_BYTE *)(a1 + 14749) = a2 ^ 1;
if ( !a2 )
return cocos2d::CCParticleSystem::stopSystem(*(_QWORD *)(a1 + 12640));
if ( *(_BYTE *)(a1 + 14748) == 1 )
return cocos2d::CCParticleSystem::resumeSystem(*(_QWORD *)(a1 + 12640), a3);
return result;
}