// // GJBaseGameLayer::addToGroupParents from 0x472f50 to 0x472fb6 (102 bytes) // // 1 xrefs: // > LevelEditorLayer::addSpecial @ 0x370d5a // // 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::addToGroupParents(GJBaseGameLayer *a1, GameObject *a2) { cocos2d::CCArray *v4; // r7 unsigned int v5; // r4 int v6; // r8 if ( a2->m_hasGroupParentsString ) { v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_removedParentGroupIDs, a2->m_uniqueID); if ( v4 ) { v5 = 0; a2->m_hasGroupParentsString = 0; while ( v5 < cocos2d::CCArray::count(v4) ) { v6 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v4, v5) + 52); if ( !GJBaseGameLayer::getGroupParent(a1, v6) ) GJBaseGameLayer::setGroupParent(a1, a2, v6); ++v5; } cocos2d::CCDictionary::removeObjectForKey(a1->m_removedParentGroupIDs, a2->m_uniqueID); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source