//
// sub_10093B540 from 0x10093b540 to 0x10093b665 (293 bytes)
//
// 1 xrefs:
// > sub_10093ADB0 @ 0x10093b321
//
// 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:28 +0000
//
__int64 __fastcall sub_10093B540(__int64 a1)
{
__int64 v2; // rdi
char *v3; // rbx
__int64 v5; // rax
_QWORD v6[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
v2 = *(_QWORD *)(a1 + 1032);
if ( *(_BYTE *)(a1 + 1064) == 1 )
{
sub_10093A6C0(v2, *(_QWORD *)(*(_QWORD *)(a1 + 1024) + 56LL));
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1368LL))(a1, 0);
}
if ( *(_BYTE *)(v2 + 791) != 1 )
{
v5 = sub_100966780(*(_QWORD *)(v2 + 752), *(_QWORD *)(a1 + 1024), a1 + 1040);
if ( v5 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1368LL))(a1, 0);
}
__p = operator new(0x30u);
v6[0] = 49;
v6[1] = 41;
strcpy((char *)__p, "Delete this message for everyone?");
v3 = FLAlertLayer::create_1((int)a1 + 1016, (int)"Delete Message", (__int64)v6, (int)"Cancel", (int)"Delete", 380.0);
if ( (v6[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 72LL))(v3, 12);
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v3 + 1312LL))(v3);
}