//
// LevelSelectLayer::scene from 0x10040184c to 0x100401898 (76 bytes)
//
// 4 xrefs:
// > MenuLayer::onPlay @ 0x1002677b0
// > GameManager::returnToLastScene @ 0x10031d714
// > LevelAreaLayer::onBack @ 0x100344708
// > SecretLayer4::onBack @ 0x100354e78
//
// 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 LevelSelectLayer::scene(int a1)
{
char *v2; // x20
LevelSelectLayer *v3; // x0
v2 = (char *)cocos2d::CCScene::create();
AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage = v2;
v3 = LevelSelectLayer::create(a1);
(*(void (__fastcall **)(char *, LevelSelectLayer *))(*(_QWORD *)v2 + 440LL))(v2, v3);
return (cocos2d::CCScene *)v2;
}