//
// SetupPulsePopup::updateGroupMainOnly from 0x14043b740 to 0x14043b7ca (138 bytes)
//
// 5 xrefs:
// > SetupPulsePopup::onGroupMainOnly @ 0x14043b72d
// > SetupPulsePopup::onGroupSecondaryOnly @ 0x14043b7fd
// > ??> @ 0x1406a1a44
// > ??> @ 0x1406a1a54
// > ??> @ 0x1406d9f38
//
// 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 SetupPulsePopup::updateGroupMainOnly(SetupPulsePopup *a1)
{
EffectGameObject *m_gameObject; // rcx
cocos2d::CCArray *m_gameObjects; // rcx
unsigned int v4; // edi
struct cocos2d::CCObject *v5; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_pulseMainOnly = a1->m_groupMainOnly;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
v4 = 0;
if ( cocos2d::CCArray::count(m_gameObjects) )
{
do
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++);
BYTE1(v5[29].m_uAutoReleaseCount) = a1->m_groupMainOnly;
}
while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) );
}
}
}
}