//
// tls1_new from 0xd5567c to 0xd556b4 (56 bytes)
//
// 13 xrefs:
// > ??> @ 0x932d0
// > ??> @ 0x121f1c0
// > ??> @ 0x121f2a0
// > ??> @ 0x121f380
// > ??> @ 0x121f460
// > ??> @ 0x121f540
// > ??> @ 0x121f620
// > ??> @ 0x121f700
// > ??> @ 0x121f7e0
// > ??> @ 0x121f8c0
// > ??> @ 0x121f9a0
// > ??> @ 0x121fa80
// > ??> @ 0x121fb60
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall tls1_new(__int64 a1)
{
__int64 result; // x0
result = ssl3_new(a1);
if ( (_DWORD)result )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 + 8) + 24LL))(a1);
return 1;
}
return result;
}