//
// sub_100223004 from 0x100223004 to 0x1002230c0 (188 bytes)
//
// 2 xrefs:
// > sub_100221F74 @ 0x1002224dc
// > sub_100222FC4 @ 0x100223000
//
// 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_100223004(__int64 a1, char a2)
{
float v3; // s0
__int64 v4; // x0
char *CString; // x1
_QWORD *v6; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
*(_BYTE *)(a1 + 744) = 1;
v3 = *(float *)(a1 + 1032);
if ( v3 == -99999.0 )
{
CString = "Mixed";
}
else
{
if ( (a2 & 1) != 0 || v3 != (float)(int)v3 )
v4 = sub_1003065B0("%.02f");
else
v4 = sub_1003065B0("%i");
CString = (char *)cocos2d::CCString::getCString(v4);
}
v6 = *(_QWORD **)(a1 + 1016);
sub_100009900(__p, CString);
CCTextInputNode::setString(v6, (__int64 *)__p);
if ( v8 < 0 )
operator delete(__p[0]);
*(_BYTE *)(a1 + 744) = 0;
}