//
// BN_BLINDING_invert_ex from 0x86b914 to 0x86b994 (128 bytes)
//
// 4 xrefs:
// > sub_82E968 @ 0x82eb44
// > sub_82EE80 @ 0x82efd8
// > BN_BLINDING_invert @ 0x86b9a4
// > ??> @ 0x6644c
//
// 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
//
int __fastcall BN_BLINDING_invert_ex(int a1, int a2, int a3, int a4)
{
int v5; // r4
if ( a2 )
return BN_mod_mul(a1, a1, a2, *(_DWORD *)(a3 + 12), a4);
v5 = *(_DWORD *)(a3 + 4);
if ( v5 )
return BN_mod_mul(a1, a1, v5, *(_DWORD *)(a3 + 12), a4);
ERR_put_error(3, 101, 107, (int)"crypto/bn/bn_blind.c", 174);
return 0;
}