//
// ENGINE_get_digest from 0x101d18c to 0x101d200 (116 bytes)
//
// 2 xrefs:
// > EVP_DigestInit_ex @ 0x101fbc4
// > ??> @ 0x69b20
//
// 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:08 +0000
//
__int64 __fastcall ENGINE_get_digest(__int64 a1, unsigned int a2)
{
unsigned int (__fastcall *digests)(__int64, __int64 *, _QWORD, _QWORD); // x4
__int64 v6; // [xsp+28h] [xbp+28h] BYREF
digests = (unsigned int (__fastcall *)(__int64, __int64 *, _QWORD, _QWORD))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;
}