//
// GameObject::groupWasDisabled from 0x356682 to 0x356694 (18 bytes)
//
// 4 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x31f670
// > LevelEditorLayer::updateToggledGroups @ 0x367f8a
// > LevelEditorLayer::toggleGroupPreview @ 0x3682ea
// > GJBaseGameLayer::toggleGroup @ 0x470f30
//
// 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 GameObject::groupWasDisabled(GameObject *a1)
{
int v1; // r3
v1 = a1->m_enabledGroupsCounter - 1;
a1->m_enabledGroupsCounter = v1;
a1->m_isGroupDisabled = v1 < 0;
}