//
// BN_mod_lshift from 0xe19b6c to 0xe19c08 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x6faf8
//
// 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_lshift(unsigned __int64 *a1, __int64 a2, int a3, __int64 a4, int32x2_t *a5)
{
__int64 *v8; // x3
__int64 v9; // x21
unsigned int v10; // w19
unsigned __int64 *v12; // x0
if ( (unsigned int)BN_nnmod((__int64)a1, a2, a4, a5) )
{
if ( !*(_DWORD *)(a4 + 16) )
{
v8 = (__int64 *)a4;
v9 = 0;
LABEL_4:
v10 = BN_mod_lshift_quick(a1, (__int64)a1, a3, v8);
BN_free(v9);
return v10;
}
v12 = BN_dup(a4);
v9 = (__int64)v12;
if ( v12 )
{
*((_DWORD *)v12 + 4) = 0;
v8 = (__int64 *)v12;
goto LABEL_4;
}
}
return 0;
}