//
// EC_POINT_is_at_infinity from 0x101026c to 0x10102f0 (132 bytes)
//
// 26 xrefs:
// > ec_key_simple_check_key @ 0x100e3a0
// > ec_key_simple_check_key @ 0x100e4d8
// > sub_1014EA4 @ 0x1014ebc
// > ec_GFp_simple_point2oct @ 0x1016d90
// > ec_GFp_simple_point_get_affine_coordinates @ 0x1017c2c
// > ec_GFp_simple_dbl @ 0x1017f2c
// > ec_GFp_simple_cmp @ 0x101865c
// > ec_GFp_simple_cmp @ 0x101866c
// > ec_GFp_simple_cmp @ 0x1018778
// > ec_GFp_simple_add @ 0x1018910
// > ec_GFp_simple_add @ 0x1018920
// > ec_GFp_simple_invert @ 0x1018e5c
// > ec_GFp_simple_is_on_curve @ 0x1018ec0
// > ec_GFp_simple_make_affine @ 0x1019178
// > ec_GF2m_simple_point2oct @ 0x10b0c4c
// > ec_GF2m_simple_point_get_affine_coordinates @ 0x10b1a44
// > ec_GF2m_simple_cmp @ 0x10b1b80
// > ec_GF2m_simple_cmp @ 0x10b1b90
// > ec_GF2m_simple_cmp @ 0x10b1c74
// > ec_GF2m_simple_make_affine @ 0x10b1d5c
// > ec_GF2m_simple_is_on_curve @ 0x10b1e50
// > ec_GF2m_simple_add @ 0x10b1fcc
// > ec_GF2m_simple_add @ 0x10b2010
// > ec_GF2m_simple_invert @ 0x10b23b4
// > sub_10FAC48 @ 0x10faca8
// > ??> @ 0x87f70
//
// 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:02 +0000
//
__int64 __fastcall EC_POINT_is_at_infinity(__int64 a1, _QWORD *a2)
{
__int64 (*v2)(void); // x19
v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 200LL);
if ( v2 )
{
if ( *(_QWORD *)a1 == *a2 )
{
return v2();
}
else
{
ERR_put_error(16, 118, 101, "crypto/ec/ec_lib.c", 826);
return 0;
}
}
else
{
ERR_put_error(16, 118, 66, "crypto/ec/ec_lib.c", 822);
return 0;
}
}