//
// sub_1000364EC from 0x1000364ec to 0x100036530 (68 bytes)
//
// 2 xrefs:
// > ChallengesPage::updateTimers @ 0x100035f50
// > ChallengesPage::challengeStatusFailed @ 0x100036480
//
// 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 10:57:32 +0000
//
__int64 __fastcall sub_1000364EC(__int64 a1)
{
__int64 result; // x0
__int64 v2; // x0
if ( *(_BYTE *)(a1 + 712) == 1 )
{
result = *(_QWORD *)(a1 + 704);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, 0);
}
else
{
*(_BYTE *)(a1 + 712) = 1;
v2 = GameLevelManager::sharedState(a1);
return sub_1000CD000(v2);
}
return result;
}