//
// sub_1005319EC from 0x1005319ec to 0x100531a88 (156 bytes)
//
// 1 xrefs:
// > sub_10053053C @ 0x1005306f0
//
// 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:07:21 +0000
//
__int64 __fastcall sub_1005319EC(__int64 result)
{
__int64 v1; // x20
__int64 v2; // x19
void **v3; // x1
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v5; // [xsp+1Fh] [xbp-21h]
v1 = *(_QWORD *)(result + 752);
if ( v1 )
{
v2 = result;
sub_100531AA4(__p, result + 824);
if ( v5 >= 0 )
v3 = __p;
else
v3 = (void **)__p[0];
(*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v1 + 928LL))(v1, v3);
if ( v5 < 0 )
operator delete(__p[0]);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(v2 + 752), *(float *)(v2 + 668) + -150.0, 0.4, 0.2);
}
return result;
}