//
// GameObject::groupWasDisabled from 0x10025d70c to 0x10025d724 (24 bytes)
//
// 4 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10012135c
// > GJBaseGameLayer::toggleGroup @ 0x1001f2154
// > LevelEditorLayer::updateToggledGroups @ 0x100361364
// > LevelEditorLayer::toggleGroupPreview @ 0x100361670
//
// 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 GameObject::groupWasDisabled(GameObject *a1)
{
int m_enabledGroupsCounter; // w8
bool v2; // vf
bool v3; // w8
m_enabledGroupsCounter = a1->m_enabledGroupsCounter;
v2 = __OFSUB__(m_enabledGroupsCounter--, 1);
a1->m_enabledGroupsCounter = m_enabledGroupsCounter;
v3 = m_enabledGroupsCounter < 0 != v2;
a1->m_isGroupDisabled = v3;
}