//
// EC_POINT_get_affine_coordinates_GF2m from 0x9ffa30 to 0x9ffabc (140 bytes)
//
// 12 xrefs:
// > EC_KEY_set_public_key_affine_coordinates @ 0x9fe188
// > ecdh_simple_compute_key @ 0xa022f4
// > ossl_ecdsa_sign_setup @ 0xa028ac
// > ossl_ecdsa_sign_sig @ 0xa030f4
// > ossl_ecdsa_verify_sig @ 0xa03afc
// > ec_GF2m_simple_point2oct @ 0xa9de0c
// > ec_GF2m_simple_cmp @ 0xa9ec1c
// > ec_GF2m_simple_cmp @ 0xa9ec9c
// > ec_GF2m_simple_make_affine @ 0xa9ed88
// > ec_GF2m_simple_add @ 0xa9f074
// > ec_GF2m_simple_add @ 0xa9f338
// > ??> @ 0x7b21c
//
// 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_get_affine_coordinates_GF2m(int a1, _DWORD *a2)
{
if ( !*(_DWORD *)(*(_DWORD *)a1 + 76) )
{
ERR_put_error(16, 183, 66, "crypto/ec/ec_lib.c", 764);
return 0;
}
if ( *(_DWORD *)a1 != *a2 )
{
ERR_put_error(16, 183, 101, "crypto/ec/ec_lib.c", 769);
return 0;
}
return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 76))(a1);
}