//
// CreateGuidelinesLayer::doClearGuidelines from 0x10050db10 to 0x10050db85 (117 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall CreateGuidelinesLayer::doClearGuidelines(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rdi
__int64 v4; // rax
std::string __str; // [rsp+0h] [rbp-20h] BYREF
result = (*(__int64 (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 704) + 928LL))(
*(_QWORD *)(a1 + 704),
"Guidelines cleared");
v3 = *(_QWORD *)(a1 + 672);
if ( v3 )
{
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 24LL))(v3);
*(_WORD *)&__str.__r_.__value_.__l.0 = 0;
std::string::operator=((std::string *)(v4 + 392), &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672));
*(_BYTE *)(result + 416) = 1;
}
return result;
}