//
// InfoLayer::updateLevelsLabel from 0x9079a8 to 0x907a0c (100 bytes)
//
// 2 xrefs:
// > InfoLayer::setupPageInfo @ 0x908e0c
// > ??> @ 0xf9f58
//
// 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 12:57:09 +0000
//
__int64 __fastcall InfoLayer::updateLevelsLabel(InfoLayer *this)
{
int v2; // w3
unsigned int v3; // w4
__int64 v4; // x2
cocos2d::CCString *v5; // x0
__int64 CString; // x0
v2 = *((_DWORD *)this + 215);
v3 = *((_DWORD *)this + 214);
LODWORD(v4) = v2 + *((_DWORD *)this + 216);
if ( (int)v4 > (int)v3 )
v4 = v3;
else
v4 = (unsigned int)v4;
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
(const char *)(unsigned int)(v2 + 1),
v4,
v3);
CString = cocos2d::CCString::getCString(v5);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 95) + 928LL))(
*((_QWORD *)this + 95),
CString);
}