//
// CreateGuidelinesLayer::doClearGuidelines from 0x10007d35c to 0x10007d3f4 (152 bytes)
//
// 2 xrefs:
// > CreateGuidelinesLayer::FLAlert_Clicked @ 0x10007dd4c
// > sub_10007DD50 @ 0x10007dd98
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall CreateGuidelinesLayer::doClearGuidelines(CreateGuidelinesLayer *a1)
{
CustomSongDelegate *m_delegate; // x0
__int64 v3; // x20
std::string __str; // [xsp+8h] [xbp-28h] BYREF
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_infoLabel->setString)(
a1->m_infoLabel,
"Guidelines cleared");
m_delegate = a1->m_delegate;
if ( m_delegate )
{
v3 = ((__int64 (__fastcall *)(CustomSongDelegate *))m_delegate->getLevelSettings)(m_delegate);
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_);
*(_BYTE *)(((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_delegate->getLevelSettings)(a1->m_delegate) + 416) = 1;
}
}