//
// EC_POINT_is_at_infinity from 0x9ffca0 to 0x9ffd20 (128 bytes)
//
// 26 xrefs:
// > ec_key_simple_check_key @ 0x9fdc64
// > ec_key_simple_check_key @ 0x9fddb0
// > sub_A04EF0 @ 0xa04f04
// > ec_GFp_simple_point2oct @ 0xa072f4
// > ec_GFp_simple_point_get_affine_coordinates @ 0xa08194
// > ec_GFp_simple_dbl @ 0xa084b4
// > ec_GFp_simple_cmp @ 0xa08c44
// > ec_GFp_simple_cmp @ 0xa08c58
// > ec_GFp_simple_cmp @ 0xa08d64
// > ec_GFp_simple_add @ 0xa08f1c
// > ec_GFp_simple_add @ 0xa08f38
// > ec_GFp_simple_invert @ 0xa094c0
// > ec_GFp_simple_is_on_curve @ 0xa0950c
// > ec_GFp_simple_make_affine @ 0xa09804
// > ec_GF2m_simple_point2oct @ 0xa9dd24
// > ec_GF2m_simple_point_get_affine_coordinates @ 0xa9ea80
// > ec_GF2m_simple_cmp @ 0xa9eb90
// > ec_GF2m_simple_cmp @ 0xa9eba4
// > ec_GF2m_simple_cmp @ 0xa9ec74
// > ec_GF2m_simple_make_affine @ 0xa9ed38
// > ec_GF2m_simple_is_on_curve @ 0xa9ee24
// > ec_GF2m_simple_add @ 0xa9ef9c
// > ec_GF2m_simple_add @ 0xa9efd0
// > ec_GF2m_simple_invert @ 0xa9f3c4
// > sub_AE6010 @ 0xae6068
// > ??> @ 0x7b1ac
//
// 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_is_at_infinity(int a1, _DWORD *a2)
{
int (*v2)(void); // r2
v2 = *(int (**)(void))(*(_DWORD *)a1 + 104);
if ( !v2 )
{
ERR_put_error(16, 118, 66, "crypto/ec/ec_lib.c", 822);
return 0;
}
if ( *(_DWORD *)a1 != *a2 )
{
ERR_put_error(16, 118, 101, "crypto/ec/ec_lib.c", 826);
return 0;
}
return v2();
}