//
// SetupSmartTemplateLayer::FLAlert_Clicked from 0x674af2 to 0x674b20 (46 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupSmartTemplateLayer::FLAlert_Clicked @ 0x674b24
//
// 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:55:55 +0000
//
int __fastcall SetupSmartTemplateLayer::FLAlert_Clicked(GJSmartTemplate **this, FLAlertLayer *a2, int a3)
{
int result; // r0
int v6; // r0
result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 5 )
{
if ( a3 )
{
v6 = GameLevelManager::sharedState((GameLevelManager *)&byte_5);
GameLevelManager::deleteSmartTemplate(v6, *(this + 131));
return SetupSmartTemplateLayer::onBack((SetupSmartTemplateLayer *)this, nullptr);
}
}
return result;
}