//
// sub_1004A0864 from 0x1004a0864 to 0x1004a091c (184 bytes)
//
// 2 xrefs:
// > sub_10049E474 @ 0x10049ea30
// > sub_1004A0764 @ 0x1004a07cc
//
// 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:02 +0000
//
void __fastcall sub_1004A0864(__int64 a1)
{
float v2; // s0
void *v3; // x0
char *CString; // x1
_QWORD *v5; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
*(_BYTE *)(a1 + 744) = 1;
v2 = *(float *)(a1 + 1128);
if ( v2 == -99999.0 )
{
CString = "Mixed";
}
else
{
if ( v2 == (float)(int)v2 )
v3 = sub_1003065B0("%i");
else
v3 = sub_1003065B0("%.02f");
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
}
v5 = *(_QWORD **)(a1 + 1232);
sub_100009900(__p, CString);
CCTextInputNode::setString(v5, (__int64 *)__p);
if ( v7 < 0 )
operator delete(__p[0]);
*(_BYTE *)(a1 + 744) = 0;
}