// // GJBaseGameLayer::promoteGroupParent from 0x5928ba to 0x592924 (106 bytes) // // 3 xrefs: // > GJBaseGameLayer::loadGroupParentsFromString @ 0x59d968 // > GJBaseGameLayer::addToGroupParents @ 0x5a1e68 // > SetGroupIDLayer::onAddGroupParent @ 0x63a6a4 // // 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::promoteGroupParent( cocos2d::CCDictionary **this, cocos2d::CCDictionary **a2, cocos2d::CCInteger *a3) { int v4; // r7 cocos2d::CCArray *v6; // r0 cocos2d::CCArray *v7; // r5 v4 = (int)this; if ( (int)a3 > 0 && a2 ) { v6 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 580), (int)a3); v7 = v6; if ( v6 && cocos2d::CCArray::count(v6) && cocos2d::CCArray::containsObject(v7, (cocos2d::CCObject *)a2) ) { this = (cocos2d::CCDictionary **)cocos2d::CCArray::objectAtIndex(v7, 0); if ( a2 != this ) { cocos2d::CCObject::retain((cocos2d::CCObject *)a2); cocos2d::CCArray::removeObject(v7, (cocos2d::CCObject *)a2, 1); cocos2d::CCArray::insertObject(v7, (cocos2d::CCObject *)a2, 0); return (cocos2d::CCDictionary **)cocos2d::CCObject::release((cocos2d::CCObject *)a2); } } else { return (cocos2d::CCDictionary **)GJBaseGameLayer::setGroupParent(v4, (GameObject *)a2, a3); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source