//
// SetupPulsePopup::updateGroupMainOnly from 0xa44f60 to 0xa44fd0 (112 bytes)
//
// 4 xrefs:
// > SetupPulsePopup::onGroupMainOnly @ 0xa45074
// > SetupPulsePopup::onGroupMainOnly @ 0xa45098
// > SetupPulsePopup::onGroupSecondaryOnly @ 0xa450d8
// > ??> @ 0x4b7d8
//
// This function is hookable on this platform (idp: arm, 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:59:58 +0000
//
cocos2d::CCArray *__fastcall SetupPulsePopup::updateGroupMainOnly(SetupPulsePopup *this)
{
cocos2d::CCArray *result; // x0
unsigned int v3; // w20
bool v4; // cf
unsigned int v5; // w1
result = *((cocos2d::CCArray **)this + 85);
if ( result )
{
*((_BYTE *)result + 1633) = *((_BYTE *)this + 1264);
}
else
{
result = *((cocos2d::CCArray **)this + 86);
if ( result )
{
v3 = 0;
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
v4 = v3 >= (unsigned int)result;
v5 = v3++;
if ( v4 )
break;
*(_BYTE *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v5) + 1633) = *((_BYTE *)this + 1264);
result = *((cocos2d::CCArray **)this + 86);
}
}
}
return result;
}