//
// CustomSFXWidget::FLAlert_Clicked from 0xa32634 to 0xa326c8 (148 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CustomSFXWidget::FLAlert_Clicked @ 0xa326cc
// > ??> @ 0x32bb0
// > ??> @ 0x11dafd8
//
// 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 CustomSFXWidget::FLAlert_Clicked(CustomSFXWidget *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);
CustomSFXWidget::onDownload(a1, nullptr);
}
}
else if ( v5 == 3 && v4 )
{
CustomSFXWidget::deleteSFX(a1);
}
}