//
// tls1_new from 0x7ae024 to 0x7ae050 (44 bytes)
//
// 13 xrefs:
// > ??> @ 0x5a20c
// > ??> @ 0xab0e98
// > ??> @ 0xab0f0c
// > ??> @ 0xab0f80
// > ??> @ 0xab0ff4
// > ??> @ 0xab1068
// > ??> @ 0xab10dc
// > ??> @ 0xab1150
// > ??> @ 0xab11c4
// > ??> @ 0xab1238
// > ??> @ 0xab12ac
// > ??> @ 0xab1320
// > ??> @ 0xab1394
//
// 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
//
int __fastcall tls1_new(int a1)
{
int result; // r0
result = ssl3_new(a1);
if ( result )
{
(*(void (__fastcall **)(int))(*(_DWORD *)(a1 + 4) + 16))(a1);
return 1;
}
return result;
}