//
// CreateGuidelinesLayer::FLAlert_Clicked from 0x14009b590 to 0x14009b66d (221 bytes)
//
// 3 xrefs:
// > ??> @ 0x140542a20
// > ??> @ 0x140542a48
// > ??> @ 0x1406c74ac
//
// 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
//
// Hidden C++ exception states: #wind=2
void CreateGuidelinesLayer::FLAlert_Clicked(CreateGuidelinesLayer *a1, FLAlertLayer *a2, bool a3)
{
__int64 v5; // rcx
void **v6; // rcx
void **v7; // rdx
void *Src[2]; // [rsp+20h] [rbp-28h] BYREF
size_t Size; // [rsp+30h] [rbp-18h]
unsigned __int64 v10; // [rsp+38h] [rbp-10h]
if ( a2->getTag(a2) == 1 && a3 )
{
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)&a1->m_unknown2 + 360LL))(
*(_QWORD *)&a1->m_unknown2 + 360LL,
"Guidelines cleared");
v5 = *(_QWORD *)&a1->m_uID;
if ( v5 )
{
*(_OWORD *)Src = 0;
Size = 0;
v10 = 15;
LOBYTE(Src[0]) = 0;
v6 = (void **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 24LL))(v5) + 392);
if ( v6 != Src )
{
v7 = Src;
if ( v10 > 0xF )
v7 = (void **)Src[0];
sub_14003CCE0(v6, v7, Size);
}
sub_14003A830((__int64)Src);
*(_BYTE *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_uID + 24LL))(*(_QWORD *)&a1->m_uID) + 424) = 1;
}
}
}