//
// ssl3_new from 0x78e0d4 to 0x78e12c (88 bytes)
//
// 3 xrefs:
// > tls1_new @ 0x7ae02c
// > dtls1_new @ 0x7b5f74
// > ??> @ 0x5ac6c
//
// 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 ssl3_new(int a1)
{
int v2; // r0
v2 = CRYPTO_zalloc(868, "ssl/s3_lib.c", 2799);
if ( !v2 )
return 0;
*(_DWORD *)(a1 + 104) = v2;
if ( !SSL_SRP_CTX_init(a1) )
return 0;
(*(void (__fastcall **)(int))(*(_DWORD *)(a1 + 4) + 16))(a1);
return 1;
}