//
// cocos2d::extension::CCHttpClient::CCHttpClient from 0xd1d53c to 0xd1d600 (196 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCHttpClient::getInstance @ 0xd1d634
// > ??> @ 0xb0350
// > ??> @ 0xb2828
//
// This function is hookable on this platform (idp: arm, 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 13:07:10 +0000
//
// Alternative name is '_ZN7cocos2d9extension12CCHttpClientC1Ev'
__int64 __fastcall cocos2d::extension::CCHttpClient::CCHttpClient(cocos2d::extension::CCHttpClient *this)
{
cocos2d::CCArray *v2; // x0
cocos2d::extension::CCThreadPool *v3; // x20
cocos2d::CCDirector *v4; // x0
__int64 v5; // x0
__int64 v6; // x0
cocos2d::CCObject::CCObject(this);
*((_DWORD *)this + 16) = 5;
*((_DWORD *)this + 17) = 60;
*(_QWORD *)this = &off_1510730;
v2 = (cocos2d::CCArray *)sub_E0AAF8(3);
qword_155FA38 = cocos2d::CCArray::create(v2);
cocos2d::CCObject::retain((cocos2d::CCObject *)qword_155FA38);
v3 = (cocos2d::extension::CCThreadPool *)operator new(0xB0u);
v4 = (cocos2d::CCDirector *)cocos2d::extension::CCThreadPool::CCThreadPool(v3, 4);
*((_QWORD *)this + 7) = v3;
v5 = cocos2d::CCDirector::sharedDirector(v4);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 128LL))(v5);
return cocos2d::CCScheduler::scheduleSelector(
v6,
cocos2d::extension::CCHttpClient::dispatchResponseCallbacks,
0,
this,
0,
0.0);
}