//
// SetupInstantCountPopup::onEnableGroup from 0x1001bcc30 to 0x1001bcca8 (120 bytes)
//
// 1 xrefs:
// > SetupInstantCountPopup::init @ 0x1001bc64c
//
// 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 __fastcall SetupInstantCountPopup::onEnableGroup(SetupInstantCountPopup *a1, cocos2d::CCObject *a2)
{
bool v2; // w8
EffectGameObject *m_gameObject; // x9
cocos2d::CCArray *m_gameObjects; // x0
__int64 v6; // x20
v2 = !a1->m_activateGroup;
a1->m_activateGroup = v2;
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_activateGroup = v2;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects && (unsigned int)sub_10024A36C(m_gameObjects) )
{
v6 = 0;
do
{
*(_BYTE *)(sub_10024A388(a1->m_gameObjects, v6) + 1637) = a1->m_activateGroup;
v6 = (unsigned int)(v6 + 1);
}
while ( (unsigned int)v6 < (unsigned int)sub_10024A36C(a1->m_gameObjects) );
}
}
}