//
// sub_10094B5C0 from 0x10094b5c0 to 0x10094b60d (77 bytes)
//
// 0 xrefs:
//
// 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:38:35 +0000
//
__int64 __fastcall sub_10094B5C0(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rcx
__int64 v3; // rdx
result = GameLevelManager::sharedState();
if ( *(_QWORD *)(result + 1264) == a1 + 1016 )
{
result = GameLevelManager::sharedState();
v2 = *(_QWORD *)(a1 + 1040);
v3 = v2 + 672;
if ( !v2 )
v3 = 0;
*(_QWORD *)(result + 1264) = v3;
}
return result;
}