//
// PagedListPopup::updatePageUI from 0x72ee84 to 0x72eeec (104 bytes)
//
// 6 xrefs:
// > AccountReviewPopup::adminAbuseInfoFinished @ 0x73744e
// > AccountReviewPopup::adminUserHistoryFinished @ 0x738392
// > AccountReviewPopup::adminReportedContentFinished @ 0x73a3c8
// > ReportQueuePopup::adminReportQueueFinished @ 0x73c1ec
// > LevelPickerPopup::loadLevelsFinished @ 0x74ed2e
// > LevelPickerPopup::buildSavedPage @ 0x75a97c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:58:18 +0000
//
int __fastcall PagedListPopup::updatePageUI(int **this, int a2, int a3, int a4)
{
int v4; // r7
int result; // r0
int *v10; // r4
int v11; // r2
int (__fastcall *v12)(int *, int); // r8
cocos2d::CCString *v13; // r0
int CString; // r0
v4 = a3 + a4;
result = PagedListPopup::updatePageArrows((PagedListPopup *)this, a3 > 0, a3 + a4 < a2);
v10 = *(this + 144);
if ( v10 )
{
v11 = *v10;
if ( a2 <= 0 || a4 <= 0 )
{
return (*(int (__fastcall **)(int *, void *))(v11 + 464))(v10, &unk_B6B226);
}
else
{
v12 = *(int (__fastcall **)(int *, int))(v11 + 464);
v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
(const char *)(a3 + 1),
v4,
a2);
CString = cocos2d::CCString::getCString(v13);
return v12(v10, CString);
}
}
return result;
}