//
// CreateGuidelinesLayer::FLAlert_Clicked from 0x10050e6f0 to 0x10050e784 (148 bytes)
//
// 3 xrefs:
// > sub_10050E7A0 @ 0x10050e7ac
// > ??> @ 0x100b68b00
// > ??> @ 0x100b692c8
//
// This function is hookable on this platform (idp: pc, 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 12:31:35 +0000
//
char __fastcall CreateGuidelinesLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 v4; // rax
__int64 v5; // rdi
__int64 v6; // rax
std::string __str; // [rsp+8h] [rbp-28h] BYREF
LOBYTE(v4) = a3 ^ 1 | ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 1);
if ( !(_BYTE)v4 )
{
LOBYTE(v4) = (*(__int64 (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 704) + 928LL))(
*(_QWORD *)(a1 + 704),
"Guidelines cleared");
v5 = *(_QWORD *)(a1 + 672);
if ( v5 )
{
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 24LL))(v5);
*(_WORD *)&__str.__r_.__value_.__l.0 = 0;
std::string::operator=((std::string *)(v6 + 392), &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672));
*(_BYTE *)(v4 + 416) = 1;
}
}
return v4;
}