//
// ENGINE_get_digest from 0xa0db0c to 0xa0db7c (112 bytes)
//
// 2 xrefs:
// > EVP_DigestInit_ex @ 0xa104b4
// > ??> @ 0x7c1ac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:44 +0000
//
int __fastcall ENGINE_get_digest(int a1, int a2)
{
int (__fastcall *digests)(int, int *, _DWORD, int); // r12
int v6; // [sp+Ch] [bp-8h] BYREF
digests = (int (__fastcall *)(int, int *, _DWORD, int))ENGINE_get_digests(a1);
if ( digests && digests(a1, &v6, 0, a2) )
return v6;
ERR_put_error(38, 186, 147, "crypto/engine/tb_digest.c", 74);
return 0;
}