// // GJBaseGameLayer::addToGroupParents from 0x1001f29f4 to 0x1001f2ab4 (192 bytes) // // 1 xrefs: // > LevelEditorLayer::addSpecial @ 0x10035a07c // // 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 GJBaseGameLayer::addToGroupParents(GJBaseGameLayer *a1, GameObject *a2) { cocos2d::CCObject *v4; // x0 cocos2d::CCObject *v5; // x21 __int64 v6; // x22 int v7; // w23 if ( a2->m_hasGroupParentsString ) { v4 = cocos2d::CCDictionary::objectForKey(a1->m_removedParentGroupIDs, (unsigned int)a2->m_uniqueID); if ( v4 ) { v5 = v4; a2->m_hasGroupParentsString = 0; if ( (unsigned int)sub_10024A36C(v4) ) { v6 = 0; do { v7 = *(_DWORD *)(sub_10024A388(v5, v6) + 56); if ( !cocos2d::CCDictionary::objectForKey(a1->m_parentGroupsDict, v7) ) GJBaseGameLayer::setGroupParent(a1, a2, v7); v6 = (unsigned int)(v6 + 1); } while ( (unsigned int)v6 < (unsigned int)sub_10024A36C(v5) ); } cocos2d::CCDictionary::removeObjectForKey(a1->m_removedParentGroupIDs, (unsigned int)a2->m_uniqueID); } } }