//
// cocos2d::CCLayer::create from 0x5cf8d8 to 0x5cf90a (50 bytes)
//
// 58 xrefs:
// > TableViewCell::TableViewCell @ 0x2ea802
// > FLAlertLayer::init @ 0x2eaf78
// > FLAlertLayer::init @ 0x2eb06a
// > SlideInLayer::init @ 0x2f4c74
// > ScrollingLayer::init @ 0x2fdcd0
// > TutorialPopup::init @ 0x32a508
// > MoreSearchLayer::init @ 0x3af86a
// > ShareLevelLayer::init @ 0x3b8cfc
// > UploadPopup::init @ 0x3b9520
// > GJDropDownLayer::init @ 0x420c28
// > MoreOptionsLayer::layerForPage @ 0x422e1c
// > MoreOptionsLayer::init @ 0x42349e
// > VideoOptionsLayer::init @ 0x424aec
// > MoreVideoOptionsLayer::layerForPage @ 0x4258e0
// > MoreVideoOptionsLayer::init @ 0x425ecc
// > ParentalOptionsLayer::layerForPage @ 0x4269b0
// > TutorialLayer::init @ 0x42be4e
// > TutorialLayer::init @ 0x42be62
// > CustomSongLayer::init @ 0x45ec02
// > AccountLoginLayer::init @ 0x4695ee
// > KeybindingsLayer::layerForPage @ 0x46a5f8
// > GJBaseGameLayer::setupLayers @ 0x47a9e8
// > GJBaseGameLayer::setupLayers @ 0x47aa1c
// > GJBaseGameLayer::setupLayers @ 0x47aa46
// > SelectFontLayer::init @ 0x4aa3e4
// > GJOptionsLayer::layerForPage @ 0x4ab268
// > UpdateAccountSettingsPopup::init @ 0x4abd78
// > UploadActionPopup::init @ 0x4ac340
// > FriendRequestPopup::init @ 0x4ad3f6
// > GJMessagePopup::init @ 0x4add40
// > GJWriteMessagePopup::init @ 0x4ae984
// > SetIDPopup::init @ 0x4af80c
// > SetTextPopup::init @ 0x4b05d4
// > GJPromoPopup::init @ 0x4b3936
// > GJAccountSettingsLayer::init @ 0x4b5980
// > DailyLevelPage::init @ 0x4d4e0e
// > DialogLayer::init @ 0x4d61e8
// > GauntletSelectLayer::setupGauntlets @ 0x4d93a2
// > PurchaseItemPopup::init @ 0x4e3f58
// > RewardsPage::init @ 0x4e6fde
// > WorldSelectLayer::setupWorlds @ 0x4fdfa6
// > SetGroupIDLayer::init @ 0x50a230
// > SelectArtLayer::init @ 0x5706ae
// > SelectSettingLayer::init @ 0x572a54
// > SelectSFXSortLayer::init @ 0x5848c0
// > SecretRewardsLayer::init @ 0x585f44
// > SecretRewardsLayer::init @ 0x58651e
// > SecretRewardsLayer::init @ 0x586afa
// > SecretRewardsLayer::init @ 0x586d5e
// > SecretRewardsLayer::generateChestItems @ 0x589b70
// > SecretRewardsLayer::createSecondaryLayer @ 0x589f32
// > GJPathsLayer::init @ 0x58ce06
// > GJPathPage::init @ 0x58d1d4
// > GJPathRewardPopup::init @ 0x58e392
// > SelectListIconLayer::init @ 0x5924a6
// > ShareListLayer::init @ 0x592a12
// > UploadListPopup::init @ 0x593590
// > cocos2d::extension::CCScrollView::initWithViewSize @ 0x5a94e0
//
// 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 *cocos2d::CCLayer::create()
{
cocos2d::CCLayer *v0; // r4
float v1; // r1
float v2; // r2
int v3; // r3
v0 = (cocos2d::CCLayer *)operator new(0x13Cu);
cocos2d::CCLayer::CCLayer(v0, v1, v2, v3);
if ( ((int (__fastcall *)(cocos2d::CCLayer *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~CCLayer_0(v0);
return nullptr;
}
}