//
// EditorSoundsSettingsPopup::FLAlert_Clicked from 0xcd7c8c to 0xcd7ce8 (92 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorSoundsSettingsPopup::FLAlert_Clicked @ 0xcd7cec
// > ??> @ 0x1045d8
// > ??> @ 0x15010f0
//
// 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 13:06:31 +0000
//
unsigned __int8 *__fastcall EditorSoundsSettingsPopup::FLAlert_Clicked(
unsigned __int8 *this,
FLAlertLayer *a2,
unsigned __int8 a3)
{
unsigned int v3; // w1
unsigned __int8 *v4; // x19
EditorSFXManager *v5; // x0
FLAlertLayer *v6; // x0
v3 = *(this + 680);
*(this + 680) = 0;
if ( v3 > (a3 ^ 1u) )
{
v4 = this;
v5 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);
EditorSFXManager::clearAll(v5);
v6 = *((FLAlertLayer **)v4 + 84);
if ( v6 )
FLAlertLayer::requestRebuild(v6);
return (unsigned __int8 *)EditorSoundsSettingsPopup::onClose((EditorSoundsSettingsPopup *)v4, nullptr);
}
return this;
}