//
// cocos2d::extension::CCHttpResponse::operator= from 0x18001d7e0 to 0x18001d85c (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004b004
//
// 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::extension::CCHttpResponse::operator=(__int64 a1, __int64 a2)
{
void *v4; // rdx
cocos2d::CCObject::operator=();
*(_QWORD *)(a1 + 56) = *(_QWORD *)(a2 + 56);
*(_BYTE *)(a1 + 64) = *(_BYTE *)(a2 + 64);
sub_180018D70(a1 + 72, (char **)(a2 + 72));
sub_180018D70(a1 + 96, (char **)(a2 + 96));
*(_DWORD *)(a1 + 120) = *(_DWORD *)(a2 + 120);
if ( a1 + 128 != a2 + 128 )
{
v4 = (void *)(a2 + 128);
if ( *(_QWORD *)(a2 + 152) > 0xFu )
v4 = *(void **)(a2 + 128);
sub_180003BC0((void **)(a1 + 128), v4, *(_QWORD *)(a2 + 144));
}
return a1;
}