//
// SetupInstantCountPopup::onEnableGroup from 0x627904 to 0x62794c (72 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:10 +0000
//
unsigned int __fastcall SetupInstantCountPopup::onEnableGroup(unsigned int this, cocos2d::CCObject *a2)
{
unsigned int v2; // r5
unsigned int v3; // r4
char v4; // r3
int v5; // r0
v2 = this;
v3 = *(_DWORD *)(this + 528);
v4 = *(_BYTE *)(this + 736) ^ 1;
*(_BYTE *)(this + 736) = v4;
if ( v3 )
{
*(_BYTE *)(v3 + 1457) = v4;
}
else if ( *(_DWORD *)(this + 532) )
{
while ( 1 )
{
this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 532));
if ( v3 >= this )
break;
v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 532), v3++);
*(_BYTE *)(v5 + 1457) = *(_BYTE *)(v2 + 736);
}
}
return this;
}