//
// sub_1001FE580 from 0x1001fe580 to 0x1001fe5f2 (114 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008da9c8
//
// 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 sub_1001FE580(__int64 a1, __int64 a2, int a3)
{
int v3; // esi
__int64 v4; // r14
cocos2d::CCString *v5; // rax
const char *CString; // rax
char v7; // [rsp+0h] [rbp-10h]
if ( a3 <= 0 )
a3 = 0;
v3 = 999;
if ( a3 < 999 )
v3 = a3;
*(_DWORD *)(*(_QWORD *)(a1 + 16) + 800LL) = v3;
v4 = *(_QWORD *)(a1 + 32);
v5 = (cocos2d::CCString *)sub_1007AB580("%i", v7);
CString = cocos2d::CCString::getCString(v5);
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v4 + 912LL))(v4, CString);
cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 32), 24.0, 0.55000001, 0.0);
}