//
// EC_POINT_is_at_infinity from 0xd91f0c to 0xd91f90 (132 bytes)
//
// 26 xrefs:
// > ec_key_simple_check_key @ 0xd90040
// > ec_key_simple_check_key @ 0xd90178
// > sub_D96B44 @ 0xd96b5c
// > ec_GFp_simple_point2oct @ 0xd98a30
// > ec_GFp_simple_point_get_affine_coordinates @ 0xd998cc
// > ec_GFp_simple_dbl @ 0xd99bcc
// > ec_GFp_simple_cmp @ 0xd9a2fc
// > ec_GFp_simple_cmp @ 0xd9a30c
// > ec_GFp_simple_cmp @ 0xd9a418
// > ec_GFp_simple_add @ 0xd9a5b0
// > ec_GFp_simple_add @ 0xd9a5c0
// > ec_GFp_simple_invert @ 0xd9aafc
// > ec_GFp_simple_is_on_curve @ 0xd9ab60
// > ec_GFp_simple_make_affine @ 0xd9ae18
// > ec_GF2m_simple_point2oct @ 0xe3294c
// > ec_GF2m_simple_point_get_affine_coordinates @ 0xe33744
// > ec_GF2m_simple_cmp @ 0xe33880
// > ec_GF2m_simple_cmp @ 0xe33890
// > ec_GF2m_simple_cmp @ 0xe33974
// > ec_GF2m_simple_make_affine @ 0xe33a5c
// > ec_GF2m_simple_is_on_curve @ 0xe33b50
// > ec_GF2m_simple_add @ 0xe33ccc
// > ec_GF2m_simple_add @ 0xe33d10
// > ec_GF2m_simple_invert @ 0xe340b4
// > sub_E7CC48 @ 0xe7cca8
// > ??> @ 0x63f00
//
// 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
//
__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;
}
}