//
// sub_10022366C from 0x10022366c to 0x100223728 (188 bytes)
//
// 2 xrefs:
// > sub_100221F74 @ 0x100222efc
// > sub_100223318 @ 0x100223368
//
// 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:09 +0000
//
void __fastcall sub_10022366C(__int64 a1)
{
int v2; // w0
void **v3; // x1
__int128 v4; // [xsp+8h] [xbp-48h] BYREF
__int64 v5; // [xsp+18h] [xbp-38h]
void *__p[2]; // [xsp+20h] [xbp-30h] BYREF
__int64 v7; // [xsp+30h] [xbp-20h]
sub_100009900(__p, "Mixed");
v2 = *(_DWORD *)(a1 + 1048);
if ( v2 != -99999 )
{
sub_10004DF68(v2, &v4);
if ( SHIBYTE(v7) < 0 )
operator delete(__p[0]);
*(_OWORD *)__p = v4;
v7 = v5;
}
if ( v7 >= 0 )
v3 = __p;
else
v3 = (void **)__p[0];
(*(void (__fastcall **)(_QWORD, void **))(**(_QWORD **)(a1 + 1040) + 928LL))(*(_QWORD *)(a1 + 1040), v3);
cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 1040), 150.0, 0.7, 0.0);
if ( SHIBYTE(v7) < 0 )
operator delete(__p[0]);
}