//
// EVP_PKEY_verify from 0x805ffc to 0x806098 (156 bytes)
//
// 4 xrefs:
// > EVP_DigestVerifyFinal @ 0x804b30
// > EVP_VerifyFinal @ 0x805d5c
// > CMS_SignerInfo_verify_content @ 0x877ac8
// > ??> @ 0x639dc
//
// 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
//
int __fastcall EVP_PKEY_verify(_DWORD *a1)
{
int (*v1)(void); // r12
if ( a1 && *a1 && (v1 = *(int (**)(void))(*a1 + 48)) != nullptr )
{
if ( a1[4] == 16 )
{
return v1();
}
else
{
ERR_put_error(6, 142, 151, (int)"crypto/evp/pmeth_fn.c", 94);
return -1;
}
}
else
{
ERR_put_error(6, 142, 150, (int)"crypto/evp/pmeth_fn.c", 90);
return -2;
}
}