//
// CreateGuidelinesLayer::doClearGuidelines from 0x10050c4e0 to 0x10050c555 (117 bytes)
//
// 0 xrefs:
//
// 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; // rdi
__int64 v3; // rax
std::string __str; // [rsp+0h] [rbp-20h] 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);
*(_WORD *)&__str.__r_.__value_.__l.0 = 0;
std::string::operator=((std::string *)(v3 + 392), &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
*(_BYTE *)(((__int64 (__fastcall *)(CustomSongDelegate *))a1->m_delegate->getLevelSettings)(a1->m_delegate) + 416) = 1;
}
}