// // MusicDownloadManager::getAllMusicObjects from 0x82a864 to 0x82a8f4 (144 bytes) // // 2 xrefs: // > MusicSearchResult::updateObjects @ 0x832d78 // > @ 0x3df50 // // 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::getAllMusicObjects(MusicDownloadManager *a1, GJSongType a2) { cocos2d::CCArray *v4; // x0 unsigned int v5; // w1 cocos2d::CCArray *v6; // x21 cocos2d::CCDictionary *m_musicObjects; // x0 cocos2d::CCDictElement *m_pElements; // x1 _QWORD *next; // x19 cocos2d::CCArray *v10; // x0 cocos2d::CCObject *m_pObject; // x1 _QWORD *v12; // x1 v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::count(a1->m_musicObjects); v6 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v4, v5); m_musicObjects = a1->m_musicObjects; if ( m_musicObjects ) { m_pElements = m_musicObjects->m_pElements; if ( m_pElements ) { next = m_pElements->hh.next; v10 = v6; m_pObject = m_pElements->m_pObject; if ( a2 == Music ) goto LABEL_7; LABEL_4: if ( a2 == m_pObject[6].m_unknown2 ) { LABEL_7: while ( 1 ) { cocos2d::CCArray::addObject(v10, m_pObject); if ( !next ) break; LABEL_6: v12 = next; next = (_QWORD *)next[36]; v10 = v6; m_pObject = (cocos2d::CCObject *)v12[33]; if ( a2 != Music ) goto LABEL_4; } } else if ( next ) { goto LABEL_6; } } } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source