//
// cocos2d::CCLayer::create from 0x7d7a68 to 0x7d7a9a (50 bytes)
//
// 70 xrefs:
// > TableViewCell::TableViewCell @ 0x3cacc6
// > FLAlertLayer::init @ 0x3cb914
// > FLAlertLayer::init @ 0x3cba66
// > SlideInLayer::init @ 0x3da57a
// > ScrollingLayer::init @ 0x3e72fc
// > TutorialPopup::init @ 0x41e90c
// > PauseLayer::customSetup @ 0x490b6a
// > MoreSearchLayer::init @ 0x49710a
// > UploadPopup::init @ 0x4a389a
// > ShareLevelLayer::init @ 0x4a3e34
// > GJDropDownLayer::init @ 0x52bdb6
// > MoreOptionsLayer::layerForPage @ 0x52df48
// > MoreVideoOptionsLayer::layerForPage @ 0x52e840
// > MoreVideoOptionsLayer::init @ 0x52eddc
// > ParentalOptionsLayer::layerForPage @ 0x52f4a4
// > VideoOptionsLayer::init @ 0x530d4a
// > MoreOptionsLayer::init @ 0x532bfa
// > TutorialLayer::init @ 0x538f12
// > TutorialLayer::init @ 0x538f26
// > CustomSongLayer::init @ 0x57c3ae
// > AccountLoginLayer::init @ 0x587488
// > GJBaseGameLayer::setupLayers @ 0x5994cc
// > GJBaseGameLayer::setupLayers @ 0x599500
// > GJBaseGameLayer::setupLayers @ 0x59952a
// > SelectFontLayer::init @ 0x5d5f32
// > GJOptionsLayer::layerForPage @ 0x5d6d44
// > UpdateAccountSettingsPopup::init @ 0x5d8b20
// > UploadActionPopup::init @ 0x5d97f0
// > SetIDPopup::init @ 0x5da6fe
// > SetTextPopup::init @ 0x5de27c
// > GJPromoPopup::init @ 0x5dee60
// > FriendRequestPopup::init @ 0x5df108
// > GJWriteMessagePopup::init @ 0x5df784
// > GJMessagePopup::init @ 0x5e07ec
// > SocialLinksPopup::init @ 0x5e2756
// > GJAccountSettingsLayer::init @ 0x5e3268
// > DailyLevelPage::init @ 0x60839a
// > DialogLayer::init @ 0x609b92
// > GauntletSelectLayer::setupGauntlets @ 0x60cdf6
// > PurchaseItemPopup::init @ 0x613cfe
// > RewardsPage::init @ 0x617480
// > WorldSelectLayer::setupWorlds @ 0x62de0e
// > SetGroupIDLayer::init @ 0x63d156
// > SelectArtLayer::init @ 0x6a974a
// > SelectSettingLayer::init @ 0x6aa6c0
// > SelectSFXSortLayer::init @ 0x6c4ce4
// > SecretRewardsLayer::init @ 0x6ce02a
// > SecretRewardsLayer::init @ 0x6ce5fe
// > SecretRewardsLayer::init @ 0x6cec2e
// > SecretRewardsLayer::init @ 0x6ceea2
// > SecretRewardsLayer::generateChestItems @ 0x6cf77c
// > SecretRewardsLayer::createSecondaryLayer @ 0x6cfb3e
// > GJPathRewardPopup::init @ 0x6d1cc6
// > GJPathsLayer::init @ 0x6d2bae
// > GJPathPage::init @ 0x6d2f7a
// > SelectListIconLayer::init @ 0x6d51f2
// > UploadListPopup::init @ 0x6d6d58
// > ShareListLayer::init @ 0x6d746e
// > PagedListPopup::initFrame @ 0x72e662
// > SFXFolderPickerPopup::init @ 0x7303ea
// > MessageThreadsPage::init @ 0x750114
// > LevelBadgePopup::init @ 0x7523fa
// > NewThreadPopup::init @ 0x756228
// > ThreadRequestPopup::init @ 0x757cc6
// > ThreadViewPopup::init @ 0x75c18a
// > SongUsagePopup::init @ 0x7603a4
// > DeathTrackerPopup::init @ 0x775b96
// > IDNameBrowserPopup::init @ 0x7924a4
// > SelectFontLayer2::init @ 0x7a1bfe
// > cocos2d::extension::CCScrollView::initWithViewSize @ 0x7af180
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:40 +0000
//
cocos2d::CCLayer *__fastcall cocos2d::CCLayer::create(cocos2d::CCLayer *this)
{
cocos2d::CCLayer *v1; // r4
float v2; // r1
float v3; // r2
float v4; // r3
v1 = (cocos2d::CCLayer *)operator new(0x13Cu);
cocos2d::CCLayer::CCLayer(v1, v2, v3, v4);
if ( (*(int (__fastcall **)(cocos2d::CCLayer *))(*(_DWORD *)v1 + 40))(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayer *))(*(_DWORD *)v1 + 8))(v1);
return nullptr;
}
}