//
// SetupPulsePopup::onGroupMainOnly from 0x4bd588 to 0x4bd5c0 (56 bytes)
//
// 0 xrefs:
//
// 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::onGroupMainOnly(SetupPulsePopup *a1, cocos2d::CCObject *a2)
{
_BOOL4 v2; // r3
v2 = !a1->m_groupMainOnly;
a1->m_groupMainOnly = v2;
if ( v2 && a1->m_groupSecondaryOnly )
{
a1->m_groupSecondaryOnly = 0;
SetupPulsePopup::updateGroupSecondaryOnly(a1);
CCMenuItemToggler::toggle(a1->m_secondaryOnlyToggler, a1->m_groupSecondaryOnly);
}
SetupPulsePopup::updateGroupMainOnly(a1);
}