//
// SetupPulsePopup::onGroupMainOnly from 0x8eca3c to 0x8eca98 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0xa8de0
// > SetupPulsePopup::init @ 0x8f0348
// > ??> @ 0x122dd88
//
// 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 v3; // w1
v3 = !a1->m_groupMainOnly;
a1->m_groupMainOnly ^= 1u;
if ( v3 && a1->m_groupSecondaryOnly )
{
a1->m_groupSecondaryOnly = 0;
SetupPulsePopup::updateGroupSecondaryOnly(a1);
CCMenuItemToggler::toggle(a1->m_secondaryOnlyToggler, a1->m_groupSecondaryOnly);
SetupPulsePopup::updateGroupMainOnly(a1);
}
else
{
SetupPulsePopup::updateGroupMainOnly(a1);
}
}