// // GJSongBrowser::FLAlert_Clicked from 0x100266088 to 0x10026613c (180 bytes) // // 2 xrefs: // > sub_10026613C @ 0x100266140 // > @ 0x1007d1690 // // 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 __fastcall GJSongBrowser::FLAlert_Clicked(GJSongBrowser *a1, FLAlertLayer *a2, bool a3) { _BOOL4 v3; // w20 MusicDownloadManager *v6; // x0 cocos2d::CCArray *DownloadedSongs; // x20 unsigned int v9; // w21 __int64 v10; // x22 MusicDownloadManager *v11; // x0 MusicDownloadManager *v12; // x0 v3 = a3; if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 && v3 ) { v6 = MusicDownloadManager::sharedState(); DownloadedSongs = MusicDownloadManager::getDownloadedSongs(v6); if ( (unsigned int)sub_10024A36C((__int64)DownloadedSongs) ) { v9 = 0; do { v10 = sub_10024A388((__int64)DownloadedSongs, v9); v11 = MusicDownloadManager::sharedState(); MusicDownloadManager::deleteSong(v11, *(_DWORD *)(v10 + 316)); ++v9; } while ( v9 < (unsigned int)sub_10024A36C((__int64)DownloadedSongs) ); } v12 = MusicDownloadManager::sharedState(); MusicDownloadManager::clearUnusedSongs(v12); ((void (__fastcall *)(GJSongBrowser *, _QWORD))a1->exitLayer)(a1, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source