// // MusicDownloadManager::getAllSFXObjects from 0x4587e2 to 0x45882e (76 bytes) // // 1 xrefs: // > SFXSearchResult::updateObjects @ 0x45d81a // // 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::getAllSFXObjects(MusicDownloadManager *a1, bool a2) { _BOOL4 v3; // r6 cocos2d::CCArray *v4; // r0 cocos2d::CCDictionary *m_sfxObjects; // r3 cocos2d::CCArray *v6; // r5 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 cocos2d::CCObject *m_pObject; // r1 cocos2d::CCDictElement *v10; // r2 v3 = a2; v4 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); m_sfxObjects = a1->m_sfxObjects; v6 = v4; if ( m_sfxObjects ) { m_pElements = m_sfxObjects->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; if ( !LOBYTE(m_pObject[1].m_uReference) || !v3 ) cocos2d::CCArray::addObject(v6, m_pObject); if ( next ) v10 = (cocos2d::CCDictElement *)next->hh.next; else v10 = nullptr; m_pElements = next; next = v10; } } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source