//
// X509_pubkey_digest from 0xdf031c to 0xdf0370 (84 bytes)
//
// 4 xrefs:
// > sub_DC52E8 @ 0xdc53f4
// > OCSP_basic_verify @ 0xdc54d8
// > OCSP_basic_verify @ 0xdc58e4
// > ??> @ 0x7dd78
//
// 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 X509_pubkey_digest(__int64 a1, __int64 a2, __int64 a3, _DWORD *a4)
{
int *result; // x0
result = (int *)X509_get0_pubkey_bitstr(a1);
if ( result )
return (int *)EVP_Digest(*((_QWORD *)result + 1), *result, a3, a4, a2, 0);
return result;
}