//
// AccountReviewPopup::adminUserHistoryFinished from 0xc49120 to 0xc49244 (292 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'AccountReviewPopup::adminUserHistoryFinished @ 0xc49248
// > ??> @ 0x56500
// > ??> @ 0x14e7968
//
// This function is hookable on this platform (idp: arm, 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 13:05:02 +0000
//
__int64 __fastcall AccountReviewPopup::adminUserHistoryFinished(
__int64 this,
int a2,
cocos2d::CCArray *a3,
int a4,
int a5,
int a6)
{
__int64 v10; // x19
cocos2d::CCObject *v11; // x0
int v12; // w23
char *v13; // x1
if ( *(_DWORD *)(this + 840) == a2 && *(_DWORD *)(this + 1236) == 2 )
{
v10 = this;
PagedListPopup::fadeLoading((PagedListPopup *)this);
this = (unsigned __int8)PagedListPopup::retryPendingPage((PagedListPopup *)v10);
if ( !(_BYTE)this )
{
if ( a3 )
cocos2d::CCObject::retain(a3);
v11 = *(cocos2d::CCObject **)(v10 + 1312);
if ( v11 )
cocos2d::CCObject::release(v11);
*(_QWORD *)(v10 + 1312) = a3;
if ( a6 > 0 )
*(_DWORD *)(v10 + 676) = a5 / a6;
if ( a3 )
{
v12 = cocos2d::CCArray::count(a3);
PagedListPopup::updatePageUI((PagedListPopup *)v10, a4, a5, v12);
if ( v12 )
return AccountReviewPopup::buildHistoryRows((AccountReviewPopup *)v10, a3);
}
else
{
PagedListPopup::updatePageUI((PagedListPopup *)v10, a4, a5, 0);
}
if ( *(_DWORD *)(v10 + 676) )
v13 = "Nothing on this page.";
else
v13 = "No moderator actions yet.";
return PagedListPopup::showStatus((PagedListPopup *)v10, (cocos2d::CCLabelBMFont *)v13);
}
}
return this;
}