// // GJBaseGameLayer::removeGroupParent from 0x1001f26c0 to 0x1001f2794 (212 bytes) // // 3 xrefs: // > SetGroupIDLayer::callRemoveFromGroup @ 0x10003ef10 // > GJBaseGameLayer::removeFromGroup @ 0x1001f26b0 // > GJBaseGameLayer::setGroupParent @ 0x1001f28a4 // // 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::removeGroupParent(GJBaseGameLayer *a1, int a2) { intptr_t v4; // x20 cocos2d::CCObject *v5; // x0 cocos2d::CCObject *v6; // x21 cocos2d::CCObject *v7; // x0 cocos2d::CCObject *v8; // x23 __int64 v9; // x24 v4 = a2; v5 = cocos2d::CCDictionary::objectForKey(a1->m_parentGroupsDict, a2); if ( v5 ) { v6 = v5; v7 = cocos2d::CCDictionary::objectForKey(a1->m_parentGroupIDs, v5[16].m_uReference); if ( !v7 ) goto LABEL_11; v8 = v7; if ( (unsigned int)sub_10024A36C(v7) ) { v9 = 0; while ( *(_DWORD *)(sub_10024A388(v8, v9) + 56) != a2 ) { v9 = (unsigned int)(v9 + 1); if ( (unsigned int)v9 >= (unsigned int)sub_10024A36C(v8) ) goto LABEL_10; } sub_10024A44C(v8, v9, 1); } LABEL_10: if ( !(unsigned int)sub_10024A36C(v8) ) LABEL_11: BYTE2(v6[20].m_uOrderOfArrival) = 0; cocos2d::CCDictionary::removeObjectForKey(a1->m_parentGroupsDict, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source