//
// GameStatsManager::hasCompletedGauntletLevel from 0x5240e0 to 0x52413a (90 bytes)
//
// 2 xrefs:
// > GJMapPack::completedMaps @ 0x4abc9a
// > GauntletLayer::setupGauntlet @ 0x60e3cc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:51:53 +0000
//
int __fastcall GameStatsManager::hasCompletedGauntletLevel(GameStatsManager *this, bool a2)
{
int v2; // r7
int v3; // r6
int result; // r0
_BYTE v5[12]; // [sp+10h] [bp-14h] BYREF
v2 = *((_DWORD *)this + 103);
GameStatsManager::getLevelKey((GameStatsManager *)v5, (int)this, a2, 0, 0, 1, 0);
v3 = cocos2d::CCDictionary::objectForKey(v2, v5);
std::string::~string((int)v5);
result = v3;
if ( v3 )
return 1;
return result;
}