//
// sub_100450B68 from 0x100450b68 to 0x100450c24 (188 bytes)
//
// 2 xrefs:
// > sub_1004500BC @ 0x100450814
// > sub_1004508E0 @ 0x100450988
//
// 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:05:20 +0000
//
void __fastcall sub_100450B68(__int64 a1, char a2)
{
float v3; // s0
void *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 + 1080);
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((__int64)v4);
}
v6 = *(_QWORD **)(a1 + 1064);
sub_100009900(__p, CString);
CCTextInputNode::setString(v6, (__int64 *)__p);
if ( v8 < 0 )
operator delete(__p[0]);
*(_BYTE *)(a1 + 744) = 0;
}