//
// ssl_clear_hash_ctx from 0x799ea0 to 0x799ec4 (36 bytes)
//
// 10 xrefs:
// > SSL_free @ 0x799fc8
// > SSL_free @ 0x799fd4
// > ssl_replace_hash @ 0x79a13c
// > SSL_set_accept_state @ 0x79a1c8
// > SSL_set_accept_state @ 0x79a1d4
// > SSL_set_connect_state @ 0x79a238
// > SSL_set_connect_state @ 0x79a244
// > SSL_clear @ 0x79a2f0
// > SSL_clear @ 0x79a2f8
// > ??> @ 0x5c40c
//
// 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_clear_hash_ctx(int *a1)
{
int result; // r0
result = *a1;
if ( result )
result = EVP_MD_CTX_free(result);
*a1 = 0;
return result;
}