//
// EVP_PKEY_cmp_parameters from 0x102a264 to 0x102a2a8 (68 bytes)
//
// 3 xrefs:
// > EVP_PKEY_copy_parameters @ 0x102a608
// > EVP_PKEY_derive_set_peer @ 0x102b9bc
// > ??> @ 0x5aa00
//
// 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:16 +0000
//
__int64 __fastcall EVP_PKEY_cmp_parameters(__int64 a1, _DWORD *a2)
{
__int64 v2; // x2
__int64 (*v3)(void); // x2
if ( *(_DWORD *)a1 != *a2 )
return 0xFFFFFFFFLL;
v2 = *(_QWORD *)(a1 + 16);
if ( v2 && (v3 = *(__int64 (**)(void))(v2 + 144)) != nullptr )
return v3();
else
return 4294967294LL;
}