//
// ThreadMessageOptionsPopup::FLAlert_Clicked from 0x100502380 to 0x1005023e4 (100 bytes)
//
// 2 xrefs:
// > sub_1005023E4 @ 0x1005023e8
// > ??> @ 0x100996230
//
// 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 11:06:54 +0000
//
__int64 __fastcall ThreadMessageOptionsPopup::FLAlert_Clicked(__int64 result, __int64 a2, int a3)
{
_QWORD *v3; // x19
if ( a3 )
{
v3 = (_QWORD *)result;
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 12 )
{
sub_1005018F0(v3[129], *(_QWORD *)(v3[128] + 56LL));
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1368LL))(v3, 0);
}
}
return result;
}