//
// sub_1003C3A00 from 0x1003c3a00 to 0x1003c3a65 (101 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092dee0
//
// 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_1003C3A00(__int64 a1)
{
cocos2d::CCDirector *v1; // rbx
cocos2d::CCScene *v2; // rax
cocos2d::CCTransitionFade *v3; // rax
bool result; // al
if ( !*(_BYTE *)(a1 + 113) && !*(_BYTE *)(a1 + 128) )
{
*(_WORD *)(a1 + 112) = 257;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1056LL))(a1 - 336, 0);
v1 = cocos2d::CCDirector::sharedDirector();
v2 = MenuLayer::scene(0);
v3 = cocos2d::CCTransitionFade::create_1(0.5, v2);
return cocos2d::CCDirector::replaceScene(v1, v3);
}
return result;
}