// // MusicDownloadManager::getDownloadedSongs from 0x140483890 to 0x140483949 (185 bytes) // // 6 xrefs: // > GJSongBrowser::customSetup @ 0x1403bdcd6 // > GJSongBrowser::FLAlert_Clicked @ 0x1403be11a // > MusicDownloadManager::onDownloadSongCompleted @ 0x1404841e3 // > @ 0x1408cff04 // > @ 0x1408cff3c // > @ 0x140928a30 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:32:45 +0000 // cocos2d::CCArray *__fastcall MusicDownloadManager::getDownloadedSongs(__int64 a1) { __int64 v2; // rax __int64 v3; // rdx cocos2d::CCArray *v4; // rdi __int64 v5; // rdx __int64 i; // rbx unsigned int *v7; // rsi v2 = cocos2d::CCArray::create(a1); v3 = *(_QWORD *)(a1 + 344); v4 = (cocos2d::CCArray *)v2; if ( v3 ) { v5 = *(_QWORD *)(v3 + 56); if ( v5 ) { for ( i = *(_QWORD *)(v5 + 288); ; i = *(_QWORD *)(i + 288) ) { v7 = *(unsigned int **)(v5 + 264); if ( (unsigned __int8)MusicDownloadManager::isSongDownloaded(a1, v7[80]) ) cocos2d::CCArray::addObject(v4, (struct cocos2d::CCObject *)v7); v5 = i; if ( !i ) break; } } } if ( cocos2d::CCArray::count(v4) > 1 ) qsort( *(void **)(*((_QWORD *)v4 + 7) + 16LL), **((unsigned int **)v4 + 7), 8u, (_CoreCrtNonSecureSearchSortCompareFunction)sub_140481A40); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source