//
// SetupPulsePopup::onGroupMainOnly from 0x14043b6e0 to 0x14043b732 (82 bytes)
//
// 2 xrefs:
// > SetupPulsePopup::init @ 0x140439621
// > ??> @ 0x1406d9f2c
//
// 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)
{
bool m_groupMainOnly; // dl
m_groupMainOnly = a1->m_groupMainOnly;
a1->m_groupMainOnly = !m_groupMainOnly;
if ( !m_groupMainOnly && a1->m_groupSecondaryOnly )
{
a1->m_groupSecondaryOnly = 0;
SetupPulsePopup::updateGroupSecondaryOnly(a1);
CCMenuItemToggler::toggle(a1->m_secondaryOnlyToggler, a1->m_groupSecondaryOnly);
}
SetupPulsePopup::updateGroupMainOnly(a1);
}