//
// sub_1004C27E4 from 0x1004c27e4 to 0x1004c285c (120 bytes)
//
// 1 xrefs:
// > sub_1004C2C80 @ 0x1004c2cd4
//
// 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:06:20 +0000
//
__int64 __fastcall sub_1004C27E4(__int64 a1)
{
__int64 result; // x0
__int64 v3; // x1
result = *(_QWORD *)(a1 + 400);
if ( result )
{
v3 = *(_QWORD *)(a1 + 360) + 24LL * *(int *)(a1 + 384);
if ( *(char *)(v3 + 23) < 0 )
v3 = *(_QWORD *)v3;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 928LL))(result, v3);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 400), *(float *)(a1 + 476) + -24.0, 0.45, 0.2);
}
return result;
}