//
// GameStatsManager::uncompleteLevel from 0x523f60 to 0x524020 (192 bytes)
//
// 1 xrefs:
// > GameLevelManager::verifyLevelState @ 0x4abb02
//
// 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::uncompleteLevel(cocos2d::CCDictionary **this, GJGameLevel *a2)
{
const char *StarLevelKey; // r10
size_t v5; // r0
cocos2d::CCDictionary *v6; // r9
const char *DemonLevelKey; // r8
size_t v8; // r0
cocos2d::CCDictionary *v9; // r5
_BYTE v11[12]; // [sp+0h] [bp+0h] BYREF
int v12[3]; // [sp+Ch] [bp+Ch] BYREF
int v13[3]; // [sp+18h] [bp+18h] BYREF
GameStatsManager::getLevelKey((GameStatsManager *)v11, (GJGameLevel *)this, (int)a2);
cocos2d::CCDictionary::removeObjectForKey(*(this + 103));
StarLevelKey = (const char *)GameStatsManager::getStarLevelKey((GameStatsManager *)this, a2);
memset(v12, 0, sizeof(v12));
v5 = strlen(StarLevelKey);
v6 = *(this + 103);
std::string::__init(v12, StarLevelKey, v5);
cocos2d::CCDictionary::removeObjectForKey(v6);
std::string::~string((int)v12);
DemonLevelKey = (const char *)GameStatsManager::getDemonLevelKey((GameStatsManager *)this, a2);
memset(v13, 0, sizeof(v13));
v8 = strlen(DemonLevelKey);
v9 = *(this + 103);
std::string::__init(v13, DemonLevelKey, v8);
cocos2d::CCDictionary::removeObjectForKey(v9);
std::string::~string((int)v13);
return std::string::~string((int)v11);
}