//
// MessagesProfilePage::updateLevelsLabel from 0x4c1e28 to 0x4c1e60 (56 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void MessagesProfilePage::updateLevelsLabel(MessagesProfilePage *a1)
{
int m_pageStartIdx; // r1
int m_itemCount; // r2
const char *v3; // r1
cocos2d::CCString *v5; // r0
const unsigned __int8 *CString; // r1
m_pageStartIdx = a1->m_pageStartIdx;
m_itemCount = a1->m_pageEndIdx + m_pageStartIdx;
v3 = (const char *)(m_pageStartIdx + 1);
if ( m_itemCount >= a1->m_itemCount )
m_itemCount = a1->m_itemCount;
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i to %i of %i", v3, m_itemCount);
CString = (const unsigned __int8 *)cocos2d::CCString::getCString(v5);
a1->m_levelsLabel->setString(a1->m_levelsLabel, CString);
}