//
// AchievementsLayer::setupPageInfo from 0x7327f8 to 0x7328c0 (200 bytes)
//
// 2 xrefs:
// > AchievementsLayer::loadPage @ 0x732b88
// > ??> @ 0x79198
//
// 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 12:52:37 +0000
//
__int64 __fastcall AchievementsLayer::setupPageInfo(AchievementsLayer *this, unsigned int a2, int a3, int a4)
{
__int64 v7; // x2
unsigned int v8; // w19
__int64 v9; // x2
cocos2d::CCString *v10; // x0
__int64 CString; // x0
(*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)this + 77) + 344LL))(*((_QWORD *)this + 77), a3 != 0);
v7 = *((_QWORD *)this + 76);
v8 = a3 + a4;
if ( a3 + a4 >= (int)a2 )
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v7 + 344LL))(*((_QWORD *)this + 76), 0);
else
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v7 + 344LL))(*((_QWORD *)this + 76), 1);
if ( (int)v8 > (int)a2 )
v9 = a2;
else
v9 = v8;
v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
(const char *)(unsigned int)(a3 + 1),
v9,
a2);
CString = cocos2d::CCString::getCString(v10);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 78) + 928LL))(
*((_QWORD *)this + 78),
CString);
}