//
// SSL_connect from 0x79a248 to 0x79a278 (48 bytes)
//
// 2 xrefs:
// > sub_641F78 @ 0x641fa8
// > ??> @ 0x54b9c
//
// 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 SSL_connect(_DWORD *a1)
{
_DWORD *v1; // r4
v1 = a1;
if ( !a1[6] )
{
SSL_set_connect_state(a1);
a1 = v1;
}
return SSL_do_handshake((int)a1);
}