//
// InfoLayer::updateLevelsLabel from 0x1007b2bf0 to 0x1007b2c46 (86 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 __fastcall InfoLayer::updateLevelsLabel(InfoLayer *a1)
{
int m_itemCount; // ecx
int m_pageStartIdx; // esi
int v3; // edx
char *v4; // rax
const char *CString; // rax
m_itemCount = a1->m_itemCount;
m_pageStartIdx = a1->m_pageStartIdx;
v3 = m_pageStartIdx + a1->m_pageEndIdx;
if ( v3 >= m_itemCount )
v3 = a1->m_itemCount;
v4 = sub_1007AB580("%i to %i of %i", m_pageStartIdx + 1, v3, m_itemCount);
CString = cocos2d::CCString::getCString((cocos2d::CCString *)v4);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_pageLabel->setString)(a1->m_pageLabel, CString);
}