//
// cocos2d::CCScene::create from 0x5d04f4 to 0x5d0526 (50 bytes)
//
// 35 xrefs:
// > MenuLayer::scene @ 0x30a0ac
// > LoadingLayer::scene @ 0x30c79c
// > PlayLayer::scene @ 0x31d320
// > GameManager::reloadAll @ 0x323560
// > LevelEditorLayer::scene @ 0x37726e
// > CreatorLayer::scene @ 0x3aafea
// > LevelSearchLayer::scene @ 0x3af10c
// > LevelInfoLayer::scene @ 0x3b5746
// > EditLevelLayer::scene @ 0x3b79e8
// > LevelBrowserLayer::scene @ 0x3bd460
// > GJGarageLayer::scene @ 0x402576
// > LevelSelectLayer::scene @ 0x40a6e0
// > VideoOptionsLayer::onApply @ 0x4220ce
// > GraphicsReloadLayer::performReload @ 0x42224a
// > GraphicsReloadLayer::scene @ 0x4273f6
// > LeaderboardsLayer::scene @ 0x4529d2
// > GJGameLoadingLayer::transitionToLoadingLayer @ 0x47cce6
// > SecretLayer::scene @ 0x4c9622
// > GauntletSelectLayer::scene @ 0x4d9cd0
// > GauntletLayer::scene @ 0x4db578
// > GJShopLayer::scene @ 0x4e3eac
// > SecretLayer2::scene @ 0x4ec0a6
// > SecretLayer3::scene @ 0x4ede3a
// > SecretLayer4::scene @ 0x4f02fa
// > WorldSelectLayer::scene @ 0x4fe8c0
// > MapSelectLayer::scene @ 0x50e5fa
// > MultiplayerLayer::scene @ 0x529022
// > MPLobbyLayer::scene @ 0x535524
// > LevelAreaLayer::scene @ 0x56c036
// > LevelAreaInnerLayer::scene @ 0x56da08
// > SecretRewardsLayer::scene @ 0x587308
// > LevelListLayer::scene @ 0x591b84
// > SecretLayer5::scene @ 0x59c7fe
// > SecretLayer6::scene @ 0x59dd6e
// > cocos2d::CCTransitionScene::initWithDuration @ 0x5d13b6
//
// 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::CCScene *cocos2d::CCScene::create()
{
cocos2d::CCScene *v0; // r4
float v1; // r1
float v2; // r2
int v3; // r3
v0 = (cocos2d::CCScene *)operator new(0x10Cu);
cocos2d::CCScene::CCScene(v0, v1, v2, v3);
if ( ((int (__fastcall *)(cocos2d::CCScene *))v0->init)(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~CCScene_0(v0);
return nullptr;
}
}