// // cocos2d::CCLayer::CCLayer from 0x1800ca950 to 0x1800caa52 (258 bytes) // // 4 xrefs: // > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x1800cac90 // > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x1800cad20 // > @ 0x18014cf68 // > @ 0x1801c3c90 // // 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 11:22:28 +0000 // cocos2d::CCLayer *__fastcall cocos2d::CCLayer::CCLayer(cocos2d::CCLayer *this, const struct cocos2d::CCLayer *a2) { cocos2d::CCNode::CCNode(this, a2); *(_QWORD *)this = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'}; *((_QWORD *)this + 40) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'}; *((_QWORD *)this + 41) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'}; *((_QWORD *)this + 42) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'}; *((_QWORD *)this + 43) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'}; *((_QWORD *)this + 44) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'}; *((_BYTE *)this + 360) = *((_BYTE *)a2 + 360); *((_BYTE *)this + 361) = *((_BYTE *)a2 + 361); *((_BYTE *)this + 362) = *((_BYTE *)a2 + 362); *((_BYTE *)this + 363) = *((_BYTE *)a2 + 363); *((_BYTE *)this + 364) = *((_BYTE *)a2 + 364); *((_QWORD *)this + 46) = *((_QWORD *)a2 + 46); *((_QWORD *)this + 47) = *((_QWORD *)a2 + 47); *((_QWORD *)this + 48) = *((_QWORD *)a2 + 48); *((_DWORD *)this + 98) = *((_DWORD *)a2 + 98); *((_DWORD *)this + 99) = *((_DWORD *)a2 + 99); *((_DWORD *)this + 100) = *((_DWORD *)a2 + 100); return this; }