//
// LevelBrowserLayer::scene from 0x1403e1f40 to 0x1403e1f8c (76 bytes)
//
// 18 xrefs:
// > MapPackCell::onClick @ 0x14014e39a
// > EditLevelLayer::onBack @ 0x14017cee1
// > EditLevelLayer::onBack @ 0x14017cf53
// > GameManager::returnToLastScene @ 0x14028734c
// > GameManager::returnToLastScene @ 0x1402874c1
// > GameManager::returnToLastScene @ 0x14028758b
// > InfoLayer::onOriginal @ 0x1403d0736
// > LevelBrowserLayer::onSavedMode @ 0x1403e81ea
// > LevelBrowserLayer::onLocalMode @ 0x1403e82ca
// > LevelBrowserLayer::onMyOnlineLevels @ 0x1403e85a8
// > LevelBrowserLayer::onFavorites @ 0x1403e8697
// > LevelBrowserLayer::onSaved @ 0x1403e8777
// > LevelListLayer::onBack @ 0x14042f1b8
// > UploadListPopup::onBack @ 0x140433fde
// > ProfilePage::onMyLevels @ 0x140556968
// > ProfilePage::onMyLists @ 0x140556a96
// > UploadPopup::onBack @ 0x140632afe
// > ??> @ 0x140924ea8
//
// 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 11:31:41 +0000
//
__int64 __fastcall LevelBrowserLayer::scene(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v5; // rdi
__int64 v6; // rcx
__int64 v7; // rax
v5 = cocos2d::CCScene::create(a1, a2, a3, a4);
*(_QWORD *)(cocos2d::CCApplication::sharedApplication(v6) + 232) = v5;
v7 = LevelBrowserLayer::create(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 464LL))(v5, v7);
return v5;
}