//
// cocos2d::CCLayer::CCLayer from 0x1800c6850 to 0x1800c6952 (258 bytes)
//
// 4 xrefs:
// > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x1800c6b90
// > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x1800c6c20
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9954
//
// 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
//
cocos2d::CCLayer *__fastcall cocos2d::CCLayer::CCLayer(cocos2d::CCLayer *this, const struct cocos2d::CCLayer *a2)
{
cocos2d::CCNode::CCNode(this, a2);
this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'};
this->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'};
this->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
this->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'};
this->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'};
this->cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'};
this->m_bTouchEnabled = a2->m_bTouchEnabled;
this->m_bAccelerometerEnabled = a2->m_bAccelerometerEnabled;
this->m_bKeypadEnabled = a2->m_bKeypadEnabled;
this->m_bKeyboardEnabled = a2->m_bKeyboardEnabled;
this->m_bMouseEnabled = a2->m_bMouseEnabled;
this->m_pScriptTouchHandlerEntry = a2->m_pScriptTouchHandlerEntry;
this->m_pScriptKeypadHandlerEntry = a2->m_pScriptKeypadHandlerEntry;
this->m_pScriptAccelerateHandlerEntry = a2->m_pScriptAccelerateHandlerEntry;
this->m_nTouchPriority = a2->m_nTouchPriority;
this->m_eTouchMode = a2->m_eTouchMode;
this->m_uPreviousPriority = a2->m_uPreviousPriority;
return this;
}