//
// PlayLayer::toggleGlitter from 0x3ff778 to 0x3ff7b0 (56 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:23 +0000
//
int __fastcall PlayLayer::toggleGlitter(cocos2d::CCParticleSystem **this, int a2)
{
int result; // r0
cocos2d::CCParticleSystem *v5; // r0
result = GameManager::sharedState((GameManager *)this);
if ( !*(_BYTE *)(result + 725) )
{
*((_BYTE *)this + 12204) = a2;
v5 = *(this + 2715);
if ( *((_BYTE *)this + 12205) || !a2 )
return cocos2d::CCParticleSystem::stopSystem(v5);
else
return cocos2d::CCParticleSystem::resumeSystem(v5);
}
return result;
}