//
// EVP_PKEY_get0_hmac from 0xdac444 to 0xdac4a0 (92 bytes)
//
// 2 xrefs:
// > ??> @ 0x8a3d8
// > ??> @ 0xe53034
//
// 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
//
__int64 __fastcall EVP_PKEY_get0_hmac(_DWORD *a1, _QWORD *a2)
{
int *v2; // x0
__int64 v3; // x2
__int64 result; // x0
if ( *a1 == 855 )
{
v2 = (int *)EVP_PKEY_get0((__int64)a1);
v3 = *v2;
result = *((_QWORD *)v2 + 1);
*a2 = v3;
}
else
{
ERR_put_error(6, 183, 174, (__int64)"crypto/evp/p_lib.c", 244);
return 0;
}
return result;
}