//
// cocos2d::CCLayer::CCLayer from 0x180050850 to 0x180050919 (201 bytes)
//
// 5 xrefs:
// > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x180050a69
// > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x180050ae9
// > cocos2d::CCLayer::create @ 0x18005153d
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bbf8c
//
// 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:21:45 +0000
//
// Hidden C++ exception states: #wind=2
cocos2d::CCLayer *__fastcall cocos2d::CCLayer::CCLayer(cocos2d::CCLayer *this)
{
float *v2; // rax
float v4; // [rsp+38h] [rbp+10h] BYREF
cocos2d::CCNode::CCNode(this);
*(_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'};
*((_DWORD *)this + 90) = 0;
*((_BYTE *)this + 364) = 0;
*((_QWORD *)this + 46) = 0;
*((_QWORD *)this + 47) = 0;
*((_QWORD *)this + 48) = 0;
*((_QWORD *)this + 49) = 0;
*((_DWORD *)this + 100) = 0;
*((_BYTE *)this + 287) = 1;
v2 = kmVec2Fill(&v4, 0.5, 0.5);
cocos2d::CCNode::setAnchorPoint(this, (const struct cocos2d::CCPoint *)v2);
return this;
}