//
// sub_10024878C from 0x10024878c to 0x1002487e0 (84 bytes)
//
// 2 xrefs:
// > RetryLevelLayer::keyDown @ 0x1002489f8
// > RetryLevelLayer::customSetup @ 0x1002482ec
//
// This function is hookable on this platform (idp: arm, 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 11:01:27 +0000
//
__int64 __fastcall sub_10024878C(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
v2 = GameManager::sharedState(a1);
GameManager::getGameVariable(v2, "0024");
if ( (v3 & 1) == 0 )
PlatformToolbox::hideCursor();
v4 = GameManager::sharedState(v3);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v4 + 544) + 1608LL))(*(_QWORD *)(v4 + 544));
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 536LL))(a1);
}