// // MusicDownloadManager::getSongInfo from 0x45a490 to 0x45a5dc (332 bytes) // // 3 xrefs: // > CustomSongWidget::onGetSongInfo @ 0x3ddcba // > CustomSongWidget::processNextMultiAsset @ 0x3dffcc // > CustomSongWidget::onDownload @ 0x3e02bc // // 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 // void MusicDownloadManager::getSongInfo(MusicDownloadManager *a1, int a2, bool a3) { _BOOL4 v5; // r5 SongInfoObject *SongInfoObject; // r0 SongInfoObject *v7; // r4 int v8; // r6 const char *SongInfoKey; // r4 cocos2d::CCString *v10; // r0 const char *CString; // r0 cocos2d::CCString *v12; // r0 char *v13; // r0 cocos2d::CCString *v14; // r0 char *v15; // r0 char *v16; // [sp+1Ch] [bp-18h] BYREF char *v17; // [sp+20h] [bp-14h] BYREF const char *v18; // [sp+24h] [bp-10h] BYREF char *v19; // [sp+28h] [bp-Ch] BYREF v5 = a3; SongInfoObject = MusicDownloadManager::getSongInfoObject(a1, a2); v7 = SongInfoObject; if ( SongInfoObject && (SongInfoObject->m_verified || !v5) && (sub_775C20(&v19), v8 = *((_DWORD *)v19 - 3), sub_774008(&v19), v8) ) { MusicDownloadManager::loadSongInfoFinished(a1, v7); } else { SongInfoKey = MusicDownloadManager::getSongInfoKey(a1, a2); if ( !MusicDownloadManager::isDLActive(a1, SongInfoKey) ) { MusicDownloadManager::addDLToActive(a1, SongInfoKey); GameLevelManager::sharedState(); GameLevelManager::getBasePostString((GameLevelManager *)&v16); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &aO1i2r3e45s7t89[10]); CString = cocos2d::CCString::getCString(v10); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"&songID=%i&secret=%s", (const char *)a2, CString); v13 = (char *)cocos2d::CCString::getCString(v12); sub_774544((int)&v16, v13); sub_776584((int)&v17, "https://www.boomlings.com/database/getGJSongInfo.php"); sub_776584((int)&v18, v16); v14 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2); v15 = (char *)cocos2d::CCString::getCString(v14); sub_776584((int)&v19, v15); MusicDownloadManager::ProcessHttpRequest(a1, &v17, &v18, &v19, 19); sub_774008(&v19); sub_774008(&v18); sub_774008(&v17); sub_774008(&v16); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source