//
// cocos2d::CCParticleSystem::setVisible from 0x100229480 to 0x1002294a4 (36 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008feb78
// > ??> @ 0x100927dd8
//
// This function is hookable on this platform (idp: arm, 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 11:01:12 +0000
//
__int64 __fastcall cocos2d::CCParticleSystem::setVisible(__int64 result, int a2)
{
bool v2; // w8
*(_BYTE *)(result + 558) = a2;
if ( a2 )
v2 = *(_DWORD *)(result + 456) != 0;
else
v2 = 0;
*(_BYTE *)(result + 286) = v2;
return result;
}