//
// BN_GF2m_mod_inv_arr from 0xe76c20 to 0xe76cc0 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x529f8
//
// 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
//
bool __fastcall BN_GF2m_mod_inv_arr(unsigned __int64 *a1, __int64 a2, int *a3, int32x2_t *a4)
{
__int64 v7; // x20
_BOOL4 v9; // w20
BN_CTX_start((unsigned __int64)a4);
v7 = BN_CTX_get(a4);
if ( v7 && (unsigned int)BN_GF2m_arr2poly(a3, v7) )
{
v9 = BN_GF2m_mod_inv(a1, a2, v7, a4);
BN_CTX_end((__int64)a4);
return v9;
}
else
{
BN_CTX_end((__int64)a4);
return 0;
}
}