//
// EC_POINT_set_to_infinity from 0x9ff7c8 to 0x9ff848 (128 bytes)
//
// 10 xrefs:
// > ec_wNAF_mul @ 0xa00bf4
// > ec_wNAF_mul @ 0xa01640
// > sub_A05194 @ 0xa06058
// > ec_GFp_simple_oct2point @ 0xa0778c
// > ec_GF2m_simple_oct2point @ 0xa9e20c
// > ec_GF2m_simple_add @ 0xa9f388
// > sub_AE6010 @ 0xae6098
// > sub_AE6010 @ 0xae6660
// > ec_GF2m_simple_mul @ 0xae6a1c
// > ??> @ 0x7b51c
//
// 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_set_to_infinity(int a1, _DWORD *a2)
{
int (*v2)(void); // r2
v2 = *(int (**)(void))(*(_DWORD *)a1 + 60);
if ( !v2 )
{
ERR_put_error(16, 127, 66, "crypto/ec/ec_lib.c", 640);
return 0;
}
if ( *(_DWORD *)a1 != *a2 )
{
ERR_put_error(16, 127, 101, "crypto/ec/ec_lib.c", 644);
return 0;
}
return v2();
}