//
// EVP_PKEY_verify from 0x102b338 to 0x102b3b4 (124 bytes)
//
// 4 xrefs:
// > EVP_DigestVerifyFinal @ 0x1029d58
// > EVP_VerifyFinal @ 0x102b098
// > CMS_SignerInfo_verify_content @ 0x10a06fc
// > ??> @ 0x1021c0
//
// 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:17 +0000
//
__int64 __fastcall EVP_PKEY_verify(_DWORD *a1)
{
__int64 (*v1)(void); // x6
if ( a1 && *(_QWORD *)a1 && (v1 = *(__int64 (**)(void))(*(_QWORD *)a1 + 88LL)) != nullptr )
{
if ( a1[8] == 16 )
{
return v1();
}
else
{
ERR_put_error(6, 142, 151, (__int64)"crypto/evp/pmeth_fn.c", 94);
return 0xFFFFFFFFLL;
}
}
else
{
ERR_put_error(6, 142, 150, (__int64)"crypto/evp/pmeth_fn.c", 90);
return 4294967294LL;
}
}