//
// GameStatsManager::getStarLevelKey from 0x100032e20 to 0x100032e88 (104 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::getStarLevelKey(__int64 a1, __int64 a2)
{
__int64 v2; // rax
char *v4; // rdi
__int64 v5; // rax
char savedregs; // [rsp+0h] [rbp+0h]
if ( *(_DWORD *)(a2 + 920) <= *(_DWORD *)(a2 + 924) )
{
if ( *(_BYTE *)(a2 + 649) == 1 )
v4 = "gstar_%i";
else
v4 = "star_%i";
v5 = sub_10088E820(v4, savedregs);
return cocos2d::CCString::getCString(v5);
}
else
{
v2 = sub_10088E820("%s%i", savedregs);
return cocos2d::CCString::getCString(v2);
}
}