//
// cocos2d::CCParticleSystem::setVisible from 0x1008b2810 to 0x1008b283b (43 bytes)
//
// 13 xrefs:
// > ??> @ 0x100b47758
// > ??> @ 0x100b47e28
// > ??> @ 0x100b484f8
// > ??> @ 0x100b48bc8
// > ??> @ 0x100b49298
// > ??> @ 0x100b49968
// > ??> @ 0x100b4a038
// > ??> @ 0x100b4a708
// > ??> @ 0x100b4add8
// > ??> @ 0x100b4b4a8
// > ??> @ 0x100b4bb78
// > ??> @ 0x100b91a80
// > ??> @ 0x100bac7a0
//
// 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:37:22 +0000
//
bool __fastcall cocos2d::CCParticleSystem::setVisible(__int64 a1, int a2)
{
bool result; // al
*(_BYTE *)(a1 + 558) = a2;
if ( a2 )
{
result = *(_DWORD *)(a1 + 456) != 0;
*(_BYTE *)(a1 + 286) = result;
}
else
{
*(_BYTE *)(a1 + 286) = 0;
return 0;
}
return result;
}