// // GJBaseGameLayer::removeGroupParent from 0x860044 to 0x860114 (208 bytes) // // 4 xrefs: // > GJBaseGameLayer::setGroupParent @ 0x860164 // > GJBaseGameLayer::removeFromGroup @ 0x8602f0 // > SetGroupIDLayer::callRemoveFromGroup @ 0x976bb8 // > @ 0x77598 // // 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::removeGroupParent(GJBaseGameLayer *a1, int a2) { GameObject *GroupParent; // x22 unsigned int v5; // w19 cocos2d::CCArray *v6; // x20 GroupParent = GJBaseGameLayer::getGroupParent(a1, a2); if ( GroupParent ) { v5 = 0; v6 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey( a1->m_parentGroupIDs, (unsigned int)GroupParent->m_uniqueID); if ( v6 ) { while ( 1 ) { if ( v5 >= (unsigned int)cocos2d::CCArray::count(v6) ) { if ( (unsigned int)cocos2d::CCArray::count(v6) ) goto LABEL_9; goto LABEL_8; } if ( a2 == *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v6, v5) + 56) ) break; ++v5; } cocos2d::CCArray::removeObjectAtIndex(v6, v5, 1); if ( !(unsigned int)cocos2d::CCArray::count(v6) ) goto LABEL_8; } else { LABEL_8: GroupParent->m_hasGroupParentsString = 0; } LABEL_9: cocos2d::CCDictionary::removeObjectForKey(a1->m_parentGroupsDict, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source