//
// sub_1005731D0 from 0x1005731d0 to 0x10057324b (123 bytes)
//
// 1 xrefs:
// > ??> @ 0x100964f20
//
// 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
//
void __fastcall sub_1005731D0(__int64 a1)
{
cocos2d::CCDirector *v1; // rbx
cocos2d::CCScene *v2; // rax
cocos2d::CCTransitionFade *v3; // rax
if ( !*(_BYTE *)(a1 + 137) && !*(_BYTE *)(a1 + 177) )
{
GameManager::sharedState()->m_currentGauntlet = 1;
*(_WORD *)(a1 + 136) = 257;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1056LL))(a1 - 336, 0);
v1 = cocos2d::CCDirector::sharedDirector();
v2 = CreatorLayer::scene();
v3 = cocos2d::CCTransitionFade::create_1(0.5, v2);
cocos2d::CCDirector::replaceScene(v1, v3);
}
}