//
// AccountReviewPopup::adminReportedContentFinished from 0x10099bca0 to 0x10099be17 (375 bytes)
//
// 2 xrefs:
// > sub_10099D7F0 @ 0x10099d7fc
// > ??> @ 0x100bd6c68
//
// 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:39:14 +0000
//
void __fastcall AccountReviewPopup::adminReportedContentFinished(__int64 a1, int a2, __int64 a3, __int64 a4)
{
__int64 v7; // r8
_DWORD *v8; // rdi
int v9; // ecx
int v10; // eax
int v11; // r15d
_BOOL4 v12; // ecx
bool v13; // r12
_BOOL4 v14; // edx
int v15; // eax
const char *v16; // rsi
if ( *(_DWORD *)(a1 + 840) == a2 && !*(_DWORD *)(a1 + 1236) )
{
sub_10095D090(a1);
if ( !sub_10095D010(a1) )
{
v7 = a4;
*(_DWORD *)(a1 + 1260) = 0;
if ( a3 )
{
cocos2d::CCObject::retain(a3);
v7 = a4;
}
v8 = *(_DWORD **)(a1 + 1312);
if ( v8 )
{
cocos2d::CCObject::release(v8);
v7 = a4;
}
*(_QWORD *)(a1 + 1312) = a3;
v9 = *(_DWORD *)(v7 + 108);
if ( v9 > 0 )
*(_DWORD *)(a1 + 676) = *(_DWORD *)(v7 + 104) / v9;
*(_QWORD *)(a1 + 1368) = *(_QWORD *)(v7 + 40);
*(_DWORD *)(a1 + 1376) = *(_DWORD *)(v7 + 48);
if ( a3 )
{
v10 = sub_1007FEF90(a3);
v7 = a4;
v11 = v10;
v12 = 0;
v13 = 0;
if ( *(_DWORD *)(a1 + 1240) )
goto LABEL_14;
}
else
{
v11 = 0;
v12 = 0;
v13 = 0;
if ( *(_DWORD *)(a1 + 1240) )
{
LABEL_14:
v14 = 0;
if ( *(int *)(a1 + 676) > 0 )
v14 = v13;
if ( !*(_DWORD *)(a1 + 676) )
v12 = v13;
sub_10095D170((_QWORD *)a1, v13 + *(_DWORD *)v7, *(_DWORD *)(v7 + 104) + v14, v11 + v12);
if ( v11 )
goto LABEL_19;
v15 = *(_DWORD *)(a1 + 676);
if ( v13 )
{
if ( !v15 )
{
LABEL_19:
AccountReviewPopup::buildReportedRows(a1, a3);
return;
}
}
else if ( !v15 )
{
v16 = "Nothing reported of this type.";
if ( !*(_DWORD *)(a1 + 1240) )
v16 = "No reported content.";
goto LABEL_29;
}
v16 = "Nothing on this page.";
LABEL_29:
sub_10095D0B0(a1, (__int64)v16);
return;
}
}
v13 = !((*(_DWORD *)(a1 + 1368) + *(_DWORD *)(a1 + 1372) < 0)
^ __OFADD__(*(_DWORD *)(a1 + 1368), *(_DWORD *)(a1 + 1372))
| (*(_DWORD *)(a1 + 1368) + *(_DWORD *)(a1 + 1372) == 0));
goto LABEL_14;
}
}
}