//
// LevelBrowserLayer::updateLevelsLabel from 0x4a49c8 to 0x4a4a16 (78 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::setupPageInfo @ 0x4a564a
//
// 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:49:53 +0000
//
_DWORD *__fastcall LevelBrowserLayer::updateLevelsLabel(LevelBrowserLayer *this)
{
int v2; // r1
int v3; // r2
const char *v4; // r1
cocos2d::CCString *v5; // r0
int CString; // r0
v2 = *((_DWORD *)this + 133);
v3 = *((_DWORD *)this + 134) + v2;
v4 = (const char *)(v2 + 1);
if ( v3 >= *((_DWORD *)this + 132) )
v3 = *((_DWORD *)this + 132);
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i to %i of %i", v4, v3);
CString = cocos2d::CCString::getCString(v5);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 126) + 464))(*((_DWORD *)this + 126), CString);
cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 126), 100.0, 0.6, 0.0);
return LevelBrowserLayer::updatePageLabel(this);
}