//
// PlayLayer::removeFromGroupOld from 0x5cd100 to 0x5cd16c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x9fa80
//
// 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 PlayLayer::removeFromGroupOld(PlayLayer *a1, GameObject *a2)
{
int v4; // w19
int v5; // w1
int GroupID; // w0
cocos2d::CCArray *Group; // x0
v4 = 0;
while ( a2->m_groupCount > v4 )
{
v5 = v4++;
GroupID = GameObject::getGroupID(a2, v5);
Group = GJBaseGameLayer::getGroup(a1, GroupID);
cocos2d::CCArray::removeObject(Group, a2, 1);
}
}