//
// BN_mod_sub from 0xe19810 to 0xe19860 (80 bytes)
//
// 4 xrefs:
// > ossl_ecdsa_sign_setup @ 0xd949ec
// > ossl_ecdsa_sign_sig @ 0xd9527c
// > SRP_Calc_client_key @ 0xddeba8
// > ??> @ 0x92940
//
// 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
//
__int64 __fastcall BN_mod_sub(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int32x2_t *a5)
{
__int64 result; // x0
result = BN_sub(a1, a2, a3);
if ( (_DWORD)result )
return BN_nnmod(a1, a1, a4, a5);
return result;
}