//
// X509_pubkey_digest from 0x106e65c to 0x106e6b0 (84 bytes)
//
// 4 xrefs:
// > sub_1043648 @ 0x1043754
// > OCSP_basic_verify @ 0x1043838
// > OCSP_basic_verify @ 0x1043c44
// > ??> @ 0xa7d28
//
// 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:16:59 +0000
//
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;
}