//
// CreateGuidelinesLayer::doClearGuidelines from 0x3f8f5c to 0x3f8fda (126 bytes)
//
// 1 xrefs:
// > CreateGuidelinesLayer::FLAlert_Clicked @ 0x3f9002
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:19 +0000
//
_BYTE *__fastcall CreateGuidelinesLayer::doClearGuidelines(CreateGuidelinesLayer *this)
{
_BYTE *result; // r0
int v3; // r0
int v4; // r7
int v5[3]; // [sp+0h] [bp-14h] BYREF
(*(void (__fastcall **)(_DWORD, const char *))(**((_DWORD **)this + 135) + 464))(
*((_DWORD *)this + 135),
"Guidelines cleared");
result = *((_BYTE **)this + 131);
if ( result )
{
v3 = (*(int (__fastcall **)(_BYTE *))(*(_DWORD *)result + 12))(result);
memset(v5, 0, sizeof(v5));
v4 = v3;
std::string::__init(v5, &unk_B6B226, 0);
std::string::operator=((unsigned __int8 *)(v4 + 324), (unsigned __int8 *)v5);
std::string::~string((int)v5);
result = (_BYTE *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 131) + 12))(*((_DWORD *)this + 131));
result[336] = 1;
}
return result;
}