//
// SetupPulsePopup::onGroupSecondaryOnly from 0x8eca98 to 0x8ecaf4 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x577e0
// > SetupPulsePopup::init @ 0x8f0418
// > ??> @ 0x122ace8
//
// 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::onGroupSecondaryOnly(SetupPulsePopup *a1, cocos2d::CCObject *a2)
{
_BOOL4 v3; // w1
v3 = !a1->m_groupSecondaryOnly;
a1->m_groupSecondaryOnly ^= 1u;
if ( v3 && a1->m_groupMainOnly )
{
a1->m_groupMainOnly = 0;
SetupPulsePopup::updateGroupMainOnly(a1);
CCMenuItemToggler::toggle(a1->m_mainOnlyToggler, a1->m_groupMainOnly);
SetupPulsePopup::updateGroupSecondaryOnly(a1);
}
else
{
SetupPulsePopup::updateGroupSecondaryOnly(a1);
}
}