// // GJSongBrowser::FLAlert_Clicked from 0x1005ff5a0 to 0x1005ff652 (178 bytes) // // 2 xrefs: // > sub_1005FF660 @ 0x1005ff66c // > @ 0x10097d958 // // 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) { MusicDownloadManager *v3; // rax cocos2d::CCArray *DownloadedSongs; // r14 unsigned int v5; // r15d __int64 v6; // r12 MusicDownloadManager *v7; // rax MusicDownloadManager *v8; // rax if ( !(!a3 | (((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) != 1)) ) { v3 = MusicDownloadManager::sharedState(); DownloadedSongs = MusicDownloadManager::getDownloadedSongs(v3); if ( (unsigned int)sub_100720070(DownloadedSongs) ) { v5 = 0; do { v6 = sub_1007200C0(DownloadedSongs, v5); v7 = MusicDownloadManager::sharedState(); MusicDownloadManager::deleteSong(v7, *(_DWORD *)(v6 + 316)); ++v5; } while ( v5 < (unsigned int)sub_100720070(DownloadedSongs) ); } v8 = MusicDownloadManager::sharedState(); MusicDownloadManager::clearUnusedSongs(v8); ((void (__fastcall *)(GJSongBrowser *, _QWORD))a1->exitLayer)(a1, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source