//
// SSL_connect from 0xd42d3c to 0xd42d78 (60 bytes)
//
// 2 xrefs:
// > sub_BB5160 @ 0xbb51b8
// > ??> @ 0xb1348
//
// 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 SSL_connect(__int64 a1)
{
if ( *(_QWORD *)(a1 + 48) )
return SSL_do_handshake(a1);
SSL_set_connect_state(a1);
return SSL_do_handshake(a1);
}