//
// AccountReviewPopup::clearSelectedReports from 0x736710 to 0x73680a (250 bytes)
//
// 1 xrefs:
// > AccountReviewPopup::FLAlert_Clicked @ 0x73ab10
//
// 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:58:24 +0000
//
_DWORD *__fastcall AccountReviewPopup::clearSelectedReports(_DWORD *this)
{
PagedListPopup *v1; // r4
_DWORD *v2; // r8
_DWORD *v3; // r6
signed int v4; // r7
int v5; // r7
int v6; // r3
cocos2d::CCString *v7; // r0
char *CString; // r0
int v9; // r3
GameLevelManager *v10; // r0
GameManager *v11; // r0
int v12; // r1
int v13; // r2
int v14; // [sp+0h] [bp-14h] BYREF
int v15; // [sp+4h] [bp-10h]
int v16; // [sp+8h] [bp-Ch]
v1 = (PagedListPopup *)this;
if ( *(this + 231) && *(this + 237) && !*(this + 218) )
{
v2 = this + 236;
v3 = (_DWORD *)*(this + 235);
v14 = 0;
v15 = 0;
v16 = 0;
while ( v3 != v2 )
{
v4 = v3[4];
if ( v4 >= 0 && v4 < cocos2d::CCArray::count(*((cocos2d::CCArray **)v1 + 231)) )
{
v5 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)v1 + 231), v4);
if ( (v14 & 1) != 0 )
v6 = v15;
else
v6 = (int)(unsigned __int8)v14 >> 1;
if ( v6 )
std::string::append(&v14, ",");
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i:%i:%i",
*(const char **)(v5 + 52),
*(_DWORD *)(v5 + 56),
*(_DWORD *)(v5 + 60),
v14);
CString = (char *)cocos2d::CCString::getCString(v7);
std::string::append(&v14, CString);
}
this = std::__tree_next *>(v3);
v3 = this;
}
if ( (v14 & 1) != 0 )
v9 = v15;
else
v9 = (int)(unsigned __int8)v14 >> 1;
if ( v9 )
{
v10 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)this);
*((_DWORD *)v10 + 209) = (char *)v1 + 596;
v11 = (GameManager *)GameLevelManager::sharedState(v10);
if ( GameLevelManager::adminClearReportedContent(v11, *((const char **)v1 + 157), (unsigned __int8 *)&v14) )
PagedListPopup::showLoading(v1, v12, v13);
}
return (_DWORD *)std::string::~string((int)&v14);
}
return this;
}