// // MusicSearchResult::updateFutureCount from 0x832c28 to 0x832d40 (280 bytes) // // 2 xrefs: // > MusicSearchResult::updateObjects @ 0x832e04 // > @ 0xc6f90 // // 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 MusicSearchResult::updateFutureCount(MusicSearchResult *a1, cocos2d::CCArray *a2, cocos2d::CCArray *a3) { unsigned int v6; // w24 cocos2d::CCArray *m_tagFilterObjects; // x0 cocos2d::ccArray *data; // x1 cocos2d::CCObject **arr; // x19 cocos2d::CCObject **i; // x22 cocos2d::CCObject *v11; // x20 cocos2d::CCArray *v12; // x22 cocos2d::CCArray *m_artistFilterObjects; // x0 cocos2d::ccArray *v14; // x1 char *v15; // x19 __int64 v16; // x0 char *j; // x21 __int64 v18; // x20 MusicDownloadManager *v19; // x0 cocos2d::CCArray *v20; // x0 MusicDownloadManager *v21; // x0 cocos2d::CCArray *v22; // x0 v6 = cocos2d::CCArray::count(a2); m_tagFilterObjects = a1->m_tagFilterObjects; if ( m_tagFilterObjects ) { data = m_tagFilterObjects->data; if ( data->num ) { arr = data->arr; for ( i = &arr[data->num - 1]; i >= arr; ++arr ) { v11 = *arr; if ( !*arr ) break; if ( BYTE4(v11[1].__vftable) ) { v11[1].m_uAutoReleaseCount = v6; } else { v21 = MusicDownloadManager::sharedState(); v22 = MusicDownloadManager::filterMusicByTag(v21, (int)v11[1].__vftable, a2); v11[1].m_uAutoReleaseCount = cocos2d::CCArray::count(v22); } } } } v12 = MusicSearchResult::applyTagFilters(a1, a3); m_artistFilterObjects = a1->m_artistFilterObjects; if ( m_artistFilterObjects ) { v14 = m_artistFilterObjects->data; if ( v14->num ) { v15 = (char *)v14->arr; v16 = 8LL * v14->num - 8; for ( j = &v15[v16]; j >= v15; *(_DWORD *)(v18 + 80) = cocos2d::CCArray::count(v20) ) { v18 = *(_QWORD *)v15; if ( !*(_QWORD *)v15 ) break; v19 = MusicDownloadManager::sharedState(); v15 += 8; v20 = MusicDownloadManager::filterMusicByArtistID(v19, *(_DWORD *)(v18 + 56), v12); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source