//
// sub_100247E64 from 0x100247e64 to 0x100247ee4 (128 bytes)
//
// 4 xrefs:
// > RetryLevelLayer::dRetryLevelLayer @ 0x100247ee8
// > sub_100247EEC @ 0x100247ef0
// > sub_100247EF4 @ 0x100247efc
// > sub_100247F08 @ 0x100247f14
//
// 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_100247E64(_QWORD *a1)
{
__int64 v2; // x0
*a1 = off_100908648;
a1[40] = off_100908BD8;
a1[41] = &off_100908C48;
a1[42] = off_100908C60;
a1[43] = off_100908C80;
a1[44] = off_100908CA8;
a1[51] = off_100908CD8;
a1[54] = off_100908D58;
a1[76] = off_100908D78;
v2 = GameManager::sharedState(a1);
if ( *(_QWORD **)(v2 + 1296) == a1 + 76 )
*(_QWORD *)(GameManager::sharedState(v2) + 1296) = 0;
return sub_100459174(a1);
}