//
// CreateGuidelinesLayer::FLAlert_Clicked from 0x10050d0c0 to 0x10050d154 (148 bytes)
//
// 3 xrefs:
// > sub_10050D170 @ 0x10050d17c
// > ??> @ 0x10095c140
// > ??> @ 0x10095c880
//
// 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::FLAlert_Clicked(CreateGuidelinesLayer *a1, FLAlertLayer *a2, bool a3)
{
CustomSongDelegate *m_delegate; // rdi
__int64 v5; // rax
std::string __str; // [rsp+8h] [rbp-28h] BYREF
if ( !(!a3 | (((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) != 1)) )
{
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_infoLabel->setString)(
a1->m_infoLabel,
"Guidelines cleared");
m_delegate = a1->m_delegate;
if ( m_delegate )
{
v5 = ((__int64 (__fastcall *)(CustomSongDelegate *))m_delegate->getLevelSettings)(m_delegate);
*(_WORD *)&__str.__r_.__value_.__l.0 = 0;
std::string::operator=((std::string *)(v5 + 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;
}
}
}