//
// BN_GF2m_mod_inv_arr from 0x10f4c20 to 0x10f4cc0 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x72ce8
//
// 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:18:09 +0000
//
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;
}
}