//
// GameObject::groupWasEnabled from 0x1005be960 to 0x1005be97f (31 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateToggledGroups @ 0x1000efc12
// > LevelEditorLayer::toggleGroupPreview @ 0x1000efec9
// > GJBaseGameLayer::toggleGroup @ 0x10013cb19
//
// 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::groupWasEnabled(GameObject *a1)
{
int m_enabledGroupsCounter; // eax
m_enabledGroupsCounter = a1->m_enabledGroupsCounter;
a1->m_enabledGroupsCounter = m_enabledGroupsCounter + 1;
a1->m_isGroupDisabled = m_enabledGroupsCounter < -1;
}