//
// GameLevelManager::onAdminClearReportedContentCompleted from 0x80c2ec to 0x80c46c (384 bytes)
//
// 2 xrefs:
// > GameLevelManager::handleIt @ 0x85b150
// > ??> @ 0xe4a18
//
// 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:54:48 +0000
//
__int64 __fastcall GameLevelManager::onAdminClearReportedContentCompleted(__int64 a1, __int64 a2, char *a3)
{
char *v6; // x19
__int64 v7; // x25
size_t v8; // x0
unsigned int v9; // w22
_BOOL4 v10; // w19
__int64 v11; // x0
__int64 v13; // x19
const char *v14; // x0
void (__fastcall *v15)(__int64, _QWORD, _QWORD); // x21
unsigned int v16; // w0
__int64 v17; // [xsp+50h] [xbp+50h] BYREF
__int64 v18; // [xsp+58h] [xbp+58h]
void *v19; // [xsp+60h] [xbp+60h]
v6 = a3 + 1;
v7 = *(_QWORD *)(a1 + 1088);
if ( (*a3 & 1) != 0 )
v6 = *((char **)a3 + 2);
v17 = 0;
v18 = 0;
v19 = nullptr;
v8 = strlen(v6);
std::string::__init(&v17, v6, v8);
cocos2d::CCDictionary::removeObjectForKey(v7, &v17);
if ( (v17 & 1) != 0 )
operator delete(v19);
v9 = sub_7FF0C0((__int64)a3);
v17 = 0;
v18 = 0;
v19 = nullptr;
std::string::__init(&v17, &word_117CE08, 2u);
v10 = sub_7FEA60(a2, (__int64)&v17);
if ( (v17 & 1) != 0 )
operator delete(v19);
if ( v10 )
{
v11 = *(_QWORD *)(a1 + 1256);
if ( v11 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 280LL))(v11, v9);
}
else
{
v13 = *(_QWORD *)(a1 + 1256);
if ( v13 )
{
v14 = (const char *)(a2 + 1);
v15 = *(void (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)v13 + 272LL);
if ( (*(_BYTE *)a2 & 1) != 0 )
v14 = *(const char **)(a2 + 16);
v16 = atoi(v14);
v15(v13, v9, v16);
}
}
return _stack_chk_guard;
}