//
// RetryLevelLayer::onReplay from 0x1004f7ef0 to 0x1004f7f3d (77 bytes)
//
// 1 xrefs:
// > RetryLevelLayer::customSetup @ 0x1004f7a1f
//
// 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:31:27 +0000
//
__int64 __fastcall RetryLevelLayer::onReplay(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rax
v2 = GameManager::sharedState();
if ( !(unsigned __int8)GameManager::getGameVariable(v2, "0024") )
PlatformToolbox::hideCursor(v2);
v3 = GameManager::sharedState();
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 544) + 1608LL))(*(_QWORD *)(v3 + 544));
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 536LL))(a1);
}