//
// MusicDownloadManager::onProcessHttpRequestCompleted from 0x14033cff0 to 0x14033d0e5 (245 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::ProcessHttpRequest @ 0x14033ce0e
// > ??> @ 0x1406d5588
//
// 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 MusicDownloadManager::onProcessHttpRequestCompleted(
MusicDownloadManager *a1,
cocos2d::extension::CCHttpClient *a2,
cocos2d::extension::CCHttpResponse *a3)
{
int v4; // esi
const char *Tag; // rdi
int Myend; // ebp
size_t v7; // r8
int v8; // eax
int v9; // edx
__int128 v10; // [rsp+30h] [rbp-88h] BYREF
__int64 v11; // [rsp+40h] [rbp-78h]
__int64 v12; // [rsp+48h] [rbp-70h]
__int128 *v13; // [rsp+50h] [rbp-68h]
_BYTE v14[32]; // [rsp+60h] [rbp-58h] BYREF
_BYTE v15[32]; // [rsp+80h] [rbp-38h] BYREF
v4 = (int)a1;
Tag = cocos2d::extension::CCHttpRequest::getTag(a3->_pHttpRequest);
Myend = (int)a3->_pHttpRequest->_headers._Mypair._Myval2._Myend;
GameToolbox::getResponse((__int64)v15, (__int64)a3);
v13 = &v10;
v10 = 0;
v11 = 0;
v12 = 0;
v7 = -1;
do
++v7;
while ( Tag[v7] );
sub_14003A930(&v10, Tag, v7);
v8 = sub_14003BDB0((__int64)v14, (__int64)v15);
MusicDownloadManager::handleIt(v4, v9, v8, (unsigned int)&v10, Myend);
sub_14003A830((__int64)v15);
}