//
// BN_mod_inverse from 0xa8464c to 0xa8469c (80 bytes)
//
// 13 xrefs:
// > BN_MONT_CTX_set @ 0x9ea468
// > sub_9F715C @ 0x9f72dc
// > sub_9F74B8 @ 0x9f77d8
// > sub_9F7978 @ 0x9f7b3c
// > ossl_ecdsa_sign_setup @ 0xa02a90
// > ossl_ecdsa_sign_sig @ 0xa03438
// > ossl_ecdsa_verify_sig @ 0xa037e8
// > ec_GFp_simple_point_get_affine_coordinates @ 0xa08298
// > ec_GFp_simple_points_make_affine @ 0xa09b28
// > RSA_setup_blinding @ 0xa422e4
// > RSA_generate_key_ex @ 0xad4d9c
// > RSA_generate_key_ex @ 0xad4e6c
// > ??> @ 0x7983c
//
// 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:08:51 +0000
//
int __fastcall BN_mod_inverse(int a1, int a2, int *a3, int ***a4)
{
int v4; // r4
int v6; // [sp+Ch] [bp-4h] BYREF
v4 = int_bn_mod_inverse(a1, a2, a3, a4, &v6);
if ( v6 )
ERR_put_error(3, 110, 108, (int)"crypto/bn/bn_gcd.c", 131);
return v4;
}