//
// AccountReviewPopup::adminReportedContentFinished from 0x1400b3620 to 0x1400b37c3 (419 bytes)
//
// 5 xrefs:
// > ??> @ 0x140722308
// > ??> @ 0x14088f084
// > ??> @ 0x14088f098
// > ??> @ 0x14088f0a8
// > ??> @ 0x1409135d4
//
// This function is hookable on this platform (idp: pc, 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 11:26:13 +0000
//
void __fastcall AccountReviewPopup::adminReportedContentFinished(__int64 a1, int a2, cocos2d::CCObject *a3, _DWORD *a4)
{
__int64 v7; // rcx
__int64 v8; // rdx
__int64 v9; // rcx
int v10; // esi
cocos2d::CCObject *v11; // rcx
int v12; // ecx
unsigned int v13; // ebp
int v14; // r15d
int v15; // eax
int v16; // r9d
__int64 v17; // r9
const char *v18; // rdx
if ( a2 == *(_DWORD *)(a1 + 64) && !*(_DWORD *)(a1 + 548) )
{
v7 = *(_QWORD *)(a1 - 80);
if ( v7 )
LoadingCircle::fadeAndRemove(v7);
v8 = *(unsigned int *)(a1 - 92);
v9 = a1 - 776;
if ( (int)v8 >= 0 )
{
*(_DWORD *)(v9 + 684) = -1;
PagedListPopup::loadPage(v9, v8);
return;
}
v10 = 0;
*(_DWORD *)(a1 + 572) = 0;
if ( a3 )
cocos2d::CCObject::retain(a3);
v11 = *(cocos2d::CCObject **)(a1 + 624);
if ( v11 )
cocos2d::CCObject::release(v11);
*(_QWORD *)(a1 + 624) = a3;
v12 = a4[31];
if ( v12 > 0 )
*(_DWORD *)(a1 - 96) = a4[30] / v12;
*(_DWORD *)(a1 + 672) = a4[10];
*(_DWORD *)(a1 + 676) = a4[11];
*(_DWORD *)(a1 + 680) = a4[12];
if ( a3 )
v13 = cocos2d::CCArray::count(a3);
else
v13 = 0;
if ( *(_DWORD *)(a1 + 552) || (v14 = 1, *(_DWORD *)(a1 + 672) + *(_DWORD *)(a1 + 676) <= 0) )
v14 = 0;
v15 = *(_DWORD *)(a1 - 96);
v16 = 0;
if ( !v15 )
v16 = v14;
v17 = v13 + v16;
if ( v15 > 0 )
v10 = v14;
PagedListPopup::updatePageUI(a1 - 776, (unsigned int)(v14 + *a4), (unsigned int)(a4[30] + v10), v17);
if ( !v13 )
{
if ( !v14 )
{
if ( !*(_DWORD *)(a1 - 96) )
{
v18 = "Nothing reported of this type.";
if ( !*(_DWORD *)(a1 + 552) )
v18 = "No reported content.";
goto LABEL_27;
}
LABEL_26:
v18 = "Nothing on this page.";
LABEL_27:
PagedListPopup::showStatus(a1 - 776, v18);
return;
}
if ( *(_DWORD *)(a1 - 96) )
goto LABEL_26;
}
AccountReviewPopup::buildReportedRows(a1 - 776, a3);
}
}