//
// X509_pubkey_digest from 0x84880c to 0x848854 (72 bytes)
//
// 4 xrefs:
// > sub_81F7E0 @ 0x81f8d8
// > OCSP_basic_verify @ 0x81f98c
// > OCSP_basic_verify @ 0x81fd88
// > ??> @ 0x64d5c
//
// 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
//
bool __fastcall X509_pubkey_digest(int a1, int a2, int a3, _DWORD *a4)
{
int *v7; // r0
v7 = (int *)X509_get0_pubkey_bitstr(a1);
return v7 && EVP_Digest(v7[2], *v7, a3, a4, a2, nullptr);
}