//
// SSL_set_accept_state from 0xfc0fc0 to 0xfc100c (76 bytes)
//
// 6 xrefs:
// > sub_FADD3C @ 0xfae19c
// > sub_FADD3C @ 0xfae210
// > BIO_new_ssl @ 0xfae26c
// > SSL_accept @ 0xfc1034
// > SSL_dup @ 0xfc1dd8
// > ??> @ 0xf9fa0
//
// 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_accept_state(__int64 a1)
{
*(_DWORD *)(a1 + 56) = 1;
*(_DWORD *)(a1 + 68) = 0;
ossl_statem_clear();
*(_QWORD *)(a1 + 48) = *(_QWORD *)(*(_QWORD *)(a1 + 8) + 40LL);
ssl_clear_cipher_ctx((_QWORD *)a1);
ssl_clear_hash_ctx((__int64 *)(a1 + 288));
return ssl_clear_hash_ctx((__int64 *)(a1 + 320));
}