//
// LevelListLayer::scene from 0x100347180 to 0x1003471f5 (117 bytes)
//
// 5 xrefs:
// > LevelListCell::onClick @ 0x100243276
// > LevelListCell::onClick @ 0x1002432c2
// > LevelListLayer::cloneList @ 0x10034b7e5
// > UploadListPopup::onReturnToList @ 0x10034fb64
// > LevelBrowserLayer::createNewList @ 0x100487525
//
// This function is hookable on this platform (idp: pc, 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 12:28:45 +0000
//
_BYTE *__fastcall LevelListLayer::scene(__int64 a1, __int64 a2)
{
_BYTE *v2; // rbx
void *v3; // r14
v2 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get(a1, a2) + 72) = v2;
v3 = operator new(0x3F8u);
sub_10034FF40(v3);
if ( (unsigned __int8)LevelListLayer::init(v3, a1) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v3 + 16LL))(v3);
v3 = nullptr;
}
(*(void (__fastcall **)(_BYTE *, void *))(*(_QWORD *)v2 + 456LL))(v2, v3);
return v2;
}