//
// cocos2d::extension::CCHttpClient::send from 0x7b212c to 0x7b2182 (86 bytes)
//
// 7 xrefs:
// > GameLevelManager::performNetworkTest @ 0x4b2f22
// > GameLevelManager::ProcessHttpRequest @ 0x4b50e2
// > MusicDownloadManager::ProcessHttpGetRequest @ 0x56deec
// > MusicDownloadManager::ProcessHttpRequest @ 0x56df92
// > MusicDownloadManager::downloadSong @ 0x57034a
// > GJAccountManager::ProcessHttpRequest @ 0x581e24
// > GJMultiplayerManager::ProcessHttpRequest @ 0x64180a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:08 +0000
//
_DWORD *__fastcall cocos2d::extension::CCHttpClient::send(_DWORD *this, cocos2d::extension::CCHttpRequest *a2)
{
_DWORD *v2; // r6
int v4; // r0
_DWORD v5[7]; // [sp+0h] [bp-20h] BYREF
v2 = this;
if ( a2 )
{
cocos2d::CCObject::retain(a2);
v4 = v2[13];
v5[4] = v5;
v5[0] = &off_C751E0;
v5[1] = a2;
cocos2d::extension::CCThreadPool::enqueue(v4, (int)v5);
return std::function::~function(v5);
}
return this;
}