// // GJBaseGameLayer::removeGroupParent from 0x9a3618 to 0x9a3708 (240 bytes) // // 4 xrefs: // > GJBaseGameLayer::removeFromGroup @ 0x9a37c0 // > SetGroupIDLayer::callRemoveFromGroup @ 0xabaf0c // > SetGroupIDLayer::callRemoveFromGroup @ 0xabaf3c // > @ 0xf3c28 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:58:08 +0000 // cocos2d::CCDictionary **__fastcall GJBaseGameLayer::removeGroupParent( cocos2d::CCDictionary **this, GameObject *a2, int a3) { __int64 v3; // x23 __int64 v4; // x19 cocos2d::CCArray *v7; // x0 cocos2d::CCArray *v8; // x20 cocos2d::CCDictionary *v9; // x0 unsigned int v10; // w19 cocos2d::CCArray *v11; // x20 if ( a2 ) { v3 = a3; v4 = (__int64)this; v7 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 461), a3); v8 = v7; if ( v7 ) { cocos2d::CCArray::removeObject(v7, a2, 1); if ( !(unsigned int)cocos2d::CCArray::count(v8) ) cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)(v4 + 3688), v3); } v9 = *(cocos2d::CCDictionary **)(v4 + 3696); v10 = 0; this = (cocos2d::CCDictionary **)cocos2d::CCDictionary::objectForKey(v9, *((unsigned int *)a2 + 229)); v11 = (cocos2d::CCArray *)this; if ( this ) { while ( 1 ) { if ( v10 >= (unsigned int)cocos2d::CCArray::count(v11) ) { this = (cocos2d::CCDictionary **)cocos2d::CCArray::count(v11); if ( (_DWORD)this ) return this; goto LABEL_11; } if ( a3 == *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v11, v10) + 56) ) break; ++v10; } cocos2d::CCArray::removeObjectAtIndex(v11, v10, 1); this = (cocos2d::CCDictionary **)cocos2d::CCArray::count(v11); if ( !(_DWORD)this ) goto LABEL_11; } else { LABEL_11: *((_BYTE *)a2 + 1170) = 0; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source