//
// LevelSelectLayer::scene from 0x1004820ac to 0x1004820f8 (76 bytes)
//
// 4 xrefs:
// > MenuLayer::onPlay @ 0x100304cf4
// > GameManager::returnToLastScene @ 0x1003bb3b0
// > sub_1003E2E3C @ 0x1003e2e84
// > sub_1003F471C @ 0x1003f4768
//
// 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:05:47 +0000
//
_QWORD *__fastcall LevelSelectLayer::scene(__int64 a1)
{
_QWORD *v2; // x20
__int64 v3; // x1
__int64 v4; // x0
v2 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get((__int64)v2, v3) + 24) = v2;
v4 = LevelSelectLayer::create(a1);
(*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 456LL))(v2, v4);
return v2;
}