//
// cocos2d::CCString::operator= from 0x18000ff70 to 0x18000ffa5 (53 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ae08c
//
// 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
//
__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_180010050(v4, v5, *(_QWORD *)(v3 + 16));
}
return a1;
}