//
// cocos2d::CCLayer::create from 0xd5cecc to 0xd5cf38 (108 bytes)
//
// 71 xrefs:
// > TableViewCell::TableViewCell @ 0x698804
// > FLAlertLayer::init @ 0x699db8
// > FLAlertLayer::init @ 0x699fcc
// > SlideInLayer::init @ 0x6b3b20
// > ScrollingLayer::init @ 0x6c9960
// > TutorialPopup::init @ 0x72b720
// > PauseLayer::customSetup @ 0x7d8130
// > MoreSearchLayer::init @ 0x7e0bf0
// > ShareLevelLayer::init @ 0x7f3d3c
// > UploadPopup::init @ 0x7f4c88
// > GJDropDownLayer::init @ 0x8ecfe4
// > MoreOptionsLayer::layerForPage @ 0x8f0780
// > MoreVideoOptionsLayer::layerForPage @ 0x8f12bc
// > MoreVideoOptionsLayer::init @ 0x8f1bc4
// > ParentalOptionsLayer::layerForPage @ 0x8f2524
// > VideoOptionsLayer::init @ 0x8f4af0
// > MoreOptionsLayer::init @ 0x8f7ab4
// > TutorialLayer::init @ 0x9009bc
// > TutorialLayer::init @ 0x9009d8
// > CustomSongLayer::init @ 0x980798
// > AccountLoginLayer::init @ 0x991764
// > GJBaseGameLayer::setupLayers @ 0x9f3e20
// > GJBaseGameLayer::setupLayers @ 0x9f3e60
// > GJBaseGameLayer::setupLayers @ 0x9f3e9c
// > SelectFontLayer::init @ 0xa21e24
// > GJOptionsLayer::layerForPage @ 0xa234b0
// > UpdateAccountSettingsPopup::init @ 0xa263a4
// > UploadActionPopup::init @ 0xa28098
// > SetIDPopup::init @ 0xa29ba0
// > SetTextPopup::init @ 0xa2fa64
// > GJPromoPopup::init @ 0xa30de0
// > FriendRequestPopup::init @ 0xa317c0
// > GJWriteMessagePopup::init @ 0xa32178
// > GJMessagePopup::init @ 0xa33718
// > SocialLinksPopup::init @ 0xa36650
// > GJAccountSettingsLayer::init @ 0xa37700
// > DailyLevelPage::init @ 0xa6f334
// > DialogLayer::init @ 0xa710bc
// > GauntletSelectLayer::setupGauntlets @ 0xa76710
// > PurchaseItemPopup::init @ 0xa80a28
// > RewardsPage::init @ 0xa85bd4
// > WorldSelectLayer::setupWorlds @ 0xaa7ac8
// > SetGroupIDLayer::init @ 0xabeea8
// > SelectArtLayer::init @ 0xb62c20
// > SelectSettingLayer::init @ 0xb64694
// > SelectSFXSortLayer::init @ 0xb90924
// > SecretRewardsLayer::init @ 0xb9f134
// > SecretRewardsLayer::init @ 0xb9fd44
// > SecretRewardsLayer::init @ 0xba00d4
// > SecretRewardsLayer::init @ 0xba075c
// > SecretRewardsLayer::generateChestItems @ 0xba14cc
// > SecretRewardsLayer::createSecondaryLayer @ 0xba1910
// > GJPathRewardPopup::init @ 0xba46e8
// > GJPathsLayer::init @ 0xba5cf0
// > GJPathPage::init @ 0xba63a8
// > SelectListIconLayer::init @ 0xba9ad8
// > UploadListPopup::init @ 0xbac388
// > ShareListLayer::init @ 0xbace58
// > PagedListPopup::initFrame @ 0xc397dc
// > SFXFolderPickerPopup::init @ 0xc3c8c8
// > MessageThreadsPage::init @ 0xc752c4
// > LevelBadgePopup::init @ 0xc76ff0
// > NewThreadPopup::init @ 0xc7d7c8
// > ThreadRequestPopup::init @ 0xc7ff00
// > ThreadViewPopup::init @ 0xc86c20
// > SongUsagePopup::init @ 0xc8cfe8
// > DeathTrackerPopup::init @ 0xcb40c8
// > IDNameBrowserPopup::init @ 0xce26e0
// > SelectFontLayer2::init @ 0xd031ec
// > cocos2d::extension::CCScrollView::initWithViewSize @ 0xd18a00
// > ??> @ 0x465e8
//
// This function is hookable on this platform (idp: arm, 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 13:07:48 +0000
//
cocos2d::CCLayer *__fastcall cocos2d::CCLayer::create(cocos2d::CCLayer *this)
{
cocos2d::CCLayer *v1; // x19
v1 = (cocos2d::CCLayer *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v1);
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCLayer *))(*(_QWORD *)v1 + 80LL))(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayer *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}