//
// CustomSFXWidget::FLAlert_Clicked from 0x1002f17f0 to 0x1002f186c (124 bytes)
//
// 2 xrefs:
// > sub_1002F186C @ 0x1002f1870
// > ??> @ 0x1007e79f8
//
// 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 CustomSFXWidget::FLAlert_Clicked(CustomSFXWidget *a1, FLAlertLayer *a2, bool a3)
{
_BOOL4 v3; // w20
int v5; // w0
GameManager *v7; // x0
cocos2d::CCObject *v8; // x1
v3 = a3;
v5 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2);
if ( v5 == 3 )
{
if ( v3 )
CustomSFXWidget::deleteSFX(a1);
}
else if ( v5 == 1 && v3 )
{
v7 = GameManager::sharedState();
GameManager::setGameVariable(v7, "0016", 1);
CustomSFXWidget::onDownload(a1, v8);
}
}