//
// cocos2d::CCString::initWithFormat from 0xd468a8 to 0xd46980 (216 bytes)
//
// 1 xrefs:
// > ??> @ 0xc04f0
//
// 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 13:07:34 +0000
//
__int64 cocos2d::CCString::initWithFormat(cocos2d::CCString *this, const char *a2, ...)
{
gcc_va_list va; // [xsp+20h] [xbp+20h] BYREF
gcc_va_list va1; // [xsp+48h] [xbp+48h] BYREF
if ( (*((_BYTE *)this + 56) & 1) != 0 )
{
**((_BYTE **)this + 9) = 0;
*((_QWORD *)this + 8) = 0;
}
else
{
*((_BYTE *)this + 57) = 0;
*((_BYTE *)this + 56) = 0;
}
va_start(va1, a2);
va_start(va, a2);
return cocos2d::CCString::initWithFormatAndValist(this, a2, va);
}