//
// tls1_new from 0xfd39d0 to 0xfd3a08 (56 bytes)
//
// 13 xrefs:
// > ??> @ 0xc2860
// > ??> @ 0x1536f48
// > ??> @ 0x1537028
// > ??> @ 0x1537108
// > ??> @ 0x15371e8
// > ??> @ 0x15372c8
// > ??> @ 0x15373a8
// > ??> @ 0x1537488
// > ??> @ 0x1537568
// > ??> @ 0x1537648
// > ??> @ 0x1537728
// > ??> @ 0x1537808
// > ??> @ 0x15378e8
//
// 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 13:15:31 +0000
//
__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;
}