// // MusicDownloadManager::tryUpdateMusicLibrary from 0x5703b4 to 0x5704ba (262 bytes) // // 1 xrefs: // > MusicBrowser::onUpdateLibrary @ 0x6bd460 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:36 +0000 // int __fastcall MusicDownloadManager::tryUpdateMusicLibrary(int this) { cocos2d::CCObject *v1; // r5 int v2; // r4 int v3; // r3 int *Request; // r4 int v5; // r3 int v6[3]; // [sp+18h] [bp-40h] BYREF int v7[3]; // [sp+24h] [bp-34h] BYREF int v8[3]; // [sp+30h] [bp-28h] BYREF int v9[3]; // [sp+3Ch] [bp-1Ch] BYREF int v10[3]; // [sp+48h] [bp-10h] BYREF v1 = (cocos2d::CCObject *)this; v2 = *(unsigned __int8 *)(this + 288); if ( (v2 & 1) != 0 ) v3 = *(_DWORD *)(this + 292); else v3 = v2 >> 1; if ( v3 ) { this = MusicDownloadManager::isDLActive((MusicDownloadManager *)this, "v_music_l"); if ( !this ) { memset(v6, 0, sizeof(v6)); *((_BYTE *)v1 + 380) = 1; std::string::__init(v6, "/music/musiclibrary_version_02.txt", 0x22u); std::string::basic_string(v8, (int)v6); MusicDownloadManager::generateCustomContentURL(v7, (int)v1, (int)v8); std::string::~string((int)v8); std::string::basic_string(v9, (int)v7); memset(v10, 0, sizeof(v10)); std::string::__init(v10, &unk_B6B226, 0); Request = MusicDownloadManager::ProcessHttpGetRequest( v1, (int)v9, (int)v10, (int)MusicDownloadManager::onTryUpdateMusicLibraryCompleted, 0, 0, 0); std::string::~string((int)v10); std::string::~string((int)v9); MusicDownloadManager::addDLToActive(v1, "v_music_l", (cocos2d::CCObject *)Request, v5); std::string::~string((int)v7); return std::string::~string((int)v6); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source