//
// CustomSFXWidget::FLAlert_Clicked from 0x6a6d08 to 0x6a6d4c (68 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CustomSFXWidget::FLAlert_Clicked @ 0x6a6d54
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:56:31 +0000
//
GameManager *__fastcall CustomSFXWidget::FLAlert_Clicked(CustomSFXWidget *this, FLAlertLayer *a2, int a3)
{
GameManager *result; // r0
GameManager *v6; // r0
result = (GameManager *)(*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( result == (GameManager *)((char *)&dword_0 + 1) )
{
if ( a3 )
{
v6 = (GameManager *)GameManager::sharedState((GameManager *)((char *)&dword_0 + 1));
GameManager::setGameVariable(v6, "0016", (_BYTE *)&dword_0 + 1);
return CustomSFXWidget::onDownload(this, nullptr);
}
}
else if ( result == (GameManager *)((char *)&dword_0 + 3) )
{
if ( a3 )
return CustomSFXWidget::deleteSFX(this);
}
return result;
}