//
// MusicDownloadManager::deleteSong from 0x4598d8 to 0x459918 (64 bytes)
//
// 4 xrefs:
// > GJSongBrowser::FLAlert_Clicked @ 0x308046
// > CustomSongCell::onDelete @ 0x32f4c8
// > CustomSongWidget::deleteSong @ 0x3dfabe
// > MusicDownloadManager::limitDownloadedSongs @ 0x459a52
//
// 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 MusicDownloadManager::deleteSong(MusicDownloadManager *a1, int a2)
{
char *filename[3]; // [sp+0h] [bp-Ch] BYREF
filename[0] = (char *)a1;
filename[1] = (char *)a2;
MusicDownloadManager::pathForSong((MusicDownloadManager *)filename, a1, a2);
remove(filename[0]);
sub_774008(filename);
}