//
// SetupPulsePopup::onGroupMainOnly from 0x1405d0e40 to 0x1405d0e92 (82 bytes)
//
// 2 xrefs:
// > SetupPulsePopup::init @ 0x1405cee48
// > ??> @ 0x14092e694
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:34:55 +0000
//
__int64 __fastcall SetupPulsePopup::onGroupMainOnly(__int64 a1)
{
char v1; // dl
v1 = *(_BYTE *)(a1 + 1248);
*(_BYTE *)(a1 + 1248) = v1 == 0;
if ( !v1 && *(_BYTE *)(a1 + 1249) )
{
*(_BYTE *)(a1 + 1249) = 0;
SetupPulsePopup::updateGroupSecondaryOnly();
CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1208), *(unsigned __int8 *)(a1 + 1249));
}
return SetupPulsePopup::updateGroupMainOnly(a1);
}