//
// SetupSmartTemplateLayer::FLAlert_Clicked from 0x1000710a0 to 0x1000710fc (92 bytes)
//
// 2 xrefs:
// > sub_1000710FC @ 0x100071100
// > ??> @ 0x100778c58
//
// 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 SetupSmartTemplateLayer::FLAlert_Clicked(SetupSmartTemplateLayer *a1, FLAlertLayer *a2, bool a3)
{
_BOOL4 v3; // w20
GameLevelManager *v6; // x0
v3 = a3;
if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 5 && v3 )
{
v6 = GameLevelManager::sharedState();
GameLevelManager::deleteSmartTemplate(v6, a1->m_smartTemplate);
SetupSmartTemplateLayer::onBack(a1, nullptr);
}
}