//
// cocos2d::extension::CCHttpClient::send from 0xd1f2d4 to 0xd1f374 (160 bytes)
//
// 8 xrefs:
// > GameLevelManager::performNetworkTest @ 0x814bec
// > GameLevelManager::ProcessHttpRequest @ 0x81960c
// > MusicDownloadManager::ProcessHttpGetRequest @ 0x96290c
// > MusicDownloadManager::ProcessHttpRequest @ 0x962b08
// > MusicDownloadManager::downloadSong @ 0x968810
// > GJAccountManager::ProcessHttpRequest @ 0x988bbc
// > GJMultiplayerManager::ProcessHttpRequest @ 0xac5518
// > ??> @ 0xf4348
//
// 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
//
__int64 __fastcall cocos2d::extension::CCHttpClient::send(
cocos2d::extension::CCHttpClient *this,
cocos2d::extension::CCHttpRequest *a2)
{
__int64 v4; // x0
_QWORD v6[7]; // [xsp+30h] [xbp+30h] BYREF
if ( a2 )
{
cocos2d::CCObject::retain(a2);
v6[1] = a2;
v4 = *((_QWORD *)this + 7);
v6[4] = v6;
v6[0] = &off_13FBAA0;
cocos2d::extension::CCThreadPool::enqueue(v4, (__int64)v6);
std::function::~function((__int64)v6);
}
return _stack_chk_guard;
}