//
// GameStatsManager::getLevelKey_1 from 0x100032a30 to 0x100032a96 (102 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:19:31 +0000
//
__int64 __fastcall GameStatsManager::getLevelKey_1(__int64 a1, __int64 a2, __int64 a3)
{
int v3; // ecx
bool v4; // of
int v5; // ecx
v3 = *(_DWORD *)(a3 + 920);
v4 = __OFSUB__(v3, *(_DWORD *)(a3 + 924));
v5 = v3 - *(_DWORD *)(a3 + 924);
GameStatsManager::getLevelKey(
a1,
v5 <= 0 && *(_DWORD *)(a3 + 1140) != 1,
*(_DWORD *)(a3 + 328) - *(_DWORD *)(a3 + 332),
v5 <= 0 && *(_DWORD *)(a3 + 1140) != 1,
!((v5 < 0) ^ v4 | (v5 == 0)),
*(unsigned __int8 *)(a3 + 649),
v5 >= 200001);
return a1;
}