//
// cocos2d::extension::CCHttpClient::send from 0x100438900 to 0x10043898d (141 bytes)
//
// 7 xrefs:
// > GJAccountManager::ProcessHttpRequest @ 0x1000cf37f
// > GameLevelManager::performNetworkTest @ 0x10051ad0e
// > GameLevelManager::ProcessHttpRequest @ 0x10051b0ab
// > MusicDownloadManager::ProcessHttpRequest @ 0x10058a1f8
// > MusicDownloadManager::ProcessHttpGetRequest @ 0x10058a51f
// > MusicDownloadManager::downloadSong @ 0x10058f140
// > GJMultiplayerManager::ProcessHttpRequest @ 0x100658e8b
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::extension::CCHttpClient::send(
cocos2d::extension::CCHttpClient *a1,
cocos2d::extension::CCHttpRequest *a2)
{
__int64 v2; // rdi
__int64 v3; // rax
_QWORD v4[4]; // [rsp+0h] [rbp-50h] BYREF
_QWORD *v5; // [rsp+20h] [rbp-30h]
if ( a2 )
{
cocos2d::CCObject::retain(a2);
v2 = *(_QWORD *)&a1->_timeoutForConnect;
v4[0] = off_100937E80;
v4[1] = a2;
v5 = v4;
sub_100438410(v2, (__int64)v4);
if ( v5 == v4 )
{
v3 = 32;
}
else
{
v3 = 40;
if ( !v5 )
return;
}
(*(void (**)(void))(*v5 + v3))();
}
}