// // GJBaseGameLayer::removeFromGroupParents from 0x8602f4 to 0x860394 (160 bytes) // // 2 xrefs: // > LevelEditorLayer::removeSpecial @ 0x6657ac // > @ 0xb91a8 // // 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 GJBaseGameLayer::removeFromGroupParents(GJBaseGameLayer *a1, GameObject *a2) { cocos2d::CCArray *v4; // x20 unsigned int v5; // w19 __int64 v6; // x0 bool v7; // cf unsigned int v8; // w1 if ( a2->m_hasGroupParentsString ) { v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_parentGroupIDs, (unsigned int)a2->m_uniqueID); if ( v4 ) { v5 = 0; while ( 1 ) { v7 = v5 >= (unsigned int)cocos2d::CCArray::count(v4); v8 = v5++; if ( v7 ) break; v6 = cocos2d::CCArray::objectAtIndex(v4, v8); cocos2d::CCDictionary::removeObjectForKey(a1->m_parentGroupsDict, *(int *)(v6 + 56)); } cocos2d::CCDictionary::setObject(a1->m_removedParentGroupIDs, v4, (unsigned int)a2->m_uniqueID); cocos2d::CCDictionary::removeObjectForKey(a1->m_parentGroupIDs, (unsigned int)a2->m_uniqueID); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source