//
// PlayLayer::removeFromGroupOld from 0x311636 to 0x31166e (56 bytes)
//
// 0 xrefs:
//
// 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 i; // r4
int GroupID; // r0
cocos2d::CCArray *Group; // r0
if ( a2->m_groupCount > 0 )
{
for ( i = 0; i < a2->m_groupCount; ++i )
{
GroupID = GameObject::getGroupID(a2, i);
Group = GJBaseGameLayer::getGroup(a1, GroupID);
cocos2d::CCArray::removeObject(Group, a2, 1);
}
}
}