//
// cocos2d::extension::CCHttpResponse::CCHttpResponse from 0x180018fd0 to 0x180019083 (179 bytes)
//
// 3 xrefs:
// > sub_180017B30 @ 0x180017b67
// > ??> @ 0x180032408
// > ??> @ 0x18004cb30
//
// 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:42 +0000
//
// Hidden C++ exception states: #wind=4
cocos2d::extension::CCHttpResponse *__fastcall cocos2d::extension::CCHttpResponse::CCHttpResponse(
cocos2d::extension::CCHttpResponse *this,
struct cocos2d::extension::CCHttpRequest *a2)
{
_QWORD *v4; // rdi
__int64 v5; // rax
cocos2d::CCObject::CCObject(this);
*(_QWORD *)this = &cocos2d::extension::CCHttpResponse::`vftable';
*((_QWORD *)this + 9) = 0;
*((_QWORD *)this + 10) = 0;
*((_QWORD *)this + 11) = 0;
*((_QWORD *)this + 12) = 0;
*((_QWORD *)this + 13) = 0;
*((_QWORD *)this + 14) = 0;
v4 = (_QWORD *)((char *)this + 128);
*((_OWORD *)this + 8) = 0;
*((_QWORD *)this + 18) = 0;
*((_QWORD *)this + 19) = 15;
*((_BYTE *)this + 128) = 0;
*((_QWORD *)this + 7) = a2;
if ( a2 )
cocos2d::CCObject::retain(a2);
*((_BYTE *)this + 64) = 0;
v5 = *((_QWORD *)this + 9);
if ( v5 != *((_QWORD *)this + 10) )
*((_QWORD *)this + 10) = v5;
*((_QWORD *)this + 18) = 0;
if ( *((_QWORD *)this + 19) > 0xFu )
v4 = (_QWORD *)*v4;
*(_BYTE *)v4 = 0;
return this;
}