//
// PlayLayer::toggleGlitter from 0x100087710 to 0x100087760 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x100abb000
//
// 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:05 +0000
//
void __fastcall PlayLayer::toggleGlitter(__int64 a1, __int64 a2, __int64 a3)
{
double v3; // xmm0_8
__int64 v4; // rax
char v5; // al
__int64 v6; // rdi
*(_QWORD *)&v3 = GameManager::sharedState(a1, a2, a3).u64[0];
if ( !*(_BYTE *)(v4 + 925) )
{
*(_BYTE *)(a1 + 14748) = a2;
v5 = a2 & ~*(_BYTE *)(a1 + 14749);
v6 = *(_QWORD *)(a1 + 12640);
if ( v5 == 1 )
cocos2d::CCParticleSystem::resumeSystem(v6, v3);
else
cocos2d::CCParticleSystem::stopSystem(v6);
}
}