//
// MusicDownloadManager::getAllSongs from 0x100155f94 to 0x100155fe4 (80 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::clearUnusedSongs @ 0x100156234
//
// 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 *__fastcall MusicDownloadManager::getAllSongs(MusicDownloadManager *a1)
{
cocos2d::CCArray *v2; // x19
cocos2d::CCDictionary *m_songObjects; // x8
cocos2d::CCDictElement *m_pElements; // x8
cocos2d::CCDictElement *next; // x20
v2 = (cocos2d::CCArray *)sub_10024A15C(a1);
m_songObjects = a1->m_songObjects;
if ( m_songObjects )
{
m_pElements = m_songObjects->m_pElements;
if ( m_pElements )
{
do
{
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
sub_10024A2D0(v2, m_pElements->m_pObject);
m_pElements = next;
}
while ( next );
}
}
return v2;
}