//
// SetupPulsePopup::onGroupMainOnly from 0x1003b65cc to 0x1003b6620 (84 bytes)
//
// 1 xrefs:
// > SetupPulsePopup::init @ 0x1003b4b48
//
// 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 __fastcall SetupPulsePopup::onGroupMainOnly(SetupPulsePopup *a1, cocos2d::CCObject *a2)
{
bool m_groupMainOnly; // w8
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);
}