//
// BN_GF2m_mod_inv_arr from 0x8ca790 to 0x8ca800 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x6ba7c
//
// 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(int a1, int **a2, int *a3, int ***a4)
{
int **v8; // r5
_BOOL4 v9; // r5
BN_CTX_start((int)a4);
v8 = BN_CTX_get(a4);
v9 = v8 && BN_GF2m_arr2poly(a3, v8) && BN_GF2m_mod_inv(a1, a2, (int)v8, (int)a4);
BN_CTX_end(a4);
return v9;
}