//
// SetupInstantCountPopup::onEnableGroup from 0x955b78 to 0x955bf4 (124 bytes)
//
// 3 xrefs:
// > ??> @ 0xb9940
// > SetupInstantCountPopup::init @ 0x9567c4
// > ??> @ 0x122e6e8
//
// 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 SetupInstantCountPopup::onEnableGroup(SetupInstantCountPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // x2
bool v3; // w1
cocos2d::CCArray *m_gameObjects; // x1
unsigned int v6; // w20
__int64 v7; // x0
bool v8; // cf
unsigned int v9; // w1
m_gameObject = a1->m_gameObject;
v3 = !a1->m_activateGroup;
a1->m_activateGroup = v3;
if ( m_gameObject )
{
m_gameObject->m_activateGroup = v3;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
v6 = 0;
while ( 1 )
{
v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects);
v9 = v6++;
if ( v8 )
break;
v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v9);
m_gameObjects = a1->m_gameObjects;
*(_BYTE *)(v7 + 1621) = a1->m_activateGroup;
}
}
}
}