//
// sub_100085AB4 from 0x100085ab4 to 0x100085b4c (152 bytes)
//
// 2 xrefs:
// > CreateGuidelinesLayer::FLAlert_Clicked @ 0x1000864a4
// > sub_1000864A8 @ 0x1000864f0
//
// 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 10:58:18 +0000
//
_BYTE *__fastcall sub_100085AB4(__int64 a1)
{
_BYTE *result; // x0
__int64 v3; // x20
std::string __str; // [xsp+8h] [xbp-28h] BYREF
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 704) + 928LL))(
*(_QWORD *)(a1 + 704),
"Guidelines cleared");
result = *(_BYTE **)(a1 + 672);
if ( result )
{
v3 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)result + 24LL))(result);
sub_100009900(&__str, "");
std::string::operator=((std::string *)(v3 + 392), &__str);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
result = (_BYTE *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672));
result[416] = 1;
}
return result;
}