//
// InfoAlertButton::activate from 0x10016b430 to 0x10016b4dc (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x10079f0f8
//
// 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 InfoAlertButton::activate(InfoAlertButton *a1)
{
std::string *p_m_title; // x19
std::string *p_m_description; // x1
__int64 v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
if ( a1->m_bEnabled )
{
p_m_title = &a1->m_title;
if ( a1->m_title.m_data.m_short.shortStorage.__elems_[22] < 0 )
p_m_title = (std::string *)p_m_title->m_data.m_long.capacitym1;
p_m_description = &a1->m_description;
if ( a1->m_description.m_data.m_short.shortStorage.__elems_[22] < 0 )
p_m_description = (std::string *)p_m_description->m_data.m_long.capacitym1;
sub_100009900(__p, (char *)p_m_description);
v4 = FLAlertLayer::create(0, p_m_title, __p, "OK", 0, a1->m_scroll, 430.0, 0.0, a1->m_textScale);
if ( v6 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1288LL))(v4);
}
}