//
// sub_E5D958 from 0xe5d958 to 0xe5da40 (232 bytes)
//
// 2 xrefs:
// > sub_E5DA40 @ 0xe5da7c
// > sub_E5DA40 @ 0xe5dab8
//
// 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
//
__int64 sub_E5D958()
{
_DWORD *v1; // x0
__int64 v2; // x21
__int64 v3; // x0
if ( qword_125F880 )
return qword_125F880;
v1 = EVP_MD_meth_new(64, 65);
v2 = (__int64)v1;
if ( !v1
|| !(unsigned int)EVP_MD_meth_set_result_size((__int64)v1, 20)
|| !(unsigned int)EVP_MD_meth_set_input_blocksize(v2, 64)
|| !(unsigned int)EVP_MD_meth_set_app_datasize(v2, 104)
|| !(unsigned int)EVP_MD_meth_set_flags(v2, 0)
|| !(unsigned int)EVP_MD_meth_set_init(v2, (__int64)sub_E5DB48)
|| !(unsigned int)EVP_MD_meth_set_update(v2, (__int64)sub_E5DB24)
|| !(unsigned int)EVP_MD_meth_set_final(v2, (__int64)sub_E5DAFC) )
{
v3 = v2;
v2 = 0;
EVP_MD_meth_free(v3);
}
qword_125F880 = v2;
return v2;
}