// // MusicDownloadManager::getSongInfo from 0x14033d5d0 to 0x14033d8aa (730 bytes) // // 4 xrefs: // > CustomSongWidget::onGetSongInfo @ 0x1400cab7d // > CustomSongWidget::onDownload @ 0x1400cad8f // > CustomSongWidget::processNextMultiAsset @ 0x1400cd39e // > @ 0x1406d55f4 // // 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 // // Hidden C++ exception states: #wind=4 void MusicDownloadManager::getSongInfo(MusicDownloadManager *a1, int a2, bool a3) { char v6; // di SongInfoObject *SongInfoObject; // rax SongInfoObject *v8; // rbx bool v9; // r14 cocos2d::CCString *v10; // rax const char *CString; // rbx __int64 v12; // rdx __int64 v13; // rcx cocos2d::CCObject *v14; // rax __int64 v15; // rcx cocos2d::CCString *v16; // rax const char *v17; // rax cocos2d::CCString *v18; // rax char *v19; // rax size_t v20; // rbx size_t v21; // r8 cocos2d::CCString *v22; // rax const char *v23; // rax size_t v24; // r8 _QWORD *v25; // rdx void *v26; // [rsp+40h] [rbp-69h] __int128 v27; // [rsp+48h] [rbp-61h] BYREF __int64 v28; // [rsp+58h] [rbp-51h] __int64 v29; // [rsp+60h] [rbp-49h] __int128 v30; // [rsp+68h] [rbp-41h] BYREF __int64 v31; // [rsp+78h] [rbp-31h] __int64 v32; // [rsp+80h] [rbp-29h] __int128 *v33; // [rsp+88h] [rbp-21h] __int128 v34; // [rsp+98h] [rbp-11h] BYREF __int64 v35; // [rsp+A8h] [rbp-1h] __int64 v36; // [rsp+B0h] [rbp+7h] _QWORD Src[4]; // [rsp+B8h] [rbp+Fh] BYREF v6 = 0; SongInfoObject = MusicDownloadManager::getSongInfoObject(a1, a2); v8 = SongInfoObject; v9 = false; if ( SongInfoObject && (SongInfoObject->m_verified || !a3) ) { sub_14003BDB0((__int64)&v34, (__int64)&SongInfoObject->m_songUrl); v6 = 3; if ( v35 ) v9 = true; } if ( (v6 & 1) != 0 ) sub_14003A830((__int64)&v34); if ( v9 ) { MusicDownloadManager::loadSongInfoFinished(a1, v8); } else { v10 = cocos2d::CCString::createWithFormat("i_%i", a2); CString = cocos2d::CCString::getCString(v10); if ( !AchievementManager::getAchievementsWithID((__int64)a1, (__int64)CString) ) { v14 = (cocos2d::CCObject *)cocos2d::CCNode::create(v13, v12); MusicDownloadManager::addDLToActive(a1, CString, v14); if ( !qword_1406C2EC0 ) { v26 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v26); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); } GameLevelManager::getBasePostString(v15, Src); v16 = cocos2d::CCString::createWithFormat( "%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, (const char *)&word_140531E88); v17 = cocos2d::CCString::getCString(v16); v18 = cocos2d::CCString::createWithFormat("&songID=%i&secret=%s", a2, v17); v19 = (char *)cocos2d::CCString::getCString(v18); v20 = -1; v21 = -1; do ++v21; while ( v19[v21] ); sub_140041270(Src, v19, v21); v33 = &v34; v22 = cocos2d::CCString::createWithFormat("%i", a2); v23 = cocos2d::CCString::getCString(v22); v30 = 0; v31 = 0; v32 = 0; v24 = -1; do ++v24; while ( v23[v24] ); sub_14003A930(&v30, v23, v24); v25 = Src; if ( Src[3] > 0xFu ) v25 = (_QWORD *)Src[0]; v34 = 0; v35 = 0; v36 = 0; do ++v20; while ( *((_BYTE *)v25 + v20) ); sub_14003A930(&v34, v25, v20); v27 = 0; *(_QWORD *)&v27 = sub_14003AA10(0x40u); v28 = 52; v29 = 63; strcpy((char *)v27, "https://www.boomlings.com/database/getGJSongInfo.php"); MusicDownloadManager::ProcessHttpRequest(a1, (const char *)&v27, (const char *)&v34, (const char *)&v30, 19); sub_14003A830((__int64)Src); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source