//
// cocos2d::extension::CCHttpRequest::CCHttpRequest from 0x18001ccc0 to 0x18001cd92 (210 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004ceb4
//
// 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:43 +0000
//
cocos2d::extension::CCHttpRequest *__fastcall cocos2d::extension::CCHttpRequest::CCHttpRequest(
cocos2d::extension::CCHttpRequest *this)
{
_QWORD *v2; // rcx
_QWORD *v3; // rax
__int64 v4; // rcx
cocos2d::CCObject::CCObject(this);
v2 = (_QWORD *)((char *)this + 64);
*(_QWORD *)this = &cocos2d::extension::CCHttpRequest::`vftable';
v3 = (_QWORD *)((char *)this + 120);
*((_OWORD *)this + 4) = 0;
*((_QWORD *)this + 11) = 15;
*((_BYTE *)this + 64) = 0;
*((_QWORD *)this + 12) = 0;
*((_QWORD *)this + 13) = 0;
*((_QWORD *)this + 14) = 0;
*(_OWORD *)((char *)this + 120) = 0;
*((_QWORD *)this + 17) = 0;
*((_QWORD *)this + 18) = 15;
*((_BYTE *)this + 120) = 0;
*((_QWORD *)this + 22) = 0;
*((_QWORD *)this + 23) = 0;
*((_QWORD *)this + 24) = 0;
*((_DWORD *)this + 14) = 5;
*((_QWORD *)this + 10) = 0;
if ( *((_QWORD *)this + 11) > 0xFu )
v2 = (_QWORD *)*v2;
*(_BYTE *)v2 = 0;
v4 = *((_QWORD *)this + 12);
if ( v4 != *((_QWORD *)this + 13) )
*((_QWORD *)this + 13) = v4;
*((_QWORD *)this + 17) = 0;
if ( *((_QWORD *)this + 18) > 0xFu )
v3 = (_QWORD *)*v3;
*(_BYTE *)v3 = 0;
*((_QWORD *)this + 19) = 0;
*((_QWORD *)this + 20) = 0;
*((_QWORD *)this + 21) = 0;
*((_DWORD *)this + 50) = 0;
*((_BYTE *)this + 204) = 0;
*((_QWORD *)this + 26) = 0;
*((_DWORD *)this + 54) = 0;
return this;
}