//
// ssl3_new from 0x9a2cd8 to 0x9a2d30 (88 bytes)
//
// 3 xrefs:
// > tls1_new @ 0x9c2c30
// > dtls1_new @ 0x9cab78
// > ??> @ 0x746ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:06:49 +0000
//
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;
}