//
// SetupObjectOptionsPopup::onNoParticle from 0x1403ffde0 to 0x1403ffe6a (138 bytes)
//
// 2 xrefs:
// > SetupObjectOptionsPopup::init @ 0x1403ff52b
// > ??> @ 0x1406d86f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupObjectOptionsPopup::onNoParticle(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2)
{
bool v3; // cl
GameObject *m_gameObject; // rax
unsigned int i; // edi
struct cocos2d::CCObject *v6; // rax
v3 = !a1->m_noParticle;
a1->m_noParticle = v3;
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_hasNoParticles = v3;
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); BYTE1(v6[18].m_nZOrder) = a1->m_noParticle )
v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i++);
}
}