// // cocos2d::CCLayerMultiplex::switchToAndReleaseMe from 0x180051140 to 0x1800511d2 (146 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b21a8 // // 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 cocos2d::CCLayerMultiplex::switchToAndReleaseMe(cocos2d::CCLayerMultiplex *this, int a2) { cocos2d::CCLayerMultiplex_vtbl *v4; // rbx struct cocos2d::CCString *v5; // rax __int64 v6; // r8 cocos2d::CCArray *v7; // rcx cocos2d::CCLayerMultiplex_vtbl *v8; // rbx struct cocos2d::CCString *v9; // rax cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 52)); v4 = this->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v5 = cocos2d::CCArray::stringAtIndex(*((cocos2d::CCArray **)this + 52), *((_DWORD *)this + 102)); LOBYTE(v6) = 1; ((void (__fastcall *)(cocos2d::CCLayerMultiplex *, struct cocos2d::CCString *, __int64))v4->removeChild)(this, v5, v6); cocos2d::CCArray::replaceObjectAtIndex(*((cocos2d::CCArray **)this + 52), *((_DWORD *)this + 102), nullptr); v7 = *((cocos2d::CCArray **)this + 52); v8 = this->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; *((_DWORD *)this + 102) = a2; v9 = cocos2d::CCArray::stringAtIndex(v7, a2); ((void (__fastcall *)(cocos2d::CCLayerMultiplex *, struct cocos2d::CCString *))v8->addChild_1)(this, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source