//
// sub_10023A270 from 0x10023a270 to 0x10023a2f0 (128 bytes)
//
// 1 xrefs:
// > TopArtistsLayer::setupPageInfo @ 0x10023a200
//
// 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:01:21 +0000
//
double __fastcall sub_10023A270(__int64 a1)
{
int v2; // w8
int v3; // w9
int v4; // w10
__int64 v5; // x0
__int64 CString; // x0
double result; // d0
v2 = *(_DWORD *)(a1 + 732);
v3 = *(_DWORD *)(a1 + 736) + v2;
v4 = *(_DWORD *)(a1 + 728);
if ( v3 >= v4 )
v3 = *(_DWORD *)(a1 + 728);
v5 = sub_1003065B0("%i to %i of %i", v2 + 1, v3, v4);
CString = cocos2d::CCString::getCString(v5);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 720) + 928LL))(*(_QWORD *)(a1 + 720), CString);
*(_QWORD *)&result = cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 720), 100.0, 0.5, 0.0).n128_u64[0];
return result;
}