//
// GameStatsManager::hasCompletedGauntletLevel from 0x8df38c to 0x8df438 (172 bytes)
//
// 3 xrefs:
// > GJMapPack::completedMaps @ 0x806a1c
// > GauntletLayer::setupGauntlet @ 0xa7883c
// > ??> @ 0xeba50
//
// This function is hookable on this platform (idp: arm, 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:56:49 +0000
//
bool __fastcall GameStatsManager::hasCompletedGauntletLevel(GameStatsManager *this, unsigned int a2)
{
__int64 v2; // x21
_BOOL4 v3; // w20
unsigned __int64 v5[3]; // [xsp+30h] [xbp+30h] BYREF
v2 = *((_QWORD *)this + 76);
GameStatsManager::getLevelKey(a2, 0, 0, 1, 0, v5);
v3 = cocos2d::CCDictionary::objectForKey(v2, v5) != 0;
if ( (v5[0] & 1) != 0 )
operator delete((void *)v5[2]);
return v3;
}