// // MusicDownloadManager::getDownloadedSongs from 0x96d09c to 0x96d158 (188 bytes) // // 4 xrefs: // > GJSongBrowser::customSetup @ 0x6e70d4 // > GJSongBrowser::FLAlert_Clicked @ 0x6e71e4 // > MusicDownloadManager::limitDownloadedSongs @ 0x96d180 // > @ 0xfb998 // // This function is hookable on this platform (idp: arm, 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 12:57:39 +0000 // cocos2d::CCArray *__fastcall MusicDownloadManager::getDownloadedSongs(MusicDownloadManager *this) { cocos2d::CCArray *v2; // x22 __int64 v3; // x0 __int64 v4; // x0 int *v5; // x20 __int64 v6; // x19 __int64 v7; // x0 v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this); v3 = *((_QWORD *)this + 43); if ( v3 ) { v4 = *(_QWORD *)(v3 + 56); if ( v4 ) { v5 = *(int **)(v4 + 264); v6 = *(_QWORD *)(v4 + 288); if ( (unsigned __int8)MusicDownloadManager::isSongDownloaded(this, v5[79]) ) goto LABEL_6; while ( v6 ) { while ( 1 ) { v7 = v6; v6 = *(_QWORD *)(v6 + 288); v5 = *(int **)(v7 + 264); if ( !(unsigned __int8)MusicDownloadManager::isSongDownloaded(this, v5[79]) ) break; LABEL_6: cocos2d::CCArray::addObject(v2, (cocos2d::CCObject *)v5); if ( !v6 ) goto LABEL_7; } } } } LABEL_7: if ( (unsigned int)cocos2d::CCArray::count(v2) > 1 ) qsort( *(void **)(*((_QWORD *)v2 + 7) + 16LL), **((unsigned int **)v2 + 7), 8u, (int (*)(const void *, const void *))songCompare); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source