//
// SSL_set_connect_state from 0xfc1048 to 0xfc1090 (72 bytes)
//
// 9 xrefs:
// > sub_E2DA90 @ 0xe2e694
// > sub_E2F16C @ 0xe2f1a0
// > sub_E2F16C @ 0xe2f1dc
// > sub_FADD3C @ 0xfadfcc
// > sub_FADD3C @ 0xfae204
// > BIO_new_ssl @ 0xfae298
// > SSL_connect @ 0xfc10b8
// > SSL_dup @ 0xfc1eac
// > ??> @ 0xe8f60
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:21 +0000
//
__int64 __fastcall SSL_set_connect_state(__int64 a1)
{
*(_DWORD *)(a1 + 56) = 0;
*(_DWORD *)(a1 + 68) = 0;
ossl_statem_clear();
*(_QWORD *)(a1 + 48) = *(_QWORD *)(*(_QWORD *)(a1 + 8) + 48LL);
ssl_clear_cipher_ctx((_QWORD *)a1);
ssl_clear_hash_ctx((__int64 *)(a1 + 288));
return ssl_clear_hash_ctx((__int64 *)(a1 + 320));
}