//
// GameStatsManager::hasCompletedOnlineLevel from 0x100032ff0 to 0x10003304e (94 bytes)
//
// 2 xrefs:
// > GJMapPack::completedMaps @ 0x10058c9a0
// > GJLevelList::completedLevels @ 0x10058f8db
//
// 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
//
bool __fastcall GameStatsManager::hasCompletedOnlineLevel(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
__int64 v3; // rbx
size_t v5[5]; // [rsp+8h] [rbp-28h] BYREF
v2 = *(_QWORD *)(a1 + 608);
GameStatsManager::getLevelKey(v5, a2, a2, 1, 0, 0, 0);
v3 = cocos2d::CCDictionary::objectForKey(v2, v5);
if ( (v5[0] & 1) != 0 )
operator delete((void *)v5[2]);
return v3 != 0;
}