//
// EVP_PKEY_get_default_digest_nid from 0xdac9d4 to 0xdaca0c (56 bytes)
//
// 5 xrefs:
// > EVP_DigestSignInit @ 0xdab4a8
// > EVP_DigestVerifyInit @ 0xdab634
// > PKCS7_add_signature @ 0xdced90
// > CMS_add1_signer @ 0xe22d08
// > ??> @ 0x81660
//
// 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 __fastcall EVP_PKEY_get_default_digest_nid(__int64 a1, __int64 a2)
{
__int64 v2; // x2
__int64 (__fastcall *v3)(__int64, __int64, _QWORD, __int64); // x4
v2 = *(_QWORD *)(a1 + 16);
if ( v2 && (v3 = *(__int64 (__fastcall **)(__int64, __int64, _QWORD, __int64))(v2 + 176)) != nullptr )
return v3(a1, 3, 0, a2);
else
return 4294967294LL;
}