//
// sub_10003E5CC from 0x10003e5cc to 0x10003e688 (188 bytes)
//
// 2 xrefs:
// > sub_10003E460 @ 0x10003e4cc
// > sub_10003E4E8 @ 0x10003e544
//
// 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 10:57:35 +0000
//
void __fastcall sub_10003E5CC(int *a1)
{
__int64 v2; // x0
__int64 CString; // x0
void **v4; // x1
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
if ( a1[135] == 1 )
{
v2 = sub_1003065B0("%.2f", (float)((float)a1[131] / 100.0));
CString = cocos2d::CCString::getCString(v2);
(*(void (__fastcall **)(int *, __int64))(*(_QWORD *)a1 + 928LL))(a1, CString);
}
else
{
GameToolbox::intToString(__p, (unsigned int)a1[131]);
if ( v6 >= 0 )
v4 = __p;
else
v4 = (void **)__p[0];
(*(void (__fastcall **)(int *, void **))(*(_QWORD *)a1 + 928LL))(a1, v4);
if ( v6 < 0 )
operator delete(__p[0]);
}
}