//
// sub_1002231B8 from 0x1002231b8 to 0x10022325c (164 bytes)
//
// 2 xrefs:
// > sub_100221F74 @ 0x100222794
// > SetupCameraOffsetTrigger::valuePopupClosed @ 0x100223af4
//
// 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_1002231B8(__int64 a1)
{
__int64 v2; // x0
char *CString; // x0
std::string *v4; // x1
std::string v5; // [xsp+8h] [xbp-28h] BYREF
v2 = sub_1003065B0("%.02f", *(float *)(a1 + 1052));
CString = (char *)cocos2d::CCString::getCString(v2);
sub_100009900(&v5, CString);
if ( *(float *)(a1 + 1052) == -99999.0 )
std::string::assign(&v5, "-");
if ( (v5.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v4 = &v5;
else
v4 = (std::string *)v5.__r_.__value_.__r.__words[0];
(*(void (__fastcall **)(_QWORD, std::string *))(**(_QWORD **)(a1 + 1064) + 928LL))(*(_QWORD *)(a1 + 1064), v4);
if ( SHIBYTE(v5.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v5.__r_.__value_.__l.__data_);
}