// // MusicBrowser::onUpdateLibrary from 0xa5a404 to 0xa5a45c (88 bytes) // // 5 xrefs: // > MusicBrowser::setupMusicBrowser @ 0xa5b4c8 // > MusicBrowser::musicActionFinished @ 0xa5c224 // > @ 0xa13d0 // > MusicBrowser::init @ 0xa5ba48 // > @ 0x122d8b0 // // 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 MusicBrowser::onUpdateLibrary(MusicBrowser *a1, cocos2d::CCObject *a2) { MusicDownloadManager *v3; // x0 MusicDownloadManager *v4; // x0 a1->m_autoUpdating = a2 == nullptr; if ( *((_QWORD *)MusicDownloadManager::sharedState()->m_customContentURL.m_data.m_data - 3) ) { a1->m_gettingURL = 0; v3 = MusicDownloadManager::sharedState(); MusicDownloadManager::tryUpdateMusicLibrary(v3); } else { a1->m_gettingURL = (unsigned __int8)&dword_0 + 1; v4 = MusicDownloadManager::sharedState(); MusicDownloadManager::getCustomContentURL(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source