//
// FRequestProfilePage::updateLevelsLabel from 0xa4d034 to 0xa4d09c (104 bytes)
//
// 2 xrefs:
// > FRequestProfilePage::setupPageInfo @ 0xa4d9ac
// > ??> @ 0xd3af8
//
// 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:00:03 +0000
//
__int64 __fastcall FRequestProfilePage::updateLevelsLabel(FRequestProfilePage *this)
{
int v2; // w3
unsigned int v3; // w4
__int64 v4; // x2
cocos2d::CCString *v5; // x0
__int64 CString; // x0
v2 = *((_DWORD *)this + 227);
v3 = *((_DWORD *)this + 226);
LODWORD(v4) = v2 + *((_DWORD *)this + 228);
if ( (int)v4 > (int)v3 )
v4 = v3;
else
v4 = (unsigned int)v4;
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
(const char *)(unsigned int)(v2 + 1),
v4,
v3);
CString = cocos2d::CCString::getCString(v5);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 95) + 928LL))(*((_QWORD *)this + 95), CString);
return FRequestProfilePage::updateSelectUI((GJSelectionStrip **)this);
}