//
// CustomSongWidget::FLAlert_Clicked from 0x748290 to 0x748324 (148 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomSongWidget::FLAlert_Clicked @ 0x748328
// > ??> @ 0x781e0
// > ??> @ 0x1161950
//
// 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 CustomSongWidget::FLAlert_Clicked(CustomSongWidget *a1, FLAlertLayer *a2, bool a3)
{
_BOOL4 v4; // w20
int v5; // w0
bool v6; // w19
GameManager *v7; // x0
v4 = a3;
v5 = a2->getTag(a2);
v6 = v5;
if ( v5 == 1 )
{
if ( v4 )
{
v7 = GameManager::sharedState();
GameManager::setGameVariable(v7, "0016", v6);
CustomSongWidget::onDownload(a1, nullptr);
}
}
else if ( v5 == 2 && v4 )
{
CustomSongWidget::deleteSong(a1);
}
}