//
// MessagesProfilePage::updateLevelsLabel from 0xa4a49c to 0xa4a504 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0xfa288
//
// 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:01 +0000
//
__int64 __fastcall MessagesProfilePage::updateLevelsLabel(MessagesProfilePage *this)
{
int v2; // w3
unsigned int v3; // w4
__int64 v4; // x2
cocos2d::CCString *v5; // x0
__int64 CString; // x0
v2 = *((_DWORD *)this + 205);
v3 = *((_DWORD *)this + 204);
LODWORD(v4) = v2 + *((_DWORD *)this + 206);
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 + 91) + 928LL))(*((_QWORD *)this + 91), CString);
return MessagesProfilePage::updateSelectUI(this);
}