//
// cocos2d::CCLayer::CCLayer from 0x5cf82c to 0x5cf8ce (162 bytes)
//
// 57 xrefs:
// > BoomListView::create @ 0x2e15ea
// > ExtendedLayer::create @ 0x2e2bbc
// > BoomScrollLayer::create @ 0x2e2e52
// > cocos2d::CCScrollLayer::nodeWithLayers @ 0x2e7df2
// > CCScrollLayerExt::CCScrollLayerExt @ 0x2e82f2
// > TableViewCell::TableViewCell @ 0x2ea768
// > Slider::create @ 0x2f58e8
// > CCTextInputNode::create @ 0x2fa32e
// > ListButtonPage::create @ 0x2fd616
// > MenuLayer::scene @ 0x30a0c6
// > LoadingLayer::create @ 0x30c706
// > GJBaseGameLayer::GJBaseGameLayer @ 0x3174ec
// > CustomListView::create @ 0x3303f6
// > DrawGridLayer::create @ 0x36a5f2
// > GJRotationControl::create @ 0x38669c
// > GJScaleControl::create @ 0x386a58
// > GJTransformControl::create @ 0x387174
// > EditorUI::create @ 0x3a29bc
// > MenuGameLayer::create @ 0x3a9388
// > CreatorLayer::create @ 0x3aaf5c
// > LevelSearchLayer::create @ 0x3af066
// > LevelInfoLayer::create @ 0x3b55fc
// > EditLevelLayer::create @ 0x3b7926
// > ButtonPage::create @ 0x3d928a
// > GJGarageLayer::node @ 0x402490
// > LevelPage::create @ 0x409dfe
// > LevelSelectLayer::create @ 0x40a642
// > GraphicsReloadLayer::create @ 0x42732a
// > GJGroundLayer::create @ 0x434960
// > GJFlyGroundLayer::create @ 0x434d78
// > GJMGLayer::create @ 0x43527a
// > LeaderboardsLayer::create @ 0x452924
// > GJGameLoadingLayer::create @ 0x47cc6c
// > SecretLayer::create @ 0x4c9580
// > CurrencyRewardLayer::create @ 0x4d36fa
// > GauntletSelectLayer::create @ 0x4d9c1a
// > GauntletLayer::create @ 0x4db4e6
// > GJShopLayer::create @ 0x4e3dea
// > SecretLayer2::create @ 0x4ebfe8
// > SecretNumberLayer::create @ 0x4ed080
// > SecretLayer3::create @ 0x4eddb4
// > SecretLayer4::create @ 0x4f024c
// > WorldSelectLayer::create @ 0x4fe832
// > MapSelectLayer::create @ 0x50e548
// > MultiplayerLayer::create @ 0x528fb8
// > MPLobbyLayer::create @ 0x53546a
// > ShaderLayer::create @ 0x54f546
// > LevelAreaLayer::create @ 0x56bfb4
// > LevelAreaInnerLayer::create @ 0x56d982
// > SecretRewardsLayer::create @ 0x587252
// > SecretLayer5::create @ 0x59c71c
// > SecretLayer6::create @ 0x59dd04
// > SecretGame01Layer::create @ 0x59dd9c
// > cocos2d::extension::CCScrollView::CCScrollView @ 0x5a8088
// > cocos2d::CCLayer::create @ 0x5cf8e4
// > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x5cfc5c
// > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x5d00a8
//
// 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
//
// Alternative name is '_ZN7cocos2d7CCLayerC1Ev'
cocos2d::CCLayer *__fastcall cocos2d::CCLayer::CCLayer(cocos2d::CCLayer *this, float a2, float a3, int a4)
{
cocos2d::CCPoint v6; // [sp+4h] [bp-Ch] BYREF
int v7; // [sp+Ch] [bp-4h]
v6.x = a2;
v6.y = a3;
v7 = a4;
cocos2d::CCNode::CCNode(this);
this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)&off_AA2F20;
this->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_AA3160;
this->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_AA3198;
this->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_AA31A4;
this->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_AA31B4;
this->cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_AA31C4;
this->m_bTouchEnabled = 0;
this->m_bAccelerometerEnabled = 0;
this->m_bKeypadEnabled = 0;
this->m_bKeyboardEnabled = 0;
this->m_bMouseEnabled = 0;
this->m_pScriptTouchHandlerEntry = nullptr;
this->m_pScriptKeypadHandlerEntry = nullptr;
this->m_pScriptAccelerateHandlerEntry = nullptr;
this->m_nTouchPriority = 0;
this->m_eTouchMode = kCCTouchesAllAtOnce;
this->m_uPreviousPriority = 0;
this->m_bIgnoreAnchorPointForPosition = 1;
cocos2d::CCPoint::CCPoint(&v6, 0.5, 0.5);
cocos2d::CCNode::setAnchorPoint(this, &v6);
return this;
}