// // MusicDownloadManager::getAllMusicArtists from 0x82aa9c to 0x82ac2c (400 bytes) // // 2 xrefs: // > MusicSearchResult::createArtistFilterObjects @ 0x832224 // > @ 0x76dd0 // // 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; // x0 unsigned int v5; // w1 cocos2d::CCArray *v6; // x21 cocos2d::CCDictionary *m_musicArtists; // x0 cocos2d::CCDictElement *m_pElements; // x0 cocos2d::CCDictElement *i; // x19 unsigned int v10; // w27 OptionsObjectDelegate *v11; // x4 cocos2d::CCObject *v12; // x27 void *v13; // x0 unsigned int *v15; // x1 int v16; // w2 __int64 v17; // [xsp+0h] [xbp+0h] BYREF __int64 v18; // [xsp+70h] [xbp+70h] BYREF v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::count(a1->m_musicArtists); v6 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v4, v5); m_musicArtists = a1->m_musicArtists; if ( m_musicArtists ) { m_pElements = m_musicArtists->m_pElements; if ( m_pElements ) { for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next ) { v10 = (unsigned int)m_pElements->m_pObject[1].__vftable; sub_D18D28(&v18); v12 = (cocos2d::CCObject *)OptionsObject::create( (OptionsObject *)v10, 0, (unsigned __int8)&v17 + 112, (std::string)a2, v11); v13 = (void *)(v18 - 24); if ( (__int64 *)(v18 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v15 = (unsigned int *)(v18 - 8); do v16 = __ldaxr(v15); while ( __stlxr(v16 - 1, v15) ); } else { v16 = *(_DWORD *)(v18 - 8); *(_DWORD *)(v18 - 8) = v16 - 1; } if ( v16 <= 0 ) operator delete(v13); } cocos2d::CCArray::addObject(v6, v12); if ( !i ) break; m_pElements = i; } } } if ( (unsigned int)cocos2d::CCArray::count(v6) > 1 ) qsort(v6->data->arr, v6->data->num, 8u, (int (*)(const void *, const void *))optionsStrCompare); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source