//
// SetupSmartTemplateLayer::FLAlert_Clicked from 0x100079838 to 0x100079894 (92 bytes)
//
// 2 xrefs:
// > sub_100079894 @ 0x100079898
// > ??> @ 0x1008c5138
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 10:58:14 +0000
//
__int64 __fastcall SetupSmartTemplateLayer::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)
{
__int64 result; // x0
__int64 v7; // x0
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 5 && a3 != 0 )
{
v7 = GameLevelManager::sharedState(result);
sub_1000B0B1C(v7, *(_QWORD *)(a1 + 672));
return sub_100079570();
}
return result;
}