//
// LevelListLayer::scene from 0x10035bbf0 to 0x10035bc65 (117 bytes)
//
// 5 xrefs:
// > LevelListCell::onClick @ 0x1002594e5
// > LevelListCell::onClick @ 0x10025952c
// > LevelListLayer::cloneList @ 0x100360175
// > UploadListPopup::onReturnToList @ 0x100363fb4
// > LevelBrowserLayer::createNewList @ 0x1004913c5
//
// 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 *__fastcall LevelListLayer::scene(GJLevelList *a1)
{
cocos2d::CCScene *v1; // rbx
LevelListLayer *v2; // r14
v1 = cocos2d::CCScene::create();
AppDelegate::get()->m_runningScene = v1;
v2 = (LevelListLayer *)operator new(0x3C8u);
LevelListLayer::LevelListLayer(v2);
if ( LevelListLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(LevelListLayer *))v2->~LevelListLayer_0)(v2);
v2 = nullptr;
}
((void (__fastcall *)(cocos2d::CCScene *, LevelListLayer *))v1->addChild)(v1, v2);
return v1;
}