//
// sub_100716FF0 from 0x100716ff0 to 0x10071705d (109 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b99a68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:36:08 +0000
//
void __fastcall sub_100716FF0(__int64 a1, double a2)
{
__int64 v2; // rax
__int64 v3; // rbx
_QWORD *v4; // rax
char *v5; // rax
if ( *(_BYTE *)(a1 + 248) )
{
v2 = GameManager::sharedState();
GameManager::fadeInMenuMusic(v2, a2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1072LL))(a1 - 336, 0);
v3 = cocos2d::CCDirector::sharedDirector();
v4 = CreatorLayer::scene(a1 - 336, 0);
v5 = cocos2d::CCTransitionFade::create_1((__int64)v4, 0.5);
cocos2d::CCDirector::replaceScene(v3, v5);
}
else
{
SecretRewardsLayer::moveToMainLayer(a1 - 336);
}
}