//
// EVP_PKEY_cmp_parameters from 0xa19b9c to 0xa19bd8 (60 bytes)
//
// 3 xrefs:
// > EVP_PKEY_copy_parameters @ 0xa19f3c
// > EVP_PKEY_derive_set_peer @ 0xa1b2e8
// > ??> @ 0x7d53c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:51 +0000
//
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;
}