//
// cocos2d::CCString::operator= from 0x1800100d0 to 0x180010105 (53 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8134
//
// This function is hookable on this platform (idp: pc, 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 11:21:22 +0000
//
__int64 __fastcall cocos2d::CCString::operator=(__int64 a1, __int64 a2)
{
__int64 v3; // r8
void *v4; // rcx
void *v5; // rdx
v3 = a2 + 56;
v4 = (void *)(a1 + 56);
if ( v4 != (void *)(a2 + 56) )
{
v5 = (void *)(a2 + 56);
if ( *(_QWORD *)(v3 + 24) > 0xFu )
v5 = *(void **)v3;
sub_1800101E0(v4, v5, *(_QWORD *)(v3 + 16));
}
return a1;
}