//
// EVP_PKEY_cmp_parameters from 0x804f9c to 0x804fd8 (60 bytes)
//
// 3 xrefs:
// > EVP_PKEY_copy_parameters @ 0x80533c
// > EVP_PKEY_derive_set_peer @ 0x8066e8
// > ??> @ 0x63abc
//
// 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_cmp_parameters(_DWORD *a1, _DWORD *a2)
{
int v2; // r3
int (*v3)(void); // r3
if ( *a1 != *a2 )
return -1;
v2 = a1[3];
if ( v2 && (v3 = *(int (**)(void))(v2 + 76)) != nullptr )
return v3();
else
return -2;
}