//
// sub_100299A20 from 0x100299a20 to 0x100299a7d (93 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008f7db8
//
// 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
//
char __fastcall sub_100299A20(__int64 a1)
{
cocos2d::CCDirector *v1; // r14
cocos2d::CCScene *v2; // rax
cocos2d::CCTransitionFade *v3; // rax
char result; // al
v1 = cocos2d::CCDirector::sharedDirector();
v2 = MenuLayer::scene(0);
v3 = cocos2d::CCTransitionFade::create_1(0.5, v2);
result = cocos2d::CCDirector::replaceScene(v1, v3);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1056LL))(a1 - 336, 0);
return result;
}