//
// InfoLayer::updateLevelsLabel from 0x100352f54 to 0x100352fbc (104 bytes)
//
// 1 xrefs:
// > InfoLayer::setupPageInfo @ 0x100352ee4
//
// 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 __fastcall InfoLayer::updateLevelsLabel(InfoLayer *a1)
{
int m_pageStartIdx; // w8
int v3; // w9
int m_itemCount; // w10
cocos2d::CCString *v5; // x0
const char *CString; // x1
m_pageStartIdx = a1->m_pageStartIdx;
v3 = a1->m_pageEndIdx + m_pageStartIdx;
m_itemCount = a1->m_itemCount;
if ( v3 >= m_itemCount )
v3 = a1->m_itemCount;
v5 = (cocos2d::CCString *)sub_100268F4C("%i to %i of %i", m_pageStartIdx + 1, v3, m_itemCount);
CString = cocos2d::CCString::getCString(v5);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_pageLabel->setString)(a1->m_pageLabel, CString);
}