//
// cocos2d::extension::CCHttpResponse::operator= from 0x18001d430 to 0x18001d4ac (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004cf38
//
// 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 12:15:44 +0000
//
__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_180018D20(a1 + 72, (char **)(a2 + 72));
sub_180018D20(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_1800035E0((void **)(a1 + 128), v4, *(_QWORD *)(a2 + 144));
}
return a1;
}