//
// LevelBrowserLayer::updateLevelsLabel from 0x10049a210 to 0x10049a29c (140 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::setupPageInfo @ 0x10049a14c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:05:58 +0000
//
_QWORD *__fastcall LevelBrowserLayer::updateLevelsLabel(__int64 a1)
{
int v2; // w8
int v3; // w9
int v4; // w10
void *v5; // x0
__int64 CString; // x0
v2 = *(_DWORD *)(a1 + 724);
v3 = *(_DWORD *)(a1 + 728) + v2;
v4 = *(_DWORD *)(a1 + 720);
if ( v3 >= v4 )
v3 = *(_DWORD *)(a1 + 720);
v5 = sub_1003065B0("%i to %i of %i", v2 + 1, v3, v4);
CString = cocos2d::CCString::getCString((__int64)v5);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 672) + 928LL))(*(_QWORD *)(a1 + 672), CString);
cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 672), 100.0, 0.6, 0.0);
return LevelBrowserLayer::updatePageLabel((_QWORD *)a1);
}