// // MusicDownloadManager::getDownloadedSongs from 0x100155e10 to 0x100155ea4 (148 bytes) // // 3 xrefs: // > MusicDownloadManager::limitDownloadedSongs @ 0x10015600c // > GJSongBrowser::customSetup @ 0x100265e38 // > GJSongBrowser::FLAlert_Clicked @ 0x1002660d0 // // 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 // cocos2d::CCArray *__fastcall MusicDownloadManager::getDownloadedSongs(MusicDownloadManager *a1) { cocos2d::CCArray *v2; // x19 cocos2d::CCDictionary *m_songObjects; // x8 cocos2d::CCDictElement *m_pElements; // x22 cocos2d::CCObject *m_pObject; // x21 v2 = (cocos2d::CCArray *)sub_10024A15C(a1); m_songObjects = a1->m_songObjects; if ( m_songObjects ) { m_pElements = m_songObjects->m_pElements; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next; if ( MusicDownloadManager::isSongDownloaded(a1, m_pObject[5].m_uUnknown) ) sub_10024A2D0(v2, m_pObject); } } if ( (unsigned int)sub_10024A36C(v2) >= 2 ) qsort(v2->data->arr, v2->data->num, 8u, (int (__cdecl *)(const void *, const void *))sub_100152EB0); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source