//
// EC_POINT_cmp from 0x9fff9c to 0xa0002c (144 bytes)
//
// 6 xrefs:
// > sub_9F9558 @ 0x9f95b0
// > ec_key_simple_check_key @ 0x9fdeac
// > EC_GROUP_cmp @ 0xa00204
// > ec_wNAF_mul @ 0xa00cec
// > sub_A05194 @ 0xa053a4
// > ??> @ 0x7ac2c
//
// 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:37 +0000
//
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;
}