// // GJBaseGameLayer::reparentObject from 0x10013c680 to 0x10013c6f4 (116 bytes) // // 0 xrefs: // // 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 __fastcall GJBaseGameLayer::reparentObject(GJBaseGameLayer *a1, cocos2d::CCNode *a2, cocos2d::CCNode *a3) { unsigned int v4; // eax if ( (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCNode *))a2->getParent)(a2) != a3 && ((unsigned int (__fastcall *)(cocos2d::CCNode *))a2->getTag)(a2) != -9999 ) { cocos2d::CCObject::retain(a2); ((void (__fastcall *)(cocos2d::CCNode *, _QWORD))a2->removeFromParentAndCleanup)(a2, 0); if ( a3 ) { v4 = ((__int64 (__fastcall *)(cocos2d::CCNode *))a2->getZOrder)(a2); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCNode *, _QWORD))a3->addChild_0)(a3, a2, v4); } cocos2d::CCObject::release(a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source