//
// ec_GF2m_simple_points_make_affine from 0x10b12d8 to 0x10b135c (132 bytes)
//
// 2 xrefs:
// > ??> @ 0xa8c28
// > ??> @ 0x153efa8
//
// 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:17:43 +0000
//
__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;
}