//
// GameObject::groupWasDisabled from 0x1005be980 to 0x1005be99e (30 bytes)
//
// 4 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x1000bd808
// > LevelEditorLayer::updateToggledGroups @ 0x1000efc42
// > LevelEditorLayer::toggleGroupPreview @ 0x1000eff39
// > GJBaseGameLayer::toggleGroup @ 0x10013cb89
//
// 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; // eax
m_enabledGroupsCounter = a1->m_enabledGroupsCounter;
a1->m_enabledGroupsCounter = m_enabledGroupsCounter - 1;
a1->m_isGroupDisabled = m_enabledGroupsCounter <= 0;
}