//
// AccountReviewPopup::adminReportedContentFinished from 0xc4e70c to 0xc4e894 (392 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'AccountReviewPopup::adminReportedContentFinished @ 0xc4e898
// > ??> @ 0x9e620
// > ??> @ 0x14e7948
//
// 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 13:05:07 +0000
//
__int64 __fastcall AccountReviewPopup::adminReportedContentFinished(
__int64 result,
int a2,
cocos2d::CCObject *a3,
_DWORD *a4)
{
int v4; // w22
__int64 v7; // x19
cocos2d::CCObject *v8; // x0
int v9; // w1
int v10; // w24
int v11; // w23
int v12; // w0
int v13; // w2
int v14; // w0
char *v15; // x1
if ( *(_DWORD *)(result + 840) == a2 )
{
v4 = *(_DWORD *)(result + 1236);
if ( !v4 )
{
v7 = result;
PagedListPopup::fadeLoading((PagedListPopup *)result);
result = (unsigned __int8)PagedListPopup::retryPendingPage((PagedListPopup *)v7);
if ( !(_BYTE)result )
{
*(_DWORD *)(v7 + 1260) = 0;
if ( a3 )
cocos2d::CCObject::retain(a3);
v8 = *(cocos2d::CCObject **)(v7 + 1312);
if ( v8 )
cocos2d::CCObject::release(v8);
*(_QWORD *)(v7 + 1312) = a3;
v9 = a4[27];
if ( v9 > 0 )
*(_DWORD *)(v7 + 676) = a4[26] / v9;
*(_DWORD *)(v7 + 1368) = a4[10];
*(_DWORD *)(v7 + 1372) = a4[11];
*(_DWORD *)(v7 + 1376) = a4[12];
if ( a3 )
v10 = cocos2d::CCArray::count(a3);
else
v10 = 0;
v11 = 0;
if ( !*(_DWORD *)(v7 + 1240) )
v11 = *(_DWORD *)(v7 + 1368) + *(_DWORD *)(v7 + 1372) > 0;
v12 = *(_DWORD *)(v7 + 676);
v13 = a4[26];
if ( v12 <= 0 )
{
if ( v12 )
v4 = 0;
else
v4 = v11;
}
else
{
v13 += v11;
}
PagedListPopup::updatePageUI((PagedListPopup *)v7, v11 + *a4, v13, v10 + v4);
if ( !v10 )
{
v14 = *(_DWORD *)(v7 + 676);
if ( !v11 )
{
if ( !v14 )
{
if ( *(_DWORD *)(v7 + 1240) )
v15 = "Nothing reported of this type.";
else
v15 = "No reported content.";
return PagedListPopup::showStatus((PagedListPopup *)v7, (cocos2d::CCLabelBMFont *)v15);
}
LABEL_23:
v15 = "Nothing on this page.";
return PagedListPopup::showStatus((PagedListPopup *)v7, (cocos2d::CCLabelBMFont *)v15);
}
if ( v14 )
goto LABEL_23;
}
return AccountReviewPopup::buildReportedRows((AccountReviewPopup *)v7, a3);
}
}
}
return result;
}