//
// SetGroupIDLayer::callRemoveFromGroup from 0x10003eed0 to 0x10003ef3c (108 bytes)
//
// 2 xrefs:
// > SetGroupIDLayer::onRemoveFromGroup @ 0x10003eea0
// > SetGroupIDLayer::callRemoveFromGroup @ 0x10003eee0
//
// 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 SetGroupIDLayer::callRemoveFromGroup(SetGroupIDLayer *a1, float a2)
{
GameManager *v3; // x0
cocos2d::SEL_SCHEDULE v4; // 0:x1.16
v4.ptr = (void (__cdecl *)(float))SetGroupIDLayer::callRemoveFromGroup;
v4.adj = 0;
cocos2d::CCNode::unschedule(a1, v4);
a1->m_removeGroupsLock = 0;
if ( cocos2d::CCDictionary::objectForKey(a1->m_parentGroups, a1->m_groupToRemove) )
{
v3 = GameManager::sharedState();
GJBaseGameLayer::removeGroupParent(v3->m_levelEditorLayer, a1->m_groupToRemove);
SetGroupIDLayer::updateGroupIDButtons(a1);
}
else
{
SetGroupIDLayer::removeGroupID(a1, a1->m_groupToRemove);
}
a1->m_groupToRemove = 0;
}