//
// LevelBrowserLayer::updateLevelsLabel from 0x7f5c78 to 0x7f5cf4 (124 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::setupPageInfo @ 0x7f6dc0
// > ??> @ 0x5bcf0
//
// 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:54:37 +0000
//
_QWORD *__fastcall LevelBrowserLayer::updateLevelsLabel(LevelBrowserLayer *this)
{
int v2; // w3
unsigned int v3; // w4
__int64 v4; // x2
cocos2d::CCString *v5; // x0
__int64 CString; // x0
v2 = *((_DWORD *)this + 181);
v3 = *((_DWORD *)this + 180);
LODWORD(v4) = v2 + *((_DWORD *)this + 182);
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 + 84) + 928LL))(*((_QWORD *)this + 84), CString);
cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 84), 100.0, 0.6, 0.0);
return LevelBrowserLayer::updatePageLabel(this);
}