//
// GJBaseGameLayer::removeFromGroups from 0x85d250 to 0x85d2bc (108 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::applyGroupState @ 0x6618d0
// > LevelEditorLayer::removeSpecial @ 0x6657b8
// > ??> @ 0x86e08
//
// 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 GJBaseGameLayer::removeFromGroups(GJBaseGameLayer *a1, GameObject *a2)
{
int i; // w19
int v5; // w1
int GroupID; // w0
for ( i = 0; a2->m_groupCount > i; ++i )
{
v5 = i;
GroupID = GameObject::getGroupID(a2, v5);
a1->removeFromGroup(a1, a2, GroupID);
}
}