// // MusicDownloadManager::getDownloadedSongs from 0x572754 to 0x5727c0 (108 bytes) // // 3 xrefs: // > GJSongBrowser::customSetup @ 0x3f7380 // > GJSongBrowser::FLAlert_Clicked @ 0x3f743a // > MusicDownloadManager::limitDownloadedSongs @ 0x5727da // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:39 +0000 // size_t **__fastcall MusicDownloadManager::getDownloadedSongs(MusicDownloadManager *this) { size_t **v2; // r0 unsigned int v3; // r2 int v4; // r3 size_t **v5; // r5 unsigned int v6; // r3 unsigned int v7; // r4 unsigned int *v8; // r7 v2 = (size_t **)cocos2d::CCArray::create(this); v4 = *((_DWORD *)this + 69); v5 = v2; if ( v4 ) { v6 = *(_DWORD *)(v4 + 52); if ( v6 ) v7 = *(_DWORD *)(v6 + 272); else v7 = 0; while ( v6 ) { v8 = *(unsigned int **)(v6 + 260); if ( MusicDownloadManager::isSongDownloaded(this, v8[66], v3) ) cocos2d::CCArray::addObject((cocos2d::CCArray *)v5, (cocos2d::CCObject *)v8); if ( v7 ) v3 = *(_DWORD *)(v7 + 272); else v3 = 0; v6 = v7; v7 = v3; } } if ( cocos2d::CCArray::count((cocos2d::CCArray *)v5) > 1u ) qsort((void *)v5[13][3], *v5[13], 4u, songCompare); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source