//
// ReportQueuePopup::adminReportQueueFinished from 0x1400c7f70 to 0x1400c809f (303 bytes)
//
// 4 xrefs:
// > ??> @ 0x140725198
// > ??> @ 0x140890b90
// > ??> @ 0x140890ba0
// > ??> @ 0x140913f1c
//
// 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:21 +0000
//
void __fastcall ReportQueuePopup::adminReportQueueFinished(
__int64 a1,
cocos2d::CCObject *a2,
unsigned int a3,
int a4,
int a5)
{
__int64 v5; // rdi
__int64 v7; // rcx
int v11; // edx
cocos2d::CCObject *v12; // rcx
int v13; // ebx
int v14; // ecx
const char *v15; // rax
const char *v16; // rdx
v5 = a1 - 776;
v7 = *(_QWORD *)(a1 - 776 + 696);
if ( v7 )
LoadingCircle::fadeAndRemove(v7);
v11 = *(_DWORD *)(v5 + 684);
if ( v11 >= 0 )
{
*(_DWORD *)(v5 + 684) = -1;
PagedListPopup::loadPage(v5, v11);
return;
}
if ( a2 )
cocos2d::CCObject::retain(a2);
v12 = *(cocos2d::CCObject **)(a1 + 24);
if ( v12 )
cocos2d::CCObject::release(v12);
*(_QWORD *)(a1 + 24) = a2;
if ( a5 > 0 )
*(_DWORD *)(a1 - 96) = a4 / a5;
if ( a2 )
{
v13 = cocos2d::CCArray::count(a2);
PagedListPopup::updatePageUI((_QWORD *)v5, a3, a4, v13);
if ( v13 )
{
ReportQueuePopup::buildRows(v5, a2);
return;
}
}
else
{
PagedListPopup::updatePageUI((_QWORD *)v5, a3, a4, 0);
}
v14 = *(_DWORD *)(v5 + 796);
if ( v14 == 1 )
{
v15 = "No open reports.";
}
else
{
v15 = "No open reports or flagged accounts.";
if ( v14 == 2 )
v15 = "Nothing flagged.";
}
v16 = "Nothing on this page.";
if ( !*(_DWORD *)(a1 - 96) )
v16 = v15;
PagedListPopup::showStatus(a1 - 776, v16);
}