// // MusicDownloadManager::onGetSongInfoCompleted from 0x14033d8b0 to 0x14033da37 (391 bytes) // // 2 xrefs: // > MusicDownloadManager::handleIt @ 0x14033d19e // > @ 0x1406d5600 // // 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=2 void __fastcall MusicDownloadManager::onGetSongInfoCompleted(MusicDownloadManager *a1, const void **a2, const char *a3) { const char *v6; // rcx int v7; // r15d cocos2d::CCString *v8; // rax const char *CString; // rax const void *v10; // rcx unsigned __int64 v11; // rbp size_t v12; // r14 const void *v13; // rcx __int64 v14; // rax SongInfoObject *v15; // rax __int128 Buf2; // [rsp+38h] [rbp-60h] BYREF __int64 v17; // [rsp+48h] [rbp-50h] __int64 v18; // [rsp+50h] [rbp-48h] v6 = a3; if ( *((_QWORD *)a3 + 3) > 0xFu ) v6 = *(const char **)a3; v7 = atoi(v6); v8 = cocos2d::CCString::createWithFormat("i_%i", v7); CString = cocos2d::CCString::getCString(v8); MusicDownloadManager::removeDLFromActive(a1, CString); Buf2 = 0; v17 = 2; v18 = 15; strcpy((char *)&Buf2, "-1"); v10 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v10 = *a2; v11 = (unsigned __int64)a2[2]; v12 = v11; if ( v11 > 2 ) v12 = 2; if ( !memcmp(v10, &Buf2, v12) && v11 == 2 ) { LABEL_15: MusicDownloadManager::loadSongInfoFailed(a1, v7, FailedToFetch); goto LABEL_17; } Buf2 = 0; v17 = 2; v18 = 15; strcpy((char *)&Buf2, "-2"); v13 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v13 = *a2; if ( memcmp(v13, &Buf2, v12) || v11 != 2 ) { v14 = sub_14003BDB0((__int64)&Buf2, (__int64)a2); v15 = (SongInfoObject *)MusicDownloadManager::addSongObjectFromString(a1, v14); if ( v15 ) { MusicDownloadManager::loadSongInfoFinished(a1, v15); goto LABEL_17; } goto LABEL_15; } MusicDownloadManager::loadSongInfoFailed(a1, v7, NotAllowed); LABEL_17: sub_14003A830((__int64)a2); sub_14003A830((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source