//
// GameLevelManager::markLevelAsReported from 0x4af434 to 0x4af4c6 (146 bytes)
//
// 1 xrefs:
// > GameLevelManager::reportLevel @ 0x4b5282
//
// 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:50:01 +0000
//
int __fastcall GameLevelManager::markLevelAsReported(cocos2d::CCDictionary **this, const char *a2)
{
int v4; // r8
cocos2d::CCObject *v5; // r7
const char *ReportKey; // r0
const char *v7; // r5
size_t v8; // r0
int v10[3]; // [sp+0h] [bp-14h] BYREF
if ( cocos2d::CCDictionary::count(*(this + 144)) > 9u )
{
cocos2d::CCDictionary::getFirstKey((cocos2d::CCDictionary *)v10);
cocos2d::CCDictionary::removeObjectForKey(*(this + 144));
std::string::~string((int)v10);
}
v4 = (int)*(this + 144);
v5 = *(this + 242);
ReportKey = (const char *)GameLevelManager::getReportKey((GameLevelManager *)this, a2);
memset(v10, 0, sizeof(v10));
v7 = ReportKey;
v8 = strlen(ReportKey);
std::string::__init(v10, v7, v8);
cocos2d::CCDictionary::setObject(v4, v5);
return std::string::~string((int)v10);
}