//
// cocos2d::CCString::operator= from 0x7c8df8 to 0x7c8e22 (42 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:28 +0000
//
int __fastcall cocos2d::CCString::operator=(int a1, _DWORD *a2)
{
_DWORD *v3; // r0
int v5; // r2
const void *v6; // r1
size_t v7; // r2
v3 = (_DWORD *)(a1 + 52);
if ( v3 != a2 + 13 )
{
v5 = *((unsigned __int8 *)a2 + 52);
if ( (v5 & 1) != 0 )
{
v6 = (const void *)a2[15];
v7 = a2[14];
}
else
{
v6 = (char *)a2 + 53;
v7 = v5 >> 1;
}
std::string::assign(v3, v6, v7);
}
return a1;
}