//
// GameStatsManager::getDemonLevelKey from 0x100032dc0 to 0x100032e13 (83 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::getDemonLevelKey(__int64 a1, __int64 a2)
{
char *v2; // rdi
__int64 v3; // rax
char savedregs; // [rsp+0h] [rbp+0h]
if ( *(_DWORD *)(a2 + 920) <= *(_DWORD *)(a2 + 924) )
{
if ( *(_BYTE *)(a2 + 649) == 1 )
v2 = "gdemon_%i";
else
v2 = "demon_%i";
}
else
{
v2 = "ddemon_%i";
}
v3 = sub_10088E820(v2, savedregs);
return cocos2d::CCString::getCString(v3);
}