//
// cocos2d::CCString::operator= from 0xd46a80 to 0xd46ad4 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0xccdc0
//
// 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 __fastcall cocos2d::CCString::operator=(__int64 a1, __int64 a2)
{
__int64 *v3; // x0
v3 = (__int64 *)(a1 + 56);
if ( v3 != (__int64 *)(a2 + 56) )
{
if ( (*(_BYTE *)(a2 + 56) & 1) != 0 )
std::string::assign(v3, *(const void **)(a2 + 72), *(_QWORD *)(a2 + 64));
else
std::string::assign(v3, (const void *)(a2 + 57), *(_BYTE *)(a2 + 56) >> 1);
}
return a1;
}