//
// TopArtistsLayer::updateLevelsLabel from 0x6315cc to 0x631616 (74 bytes)
//
// 1 xrefs:
// > TopArtistsLayer::setupPageInfo @ 0x631f58
//
// 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:55:17 +0000
//
int __fastcall TopArtistsLayer::updateLevelsLabel(TopArtistsLayer *this)
{
int v2; // r1
int v3; // r2
const char *v4; // r1
cocos2d::CCString *v5; // r0
int CString; // r0
v2 = *((_DWORD *)this + 139);
v3 = *((_DWORD *)this + 140) + v2;
v4 = (const char *)(v2 + 1);
if ( v3 >= *((_DWORD *)this + 138) )
v3 = *((_DWORD *)this + 138);
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 + 137) + 464))(*((_DWORD *)this + 137), CString);
return cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 137), 100.0, 0.5, 0.0);
}