//
// sub_100279AF0 from 0x100279af0 to 0x100279b5d (109 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008efc98
//
// 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_100279AF0(__int64 a1)
{
GameManager *v1; // rax
cocos2d::CCDirector *v2; // rbx
cocos2d::CCScene *v3; // rax
cocos2d::CCTransitionFade *v4; // rax
bool result; // al
if ( !*(_BYTE *)(a1 + 96) )
{
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1056LL))(a1 - 336, 0);
v1 = GameManager::sharedState();
GameManager::fadeInMenuMusic(v1);
*(_BYTE *)(a1 + 97) = 1;
v2 = cocos2d::CCDirector::sharedDirector();
v3 = LevelSelectLayer::scene(22);
v4 = cocos2d::CCTransitionFade::create_1(0.5, v3);
return cocos2d::CCDirector::replaceScene(v2, v4);
}
return result;
}