//
// sub_10DB958 from 0x10db958 to 0x10dba40 (232 bytes)
//
// 2 xrefs:
// > sub_10DBA40 @ 0x10dba7c
// > sub_10DBA40 @ 0x10dbab8
//
// 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:17:45 +0000
//
__int64 sub_10DB958()
{
_DWORD *v1; // x0
__int64 v2; // x21
__int64 v3; // x0
if ( qword_1568680 )
return qword_1568680;
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_10DBB48)
|| !(unsigned int)EVP_MD_meth_set_update(v2, (__int64)sub_10DBB24)
|| !(unsigned int)EVP_MD_meth_set_final(v2, (__int64)sub_10DBAFC) )
{
v3 = v2;
v2 = 0;
EVP_MD_meth_free(v3);
}
qword_1568680 = v2;
return v2;
}