//
// SSL_set_accept_state from 0x79a194 to 0x79a1d8 (68 bytes)
//
// 6 xrefs:
// > sub_785EB0 @ 0x786508
// > sub_785EB0 @ 0x786590
// > BIO_new_ssl @ 0x7865f0
// > SSL_accept @ 0x79a1f8
// > SSL_dup @ 0x79b060
// > ??> @ 0x59f2c
//
// 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_set_accept_state(_DWORD *a1)
{
a1[7] = 1;
a1[10] = 0;
ossl_statem_clear();
a1[6] = *(_DWORD *)(a1[1] + 24);
ssl_clear_cipher_ctx(a1);
ssl_clear_hash_ctx(a1 + 45);
return ssl_clear_hash_ctx(a1 + 49);
}