// // MusicDownloadManager::getDownloadedSongs from 0x45999c to 0x459a08 (108 bytes) // // 3 xrefs: // > GJSongBrowser::customSetup @ 0x307ee0 // > GJSongBrowser::FLAlert_Clicked @ 0x308022 // > MusicDownloadManager::limitDownloadedSongs @ 0x459a22 // // 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 *MusicDownloadManager::getDownloadedSongs(MusicDownloadManager *a1) { cocos2d::CCArray *v2; // r0 cocos2d::CCDictionary *m_songObjects; // r3 cocos2d::CCArray *v4; // r5 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 cocos2d::CCObject *m_pObject; // r7 cocos2d::CCDictElement *v8; // r2 v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); m_songObjects = a1->m_songObjects; v4 = v2; if ( m_songObjects ) { m_pElements = m_songObjects->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; if ( MusicDownloadManager::isSongDownloaded(a1, m_pObject[5].m_uID) ) cocos2d::CCArray::addObject(v4, m_pObject); if ( next ) v8 = (cocos2d::CCDictElement *)next->hh.next; else v8 = nullptr; m_pElements = next; next = v8; } } if ( cocos2d::CCArray::count(v4) > 1u ) qsort(v4->data->arr, v4->data->num, 4u, songCompare); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source