//
// KeybindingsSettingsPopup::FLAlert_Clicked from 0x10091e8e0 to 0x10091e9b3 (211 bytes)
//
// 2 xrefs:
// > sub_10091E9D0 @ 0x10091e9dc
// > ??> @ 0x100bc0b10
//
// This function is hookable on this platform (idp: pc, 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 12:38:15 +0000
//
void __fastcall KeybindingsSettingsPopup::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)
{
int v3; // eax
int v4; // r14d
__int64 v6; // rax
_QWORD *v7; // rax
__int64 v8; // rdi
std::string v9; // [rsp+0h] [rbp-30h] BYREF
v3 = *(_DWORD *)(a1 + 704);
v9 = *(std::string *)(a1 + 712);
*(_OWORD *)(a1 + 712) = 0;
*(_QWORD *)(a1 + 728) = 0;
v4 = *(_DWORD *)(a1 + 736);
*(_DWORD *)(a1 + 704) = 0;
*(_DWORD *)(a1 + 736) = 0;
if ( !a3 )
goto LABEL_9;
if ( v3 == 2 )
{
v7 = (_QWORD *)GJKeybindManager::sharedState();
sub_100619C90(v7, &v9, v4);
}
else
{
if ( v3 != 1 )
goto LABEL_9;
v6 = GJKeybindManager::sharedState();
GJKeybindManager::loadDefaults(v6);
}
v8 = *(_QWORD *)(a1 + 672);
if ( v8 )
sub_100495650(v8);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);
LABEL_9:
if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v9.__r_.__value_.__l.__data_);
}