// // MusicDownloadManager::ProcessHttpRequest from 0x1001d203c to 0x1001d2168 (300 bytes) // // 3 xrefs: // > MusicDownloadManager::getSongInfo @ 0x1001d323c // > MusicDownloadManager::getCustomContentURL @ 0x1001dab04 // > MusicDownloadManager::getAudioFilesize @ 0x1001db1a4 // // This function is hookable on this platform (idp: arm, 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:00:23 +0000 // _DWORD *__fastcall MusicDownloadManager::ProcessHttpRequest( __int64 a1, const std::string::value_type *a2, char *a3, const std::string::value_type *a4, int a5) { char *v10; // x19 unsigned int v11; // w0 std::string *v12; // x0 __int64 Instance; // x0 v10 = (char *)operator new(0xD8u); cocos2d::CCObject::CCObject((__int64)v10); *(_QWORD *)v10 = off_1008CEAF0; *((_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_1000D788C((_QWORD *)v10 + 11, a3, &a3[v11], v11); if ( a4[23] < 0 ) a4 = *(const std::string::value_type **)a4; v12 = std::string::assign((std::string *)(v10 + 112), a4); *((_DWORD *)v10 + 48) = a5; Instance = cocos2d::extension::CCHttpClient::getInstance(v12); cocos2d::extension::CCHttpClient::send(Instance, v10); return cocos2d::CCObject::release(v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source