//
// GJBaseGameLayer::removeFromGroup from 0x5929a2 to 0x5929f6 (84 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::removeFromGroup @ 0x46201e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:53:07 +0000
//
cocos2d::CCDictionary **__fastcall GJBaseGameLayer::removeFromGroup(GJBaseGameLayer *this, GameObject *a2, int a3)
{
cocos2d::CCObject *Group; // r0
cocos2d::CCObject *OptimizedGroup; // r0
cocos2d::CCDictionary **result; // r0
Group = GJBaseGameLayer::getGroup(this, a3);
cocos2d::CCArray::removeObject(Group, a2, 1);
if ( *((_BYTE *)a2 + 1110) )
OptimizedGroup = GJBaseGameLayer::getOptimizedGroup(this, a3);
else
OptimizedGroup = GJBaseGameLayer::getStaticGroup(this, a3);
result = (cocos2d::CCDictionary **)cocos2d::CCArray::removeObject(OptimizedGroup, a2, 1);
if ( *((_BYTE *)a2 + 1022) )
{
result = (cocos2d::CCDictionary **)GJBaseGameLayer::isGroupParentOf((cocos2d::CCDictionary **)this, a2, a3);
if ( result )
return GJBaseGameLayer::removeGroupParent((cocos2d::CCDictionary **)this, a2, a3);
}
return result;
}