// // MusicBrowser::setupMusicBrowser from 0x10060f200 to 0x10060f2de (222 bytes) // // 3 xrefs: // > MusicBrowser::init @ 0x10060e87f // > MusicBrowser::trySetupMusicBrowser @ 0x10060efa1 // > MusicBrowser::musicActionFinished @ 0x10060f9a0 // // 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 MusicBrowser::setupMusicBrowser(MusicBrowser *a1) { MusicDownloadManager *v1; // rax unsigned int sizex2; // ecx MusicDownloadManager *v3; // rax MusicSearchResult *v4; // r14 __int64 v5; // rsi MusicDownloadManager *v6; // rax unsigned int v7; // ecx MusicDownloadManager *v8; // rax MusicDownloadManager *v9; // rax v1 = MusicDownloadManager::sharedState(); sizex2 = v1->m_customContentURL.m_data.m_short.sizex2; if ( (sizex2 & 1) != 0 ) { if ( v1->m_customContentURL.m_data.m_long.size ) goto LABEL_6; } else if ( sizex2 >> 1 ) { goto LABEL_6; } v3 = MusicDownloadManager::sharedState(); MusicDownloadManager::getCustomContentURL(v3); LABEL_6: v4 = MusicSearchResult::create(a1->m_songType); v5 = 6; if ( a1->m_songType != 1 ) v5 = 0; ((void (__fastcall *)(MusicSearchResult *, __int64))v4->updateObjects)(v4, v5); MusicBrowser::setupList(a1, v4); if ( !MusicDownloadManager::sharedState()->m_downloadingMusicLibrary ) { a1->m_autoUpdating = 1; v6 = MusicDownloadManager::sharedState(); v7 = v6->m_customContentURL.m_data.m_short.sizex2; if ( (v7 & 1) != 0 ) { if ( v6->m_customContentURL.m_data.m_long.size ) goto LABEL_11; } else if ( v7 >> 1 ) { LABEL_11: a1->m_gettingURL = 0; v8 = MusicDownloadManager::sharedState(); MusicDownloadManager::tryUpdateMusicLibrary(v8); return; } a1->m_gettingURL = 1; v9 = MusicDownloadManager::sharedState(); MusicDownloadManager::getCustomContentURL(v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source