//
// ReportQueuePopup::adminReportQueueFinished from 0x100969360 to 0x100969473 (275 bytes)
//
// 2 xrefs:
// > sub_10096AC70 @ 0x10096ac7c
// > ??> @ 0x100bcd4f0
//
// 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 12:38:49 +0000
//
char __fastcall ReportQueuePopup::adminReportQueueFinished(__int64 a1, __int64 a2, int a3, int a4, int a5)
{
char result; // al
_DWORD *v10; // rdi
int v11; // r13d
int v12; // eax
const char *v13; // rdx
bool v14; // zf
const char *v15; // rax
const char *v16; // rsi
sub_10095D090(a1);
result = sub_10095D010(a1);
if ( !result )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
v10 = *(_DWORD **)(a1 + 800);
if ( v10 )
cocos2d::CCObject::release(v10);
*(_QWORD *)(a1 + 800) = a2;
if ( a5 > 0 )
*(_DWORD *)(a1 + 676) = a4 / a5;
if ( a2 )
{
v11 = sub_1007FEF90(a2);
sub_10095D170((_QWORD *)a1, a3, a4, v11);
if ( v11 )
return sub_100969480(a1, a2);
}
else
{
sub_10095D170((_QWORD *)a1, a3, a4, 0);
}
v12 = *(_DWORD *)(a1 + 796);
v13 = "No open reports or flagged accounts.";
if ( v12 == 2 )
v13 = "Nothing flagged.";
v14 = v12 == 1;
v15 = "No open reports.";
if ( !v14 )
v15 = v13;
v16 = "Nothing on this page.";
if ( !*(_DWORD *)(a1 + 676) )
v16 = v15;
return sub_10095D0B0(a1, (__int64)v16);
}
return result;
}