//
// SSL_set_connect_state from 0x9aee0c to 0x9aee4c (64 bytes)
//
// 9 xrefs:
// > sub_8539B8 @ 0x85428c
// > sub_854B34 @ 0x854b50
// > sub_854B34 @ 0x854b7e
// > sub_99AAB4 @ 0x99ad44
// > sub_99AAB4 @ 0x99b188
// > BIO_new_ssl @ 0x99b214
// > SSL_connect @ 0x9aee6c
// > SSL_dup @ 0x9afd4c
// > ??> @ 0x6824c
//
// 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:55 +0000
//
int __fastcall SSL_set_connect_state(_DWORD *a1)
{
a1[7] = 0;
a1[10] = 0;
ossl_statem_clear();
a1[6] = *(_DWORD *)(a1[1] + 28);
ssl_clear_cipher_ctx(a1);
ssl_clear_hash_ctx(a1 + 45);
return ssl_clear_hash_ctx(a1 + 49);
}