// // GJBaseGameLayer::removeGroupParent from 0x592924 to 0x5929a2 (126 bytes) // // 3 xrefs: // > GJBaseGameLayer::removeFromGroup @ 0x5929f0 // > SetGroupIDLayer::callRemoveFromGroup @ 0x63a88c // > SetGroupIDLayer::callRemoveFromGroup @ 0x63a8c0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:53:07 +0000 // cocos2d::CCDictionary **__fastcall GJBaseGameLayer::removeGroupParent( cocos2d::CCDictionary **this, GameObject *a2, int a3) { cocos2d::CCDictionary **v3; // r4 cocos2d::CCArray *v6; // r0 cocos2d::CCArray *v7; // r5 cocos2d::CCArray *v8; // r4 unsigned int i; // r5 v3 = this; if ( a2 ) { v6 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 580), a3); v7 = v6; if ( v6 ) { cocos2d::CCArray::removeObject(v6, a2, 1); if ( !cocos2d::CCArray::count(v7) ) cocos2d::CCDictionary::removeObjectForKey(v3[580], a3); } this = (cocos2d::CCDictionary **)cocos2d::CCDictionary::objectForKey(v3[581], *((_DWORD *)a2 + 195)); v8 = (cocos2d::CCArray *)this; if ( !this ) goto LABEL_12; for ( i = 0; i < cocos2d::CCArray::count(v8); ++i ) { if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v8, i) + 52) == a3 ) { cocos2d::CCArray::removeObjectAtIndex(v8, i, 1); break; } } this = (cocos2d::CCDictionary **)cocos2d::CCArray::count(v8); if ( !this ) LABEL_12: *((_BYTE *)a2 + 1022) = 0; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source