// // GJSongBrowser::FLAlert_Clicked from 0x5be944 to 0x5be9f8 (180 bytes) // // 3 xrefs: // > `non-virtual thunk to'GJSongBrowser::FLAlert_Clicked @ 0x5be9fc // > @ 0x71e50 // > @ 0x1145c28 // // 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 // void GJSongBrowser::FLAlert_Clicked(GJSongBrowser *a1, FLAlertLayer *a2, bool a3) { _BOOL4 v4; // w19 MusicDownloadManager *v5; // x0 unsigned int v6; // w19 cocos2d::CCArray *DownloadedSongs; // x20 __int64 v8; // x21 MusicDownloadManager *v9; // x0 bool v10; // cf unsigned int v11; // w1 MusicDownloadManager *v12; // x0 v4 = a3; if ( a2->getTag(a2) == 1 && v4 ) { v5 = MusicDownloadManager::sharedState(); v6 = 0; DownloadedSongs = MusicDownloadManager::getDownloadedSongs(v5); while ( 1 ) { v10 = v6 >= (unsigned int)cocos2d::CCArray::count(DownloadedSongs); v11 = v6++; if ( v10 ) break; v8 = cocos2d::CCArray::objectAtIndex(DownloadedSongs, v11); v9 = MusicDownloadManager::sharedState(); MusicDownloadManager::deleteSong(v9, *(_DWORD *)(v8 + 316)); } v12 = MusicDownloadManager::sharedState(); MusicDownloadManager::clearUnusedSongs(v12); a1->exitLayer(a1, nullptr); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source