// // GJBaseGameLayer::addToGroupParents from 0x10013d8a0 to 0x10013d962 (194 bytes) // // 1 xrefs: // > LevelEditorLayer::addSpecial @ 0x1000e02ac // // 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 *v2; // rax cocos2d::CCObject *v3; // r15 unsigned int v4; // r12d int v5; // r13d if ( a2->m_hasGroupParentsString ) { v2 = cocos2d::CCDictionary::objectForKey(a1->m_removedParentGroupIDs, (unsigned int)a2->m_uniqueID); if ( v2 ) { v3 = v2; a2->m_hasGroupParentsString = 0; if ( (unsigned int)sub_100720070(v2) ) { v4 = 0; do { v5 = *(_DWORD *)(sub_1007200C0(v3, v4) + 56); if ( !cocos2d::CCDictionary::objectForKey(a1->m_parentGroupsDict, v5) ) GJBaseGameLayer::setGroupParent(a1, a2, v5); ++v4; } while ( v4 < (unsigned int)sub_100720070(v3) ); } cocos2d::CCDictionary::removeObjectForKey(a1->m_removedParentGroupIDs, (unsigned int)a2->m_uniqueID); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source