// // MusicDownloadManager::getAllMusicArtists from 0x458684 to 0x458734 (176 bytes) // // 1 xrefs: // > MusicSearchResult::createArtistFilterObjects @ 0x45b29a // // 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::getAllMusicArtists(MusicDownloadManager *a1, OptionsObjectDelegate *a2) { cocos2d::CCArray *v4; // r0 unsigned int v5; // r1 cocos2d::CCArray *v6; // r0 cocos2d::CCDictionary *m_musicArtists; // r3 cocos2d::CCArray *v8; // r7 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 OptionsObject *v11; // r9 cocos2d::CCObject *v12; // r9 cocos2d::CCDictElement *v13; // r2 OptionsObjectDelegate *v15[3]; // [sp+0h] [bp-Ch] BYREF v15[0] = (OptionsObjectDelegate *)a1; v15[1] = a2; v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::count(a1->m_musicArtists); v6 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v4, v5); m_musicArtists = a1->m_musicArtists; v8 = v6; if ( m_musicArtists ) { m_pElements = m_musicArtists->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { v11 = (OptionsObject *)m_pElements->m_pObject[1].__vftable; sub_775C20(v15); v12 = (cocos2d::CCObject *)OptionsObject::create(v11, 0, (bool)v15, (std::string)a2, v15[0]); sub_774008(v15); cocos2d::CCArray::addObject(v8, v12); if ( next ) v13 = (cocos2d::CCDictElement *)next->hh.next; else v13 = nullptr; m_pElements = next; next = v13; } } if ( cocos2d::CCArray::count(v8) > 1u ) qsort(v8->data->arr, v8->data->num, 4u, optionsStrCompare); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source