//
// EC_POINT_cmp from 0x7eb39c to 0x7eb42c (144 bytes)
//
// 6 xrefs:
// > sub_7E4958 @ 0x7e49b0
// > ec_key_simple_check_key @ 0x7e92ac
// > EC_GROUP_cmp @ 0x7eb604
// > ec_wNAF_mul @ 0x7ec0ec
// > sub_7F0594 @ 0x7f07a4
// > ??> @ 0x611ac
//
// 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 EC_POINT_cmp(int *a1, _DWORD *a2, _DWORD *a3)
{
int v3; // r12
v3 = *a1;
if ( *(_DWORD *)(*a1 + 112) )
{
if ( v3 == *a2 && v3 == *a3 )
return (*(int (__fastcall **)(int *))(*a1 + 112))(a1);
ERR_put_error(16, 113, 101, "crypto/ec/ec_lib.c", 861);
}
else
{
ERR_put_error(16, 113, 66, "crypto/ec/ec_lib.c", 857);
}
return -1;
}