//
// AccountReviewPopup::adminUserHistoryFinished from 0x10099f130 to 0x10099f235 (261 bytes)
//
// 2 xrefs:
// > sub_1009A0EB0 @ 0x1009a0ebc
// > ??> @ 0x100bd6c88
//
// 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:16 +0000
//
char __fastcall AccountReviewPopup::adminUserHistoryFinished(__int64 a1, int a2, __int64 a3, int a4, int a5, int a6)
{
char result; // al
_DWORD *v12; // rdi
int v13; // r13d
const char *v14; // rsi
if ( *(_DWORD *)(a1 + 840) == a2 && *(_DWORD *)(a1 + 1236) == 2 )
{
sub_10095D090(a1);
result = sub_10095D010(a1);
if ( !result )
{
if ( a3 )
cocos2d::CCObject::retain(a3);
v12 = *(_DWORD **)(a1 + 1312);
if ( v12 )
cocos2d::CCObject::release(v12);
*(_QWORD *)(a1 + 1312) = a3;
if ( a6 > 0 )
*(_DWORD *)(a1 + 676) = a5 / a6;
if ( a3 )
{
v13 = sub_1007FEF90(a3);
sub_10095D170((_QWORD *)a1, a4, a5, v13);
if ( v13 )
return sub_10099F240(a1, a3);
}
else
{
sub_10095D170((_QWORD *)a1, a4, a5, 0);
}
v14 = "Nothing on this page.";
if ( !*(_DWORD *)(a1 + 676) )
v14 = "No moderator actions yet.";
return sub_10095D0B0(a1, (__int64)v14);
}
}
return result;
}