//
// sub_1000C2CB0 from 0x1000c2cb0 to 0x1000c2d58 (168 bytes)
//
// 2 xrefs:
// > sub_1000B74A0 @ 0x1000b7588
// > sub_1000CD7CC @ 0x1000cd818
//
// 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:58:47 +0000
//
std::string *__usercall sub_1000C2CB0@(std::string *result@, std::string *a2@)
{
std::string::size_type v3; // x8
std::string::__raw *v4; // x20
unsigned __int64 v5; // x23
__int64 v6; // x0
const std::string::value_type *CString; // x0
a2->__r_.__value_.__r.__words[0] = 0;
a2->__r_.__value_.__l.__size_ = 0;
a2->__r_.__value_.__r.__words[2] = 0;
v3 = result->__r_.__value_.__r.__words[0];
if ( result->__r_.__value_.__l.__size_ != result->__r_.__value_.__r.__words[0] )
{
v4 = (std::string::__raw *)result;
v5 = 0;
do
{
if ( v5 )
{
std::string::append(a2, ",");
v3 = v4->__words[0];
}
v6 = sub_1003065B0("%i", *(_DWORD *)(v3 + 4 * v5));
CString = (const std::string::value_type *)cocos2d::CCString::getCString(v6);
result = std::string::append(a2, CString);
++v5;
v3 = v4->__words[0];
}
while ( v5 < (__int64)(v4->__words[1] - v4->__words[0]) >> 2 );
}
return result;
}