//
// ec_GF2m_simple_points_make_affine from 0xe32fd8 to 0xe3305c (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x7e9a8
// > ??> @ 0x1227220
//
// 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_GF2m_simple_points_make_affine(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v8; // x19
__int64 v9; // x1
__int64 result; // x0
v8 = 0;
if ( !a2 )
return 1;
while ( 1 )
{
v9 = *(_QWORD *)(a3 + 8 * v8++);
result = (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 224LL))(a1, v9, a4);
if ( !(_DWORD)result )
break;
if ( v8 == a2 )
return 1;
}
return result;
}