//
// MusicDownloadManager::onProcessHttpRequestCompleted from 0x140482110 to 0x140482205 (245 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::ProcessHttpRequest @ 0x140481f2e
// > ??> @ 0x14092897c
//
// This function is hookable on this platform (idp: pc, 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 11:32:45 +0000
//
void __fastcall MusicDownloadManager::onProcessHttpRequestCompleted(int a1, __int64 a2, __int64 a3)
{
const char *Tag; // rdi
int v6; // 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
Tag = cocos2d::extension::CCHttpRequest::getTag(*(cocos2d::extension::CCHttpRequest **)(a3 + 56));
v6 = *(_DWORD *)(*(_QWORD *)(a3 + 56) + 200LL);
GameToolbox::getResponse((__int64)v15, a3);
v13 = &v10;
v10 = 0;
v11 = 0;
v12 = 0;
v7 = -1;
do
++v7;
while ( Tag[v7] );
sub_14003D230(&v10, Tag, v7);
v8 = sub_14003F4F0((__int64)v14, (__int64)v15);
MusicDownloadManager::handleIt(a1, v9, v8, (unsigned int)&v10, v6);
sub_14003D310((__int64)v15);
}