//
// InfoLayer::updateLevelsLabel from 0x42ff68 to 0x42ffa0 (56 bytes)
//
// 1 xrefs:
// > InfoLayer::setupPageInfo @ 0x4300dc
//
// 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 InfoLayer::updateLevelsLabel(InfoLayer *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_pageLabel->setString(a1->m_pageLabel, CString);
}