// // MusicDownloadManager::getAllMusicObjects from 0x458588 to 0x4585e4 (92 bytes) // // 1 xrefs: // > MusicSearchResult::updateObjects @ 0x45b476 // // 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; // r0 unsigned int v5; // r1 cocos2d::CCArray *v6; // r0 cocos2d::CCDictionary *m_musicObjects; // r3 cocos2d::CCArray *v8; // r5 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 cocos2d::CCDictElement *v11; // r2 v4 = (cocos2d::CCArray *)cocos2d::CCDictionary::count(a1->m_musicObjects); v6 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v4, v5); m_musicObjects = a1->m_musicObjects; v8 = v6; if ( m_musicObjects ) { m_pElements = m_musicObjects->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { if ( a2 == Music || m_pElements->m_pObject[5].m_nZOrder == a2 ) cocos2d::CCArray::addObject(v8, m_pElements->m_pObject); if ( next ) v11 = (cocos2d::CCDictElement *)next->hh.next; else v11 = nullptr; m_pElements = next; next = v11; } } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source