//
// cocos2d::CCLayer::create from 0x1001c6f44 to 0x1001c6fa4 (96 bytes)
//
// 62 xrefs:
// > TableViewCell::TableViewCell @ 0x100037858
// > SetGroupIDLayer::init @ 0x10003e96c
// > MoreSearchLayer::init @ 0x10005dd58
// > sub_10008C7D4 @ 0x10008c85c
// > DialogLayer::init @ 0x10008fdc8
// > VideoOptionsLayer::init @ 0x100113c88
// > MoreVideoOptionsLayer::init @ 0x100115348
// > MoreVideoOptionsLayer::layerForPage @ 0x100115ebc
// > sub_100117A08 @ 0x100117a78
// > PauseLayer::customSetup @ 0x1001be124
// > CustomSongLayer::init @ 0x1001c2640
// > PurchaseItemPopup::init @ 0x1001cc514
// > sub_1001F849C @ 0x1001f8524
// > SelectArtLayer::init @ 0x10020dbd8
// > sub_10020E640 @ 0x10020e690
// > sub_10024E4D4 @ 0x10024e548
// > DailyLevelPage::init @ 0x10024ed64
// > TutorialLayer::init @ 0x100252dfc
// > TutorialLayer::init @ 0x100252e18
// > GauntletSelectLayer::setupGauntlets @ 0x100254e94
// > RewardsPage::init @ 0x100259658
// > GJBaseGameLayer::setupLayers @ 0x100275cbc
// > GJBaseGameLayer::setupLayers @ 0x100275cf8
// > GJBaseGameLayer::setupLayers @ 0x100275d2c
// > sub_1002E4B74 @ 0x1002e4bfc
// > sub_1002E5208 @ 0x1002e5294
// > sub_1002E65F8 @ 0x1002e6678
// > ShareLevelLayer::init @ 0x100312e48
// > UploadPopup::init @ 0x100314548
// > SelectFontLayer2::init @ 0x1003160c8
// > FLAlertLayer::init @ 0x10034aca0
// > FLAlertLayer::init_1 @ 0x10034b600
// > sub_100372284 @ 0x1003722f4
// > GJAccountSettingsLayer::init @ 0x100373344
// > sub_100375C88 @ 0x100375d38
// > sub_1003767E8 @ 0x100376884
// > sub_100377258 @ 0x1003772d4
// > FriendRequestPopup::init @ 0x100377b10
// > GJMessagePopup::init @ 0x100379294
// > SetIDPopup::init @ 0x10037b0f8
// > sub_10037C930 @ 0x10037ca30
// > sub_1003800D8 @ 0x100380178
// > SecretRewardsLayer::init @ 0x100383258
// > SecretRewardsLayer::init @ 0x100383998
// > SecretRewardsLayer::init @ 0x10038410c
// > SecretRewardsLayer::init @ 0x100384484
// > SecretRewardsLayer::createSecondaryLayer @ 0x100385b44
// > SecretRewardsLayer::generateChestItems @ 0x100386184
// > GJDropDownLayer::init @ 0x1004592e0
// > GJPathsLayer::init @ 0x10045ed78
// > sub_10045F6C4 @ 0x10045f794
// > sub_1004624A8 @ 0x100462524
// > DeathTrackerPopup::init @ 0x1004b9c50
// > sub_1004DF904 @ 0x1004df9f4
// > MessageThreadsPage::init @ 0x1004f3e48
// > ThreadViewPopup::init @ 0x1004f7fe4
// > sub_100502538 @ 0x1005025b0
// > sub_100508F28 @ 0x100509004
// > sub_100514348 @ 0x1005143f4
// > sub_10051A704 @ 0x10051a7d0
// > sub_100527F18 @ 0x100528058
// > sub_10052A0E4 @ 0x10052a19c
//
// 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 11:00:17 +0000
//
void *cocos2d::CCLayer::create()
{
void *v0; // x19
v0 = operator new(0x198u);
cocos2d::CCLayer::CCLayer((__int64)v0);
if ( (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v0 + 80LL))(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}