//
// PagedListPopup::updatePageUI from 0x1400c38e0 to 0x1400c39b4 (212 bytes)
//
// 9 xrefs:
// > AccountReviewPopup::adminReportedContentFinished @ 0x1400b3747
// > AccountReviewPopup::adminAbuseInfoFinished @ 0x1400b3911
// > AccountReviewPopup::adminUserHistoryFinished @ 0x1400b3ad4
// > AccountReviewPopup::adminUserHistoryFinished @ 0x1400b3afb
// > ReportQueuePopup::adminReportQueueFinished @ 0x1400c801b
// > ReportQueuePopup::adminReportQueueFinished @ 0x1400c8042
// > LevelPickerPopup::loadLevelsFinished @ 0x1400ea8d0
// > LevelPickerPopup::buildSavedPage @ 0x1400eb8de
// > ??> @ 0x140913c70
//
// 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:19 +0000
//
void __fastcall PagedListPopup::updatePageUI(_QWORD *a1, __int64 a2, int a3, int a4)
{
int v5; // ebp
__int64 v6; // rcx
int v9; // esi
__int64 v10; // rcx
__int64 v11; // rcx
__int64 v12; // rdi
void (__fastcall **v13)(__int64, const char *); // rbx
cocos2d::CCString *v14; // rax
const char *CString; // rax
v5 = a3 + a4;
v6 = a1[90];
v9 = a2;
if ( v6 )
{
LOBYTE(a2) = a3 > 0;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 336LL))(v6, a2);
}
v10 = a1[91];
if ( v10 )
{
LOBYTE(a2) = v5 < v9;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 336LL))(v10, a2);
}
v11 = a1[92];
if ( v11 )
{
if ( v9 <= 0 || a4 <= 0 )
{
(**(void (__fastcall ***)(__int64, char *))(v11 + 360))(v11 + 360, &byte_1406ED6E0);
}
else
{
v12 = v11 + 360;
v13 = *(void (__fastcall ***)(__int64, const char *))(v11 + 360);
v14 = cocos2d::CCString::createWithFormat("%i to %i of %i", a3 + 1, v5, v9);
CString = cocos2d::CCString::getCString(v14);
(*v13)(v12, CString);
}
}
}