//
// AccountReviewPopup::adminUserHistoryFinished from 0x1400b3a10 to 0x1400b3b3a (298 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407222f8
// > ??> @ 0x14091364c
//
// 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::adminUserHistoryFinished(
__int64 a1,
int a2,
cocos2d::CCObject *a3,
unsigned int a4,
unsigned int a5,
int a6)
{
__int64 v6; // rdi
__int64 v10; // rcx
__int64 v11; // rdx
cocos2d::CCObject *v12; // rcx
__int64 v13; // rbx
__int64 v14; // rax
const char *v15; // rdx
v6 = a1 - 776;
if ( a2 == *(_DWORD *)(a1 - 776 + 840) && *(_DWORD *)(a1 + 548) == 2 )
{
v10 = *(_QWORD *)(a1 - 80);
if ( v10 )
LoadingCircle::fadeAndRemove(v10);
v11 = *(unsigned int *)(v6 + 684);
if ( (int)v11 >= 0 )
{
*(_DWORD *)(v6 + 684) = -1;
PagedListPopup::loadPage(v6, v11);
return;
}
if ( a3 )
cocos2d::CCObject::retain(a3);
v12 = *(cocos2d::CCObject **)(a1 + 624);
if ( v12 )
cocos2d::CCObject::release(v12);
*(_QWORD *)(a1 + 624) = a3;
if ( a6 > 0 )
*(_DWORD *)(a1 - 96) = (int)a5 / a6;
if ( a3 )
{
v13 = cocos2d::CCArray::count(a3);
PagedListPopup::updatePageUI(v6, a4, a5, v13);
v14 = v6;
if ( (_DWORD)v13 )
{
AccountReviewPopup::buildHistoryRows(v6, a3);
return;
}
}
else
{
PagedListPopup::updatePageUI(v6, a4, a5, 0);
v14 = v6;
}
v15 = "Nothing on this page.";
if ( !*(_DWORD *)(v14 + 680) )
v15 = "No moderator actions yet.";
PagedListPopup::showStatus(v6, v15);
}
}