// // MusicDownloadManager::ProcessHttpRequest from 0x1001535b4 to 0x1001536e0 (300 bytes) // // 2 xrefs: // > MusicDownloadManager::getSongInfo @ 0x100154488 // > MusicDownloadManager::getCustomContentURL @ 0x100157474 // // 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 MusicDownloadManager::ProcessHttpRequest( cocos2d::CCObject *a1, const std::string::value_type *a2, char *a3, const std::string::value_type *a4, int a5) { char *v10; // x19 unsigned int v11; // w0 cocos2d::extension::CCHttpClient *Instance; // x0 v10 = (char *)operator new(0xD8u); cocos2d::CCObject::CCObject((__int64)v10); *(_QWORD *)v10 = off_100781258; *((_OWORD *)v10 + 4) = 0u; *((_QWORD *)v10 + 22) = 0; *((_QWORD *)v10 + 23) = 0; *((_QWORD *)v10 + 21) = 0; *((_QWORD *)v10 + 16) = 0; *((_OWORD *)v10 + 5) = 0u; *((_OWORD *)v10 + 6) = 0u; *((_OWORD *)v10 + 7) = 0u; *((_DWORD *)v10 + 14) = 5; *((_DWORD *)v10 + 48) = 0; v10[196] = 0; *((_QWORD *)v10 + 25) = 0; *((_DWORD *)v10 + 52) = 0; *(_OWORD *)(v10 + 151) = 0u; v10[167] = 0; *(_OWORD *)(v10 + 135) = 0u; if ( a2[23] < 0 ) a2 = *(const std::string::value_type **)a2; std::string::assign((std::string *)(v10 + 64), a2); *((_DWORD *)v10 + 14) = 1; *((_QWORD *)v10 + 17) = a1; *((_QWORD *)v10 + 18) = MusicDownloadManager::onProcessHttpRequestCompleted; *((_QWORD *)v10 + 19) = 0; if ( a1 ) cocos2d::CCObject::retain(a1); if ( a3[23] < 0 ) a3 = *(char **)a3; v11 = strlen(a3); sub_1000B24E8((_QWORD *)v10 + 11, a3, &a3[v11], v11); if ( a4[23] < 0 ) a4 = *(const std::string::value_type **)a4; std::string::assign((std::string *)(v10 + 112), a4); *((_DWORD *)v10 + 48) = a5; Instance = cocos2d::extension::CCHttpClient::getInstance(); cocos2d::extension::CCHttpClient::send(Instance, (cocos2d::extension::CCHttpRequest *)v10); cocos2d::CCObject::release((cocos2d::CCObject *)v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source