//
// cocos2d::CCLayer::CCLayer from 0x100148490 to 0x100148528 (152 bytes)
//
// 49 xrefs:
// > LevelInfoLayer::LevelInfoLayer @ 0x10002aecc
// > GJMGLayer::create @ 0x10002c81c
// > sub_10002D1A8 @ 0x10002d1b0
// > TableViewCell::TableViewCell @ 0x100033cc0
// > LevelSearchLayer::create @ 0x10005134c
// > SecretLayer5::SecretLayer5 @ 0x100076ff8
// > CreatorLayer::create @ 0x1000b4fe0
// > EditLevelLayer::create @ 0x1000e8d08
// > CustomListView::create @ 0x100100670
// > GJBaseGameLayer::GJBaseGameLayer @ 0x1001232c4
// > ExtendedLayer::create @ 0x10012b310
// > BoomScrollLayer::BoomScrollLayer @ 0x10012ca18
// > cocos2d::CCLayer::create @ 0x100148668
// > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x100149390
// > cocos2d::CCLayerColor::CCLayerColor @ 0x100149834
// > cocos2d::CCLayerColor::create @ 0x100149914
// > cocos2d::CCLayerColor::create_1 @ 0x1001499e4
// > cocos2d::CCLayerGradient::create @ 0x100149e5c
// > GJShopLayer::create @ 0x10014a5b0
// > ListButtonPage::create @ 0x10016814c
// > sub_10016E960 @ 0x10016e970
// > sub_1001C2610 @ 0x1001c2618
// > LoadingLayer::create @ 0x1001d5f5c
// > GJGameLoadingLayer::create @ 0x10020927c
// > GauntletLayer::create @ 0x100232298
// > sub_100266444 @ 0x10026645c
// > ShaderLayer::ShaderLayer @ 0x100273430
// > SecretRewardsLayer::SecretRewardsLayer @ 0x1002eeb34
// > Slider::create @ 0x1002ef4b8
// > CCScrollLayerExt::CCScrollLayerExt @ 0x100300780
// > GJGarageLayer::GJGarageLayer @ 0x100309428
// > SecretNumberLayer::create @ 0x10030c974
// > SecretLayer3::create @ 0x10030dcd8
// > SecretLayer2::SecretLayer2 @ 0x100311a88
// > sub_10032271C @ 0x10032272c
// > LevelAreaLayer::create @ 0x100343aec
// > LevelAreaInnerLayer::create @ 0x10034567c
// > SecretLayer4::SecretLayer4 @ 0x100356504
// > DrawGridLayer::create @ 0x100357ca0
// > MenuGameLayer::MenuGameLayer @ 0x10039b9bc
// > LeaderboardsLayer::create @ 0x1003b04d0
// > SecretLayer::create @ 0x1003bd03c
// > EditorUI::EditorUI @ 0x1003fc548
// > GJRotationControl::GJRotationControl @ 0x1003fc7c8
// > GJScaleControl::GJScaleControl @ 0x1003fc844
// > GJTransformControl::GJTransformControl @ 0x1003fc8c4
// > LevelSelectLayer::create @ 0x1004018b4
// > LevelPage::LevelPage @ 0x100405c84
// > ButtonPage::create @ 0x10042143c
//
// 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
//
__int64 __fastcall cocos2d::CCLayer::CCLayer(__int64 a1)
{
__int64 v2; // x0
__n128 v3; // q1
int v5; // [xsp+8h] [xbp-18h] BYREF
v2 = cocos2d::CCNode::CCNode(a1);
*(_QWORD *)v2 = &off_100796DF8;
*(_QWORD *)(v2 + 320) = off_100797278;
*(_QWORD *)(v2 + 328) = &off_1007972E8;
*(_QWORD *)(v2 + 336) = off_100797300;
*(_QWORD *)(v2 + 344) = &off_100797320;
*(_QWORD *)(v2 + 352) = off_100797340;
*(_DWORD *)(v2 + 360) = 0;
*(_BYTE *)(v2 + 364) = 0;
*(_OWORD *)(v2 + 368) = 0u;
*(_OWORD *)(v2 + 384) = 0u;
*(_DWORD *)(v2 + 400) = 0;
*(_BYTE *)(v2 + 287) = 1;
v3.n128_u32[0] = 0.5;
sub_100022980((__n128)COERCE_UNSIGNED_INT(0.5), v3, &v5);
(*(void (__fastcall **)(__int64, int *))(*(_QWORD *)a1 + 280LL))(a1, &v5);
return a1;
}