//
// SSL_set_accept_state from 0x9aed98 to 0x9aeddc (68 bytes)
//
// 6 xrefs:
// > sub_99AAB4 @ 0x99b10c
// > sub_99AAB4 @ 0x99b194
// > BIO_new_ssl @ 0x99b1f4
// > SSL_accept @ 0x9aedfc
// > SSL_dup @ 0x9afc64
// > ??> @ 0x739ac
//
// 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_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);
}