//
// cocos2d::CCString::copyWithZone from 0xd461fc to 0xd46244 (72 bytes)
//
// 2 xrefs:
// > ??> @ 0x9a078
// > ??> @ 0x15164b0
//
// 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
//
cocos2d::CCString *__fastcall cocos2d::CCString::copyWithZone(cocos2d::CCString *this, cocos2d::CCZone *a2)
{
char *v2; // x1
cocos2d::CCString *v3; // x19
char *v5; // [xsp+28h] [xbp+28h]
v2 = (char *)this + 57;
if ( (*((_BYTE *)this + 56) & 1) != 0 )
v2 = *((char **)this + 9);
v5 = v2;
v3 = (cocos2d::CCString *)operator new(0x50u);
cocos2d::CCString::CCString(v3, v5);
return v3;
}