// // MusicDownloadManager::getSongInfoObject from 0x82a6f0 to 0x82a830 (320 bytes) // // 12 xrefs: // > FindBPMLayer::recordingDidStop @ 0x5bf1e0 // > FindBPMLayer::init @ 0x5c1b34 // > LevelCell::loadCustomLevelCell @ 0x610240 // > CustomSongWidget::onMore @ 0x742a34 // > MusicDownloadManager::incrementPriorityForSong @ 0x82a840 // > MusicDownloadManager::getSongInfo @ 0x82d2a4 // > MusicDownloadManager::onDownloadSongCompleted @ 0x82ff78 // > MusicDownloadManager::downloadSong @ 0x831c24 // > SongInfoObject::create @ 0x834dbc // > SongSelectNode::init @ 0x83f4e0 // > AudioAssetsBrowser::setupList @ 0xa8f414 // > @ 0xb7c00 // // 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 // // local variable allocation has failed, the output may be wrong! SongInfoObject *MusicDownloadManager::getSongInfoObject(MusicDownloadManager *a1, int a2) { cocos2d::CCDictionary *m_songObjects; // x23 cocos2d::CCString *v5; // x0 char *CString; // x0 SongInfoObject *v7; // x20 char *v8; // x0 unsigned int *v10; // x2 int v11; // w1 std::string v12; // [xsp+50h] [xbp+50h] BYREF m_songObjects = a1->m_songObjects; v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *(const char **)&a2); CString = (char *)cocos2d::CCString::getCString(v5); sub_D153B8((int)&v12, CString); v7 = (SongInfoObject *)cocos2d::CCDictionary::objectForKey(m_songObjects, &v12); v8 = (char *)v12.m_data.m_data - 24; if ( (__int64 *)v12.m_data.m_data - 3 != &qword_124B6B0 ) { if ( &pthread_create ) { v10 = (unsigned int *)((char *)v12.m_data.m_data - 8); do v11 = __ldaxr(v10); while ( __stlxr(v11 - 1, v10) ); } else { v11 = *((_DWORD *)v12.m_data.m_data - 2); *((_DWORD *)v12.m_data.m_data - 2) = v11 - 1; } if ( v11 <= 0 ) operator delete(v8); } if ( v7 || a2 <= 10000000 ) return v7; else return MusicDownloadManager::getMusicObject(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source