//
// sub_10094A0B0 from 0x10094a0b0 to 0x10094a1c8 (280 bytes)
//
// 1 xrefs:
// > ThreadOptionsPopup::init @ 0x100949b36
//
// 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:35 +0000
//
__int64 __fastcall sub_10094A0B0(__int64 a1)
{
__int64 v1; // rax
const char *v2; // rdx
const char *v3; // r12
size_t v4; // r15
const char *v5; // rcx
char *v6; // rbx
int v8; // [rsp+0h] [rbp-50h]
int v9; // [rsp+8h] [rbp-48h]
__int128 v10; // [rsp+10h] [rbp-40h] BYREF
void *__p; // [rsp+20h] [rbp-30h]
v1 = *(_QWORD *)(a1 + 1032);
v2 = "Lock Conversation";
if ( *(_BYTE *)(v1 + 272) )
v2 = "Unlock Conversation";
v8 = (int)v2;
v3 = "Lock this conversation?\nEveryone keeps reading, nobody can send or add.";
if ( *(_BYTE *)(v1 + 272) )
v3 = "Unlock this conversation?";
v4 = 79;
if ( *(_BYTE *)(v1 + 272) )
v4 = 25;
v5 = "Lock";
if ( *(_BYTE *)(v1 + 272) )
v5 = "Unlock";
v9 = (int)v5;
__p = operator new((v4 | 7) + 1);
*(_QWORD *)&v10 = (v4 | 7) + 2;
*((_QWORD *)&v10 + 1) = v4;
memcpy(__p, v3, v4);
*((_BYTE *)__p + v4) = 0;
v6 = FLAlertLayer::create((int)a1 + 1024, v8, &v10, (int)"Back", v9, 0, 380.0, 0.0, 1.0);
if ( (v10 & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v6 + 72LL))(v6, 11);
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v6 + 1312LL))(v6);
}