//
// cocos2d::CCString::initWithFormatAndValist from 0x5c1a58 to 0x5c1a8e (54 bytes)
//
// 2 xrefs:
// > cocos2d::CCString::initWithFormat @ 0x5c1ab4
// > cocos2d::CCString::createWithFormat @ 0x5c1ca6
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char *__fastcall cocos2d::CCString::initWithFormatAndValist(cocos2d::CCString *this, const char *a2, __va_list a3)
{
char *result; // r0
char *v7; // r4
result = (char *)malloc(0x19000u);
v7 = result;
if ( result )
{
vsnprintf(result, 0x19000u, a2, a3);
sub_7753D4((int)&this->m_sString, v7);
free(v7);
return (_BYTE *)(&dword_0 + 1);
}
return result;
}