//
// CreateGuidelinesLayer::doClearGuidelines from 0x6e9ab0 to 0x6e9bd0 (288 bytes)
//
// 2 xrefs:
// > CreateGuidelinesLayer::FLAlert_Clicked @ 0x6e9c18
// > ??> @ 0x931d8
//
// 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 12:51:45 +0000
//
__int64 __fastcall CreateGuidelinesLayer::doClearGuidelines(CreateGuidelinesLayer *this)
{
__int64 v2; // x0
__int64 v3; // x20
__int64 *v4; // x0
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
size_t v7; // [xsp+38h] [xbp+38h]
void *v8; // [xsp+40h] [xbp+40h]
(*(void (__fastcall **)(_QWORD, const char *))(**((_QWORD **)this + 88) + 928LL))(
*((_QWORD *)this + 88),
"Guidelines cleared");
v2 = *((_QWORD *)this + 84);
if ( v2 )
{
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 24LL))(v2);
v6 = 0;
v7 = 0;
v8 = nullptr;
std::string::__init(&v6, &byte_11B8890, 0);
v4 = (__int64 *)(v3 + 392);
if ( (__int64 *)(v3 + 392) != &v6 )
{
if ( (v6 & 1) != 0 )
std::string::assign(v4, v8, v7);
else
std::string::assign(v4, (char *)&v6 + 1, (unsigned __int8)v6 >> 1);
}
if ( (v6 & 1) != 0 )
operator delete(v8);
*(_BYTE *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 84) + 24LL))(*((_QWORD *)this + 84)) + 416) = 1;
}
return _stack_chk_guard;
}