//
// PagedListPopup::updatePageUI from 0xc3a348 to 0xc3a404 (188 bytes)
//
// 11 xrefs:
// > AccountReviewPopup::adminAbuseInfoFinished @ 0xc4782c
// > AccountReviewPopup::adminAbuseInfoFinished @ 0xc478a0
// > AccountReviewPopup::adminUserHistoryFinished @ 0xc491d4
// > AccountReviewPopup::adminUserHistoryFinished @ 0xc49214
// > AccountReviewPopup::adminReportedContentFinished @ 0xc4e7f8
// > ReportQueuePopup::adminReportQueueFinished @ 0xc51a18
// > ReportQueuePopup::adminReportQueueFinished @ 0xc51a88
// > LevelPickerPopup::loadLevelsFinished @ 0xc710dc
// > LevelPickerPopup::loadLevelsFinished @ 0xc71128
// > LevelPickerPopup::buildSavedPage @ 0xc84624
// > ??> @ 0x103930
//
// 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:04:53 +0000
//
__int64 __fastcall PagedListPopup::updatePageUI(PagedListPopup *this, int a2, int a3, int a4)
{
unsigned int v4; // w22
__int64 result; // x0
__int64 v9; // x19
const char *v10; // x1
__int64 (__fastcall *v11)(__int64, __int64); // x20
cocos2d::CCString *v12; // x0
__int64 CString; // x0
v4 = a3 + a4;
result = PagedListPopup::updatePageArrows(this, a3 > 0, a3 + a4 < a2);
v9 = *((_QWORD *)this + 92);
if ( v9 )
{
if ( a4 <= 0 || a2 <= 0 )
{
return (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v9 + 928LL))(v9, &byte_11B8890);
}
else
{
v10 = (const char *)(unsigned int)(a3 + 1);
v11 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 928LL);
v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
v10,
v4,
(unsigned int)a2);
CString = cocos2d::CCString::getCString(v12);
return v11(v9, CString);
}
}
return result;
}