//
// sub_1003B50C0 from 0x1003b50c0 to 0x1003b5138 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x100929758
//
// 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
//
bool __fastcall sub_1003B50C0(__int64 a1)
{
GameManager *v1; // rax
cocos2d::CCDirector *v2; // r14
cocos2d::CCScene *v3; // rax
cocos2d::CCTransitionFade *v4; // rax
bool result; // al
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 120) + 1144LL))(*(_QWORD *)(a1 + 120), 0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1056LL))(a1 - 336, 0);
v1 = GameManager::sharedState();
GameManager::fadeInMenuMusic(v1);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = LevelSelectLayer::scene(23);
v4 = cocos2d::CCTransitionFade::create_1(0.5, v3);
result = cocos2d::CCDirector::replaceScene(v2, v4);
*(_BYTE *)(a1 + 152) = 1;
return result;
}