// // GJBaseGameLayer::promoteGroupParent from 0x10011ad00 to 0x10011adb7 (183 bytes) // // 3 xrefs: // > GJBaseGameLayer::addToGroupParents @ 0x10011b5b6 // > GJBaseGameLayer::loadGroupParentsFromString @ 0x10011c01a // > SetGroupIDLayer::onAddGroupParent @ 0x1002ffc50 // // This function is hookable on this platform (idp: pc, 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:24:36 +0000 // char __fastcall GJBaseGameLayer::promoteGroupParent(__int64 a1, __int64 a2, signed int a3) { __int64 v3; // rax __int64 v5; // rax __int64 v6; // r14 LOBYTE(v3) = a3 <= 0; if ( a3 > 0 && a2 != 0 ) { v5 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 3688)); if ( v5 && (v6 = v5, (unsigned int)sub_1007FEF90(v5)) && (unsigned __int8)sub_1007FF080(v6, a2) ) { v3 = sub_1007FEFE0(v6, 0); if ( v3 != a2 ) { cocos2d::CCObject::retain(a2); sub_1007FF140(v6, a2, 1); sub_1007FF110(v6, a2, 0); LOBYTE(v3) = cocos2d::CCObject::release(a2); } } else { LOBYTE(v3) = GJBaseGameLayer::setGroupParent(a1, a2, a3); } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source