//
// SRP_Verify_B_mod_N from 0xddec18 to 0xddecb4 (156 bytes)
//
// 3 xrefs:
// > srp_generate_client_master_secret @ 0xd5c958
// > SRP_Verify_A_mod_N @ 0xddecb4
// > ??> @ 0xa0500
//
// 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
//
bool __fastcall SRP_Verify_B_mod_N(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // x21
__int64 v6; // x0
__int64 v7; // x22
_BOOL4 v8; // w19
if ( !a1 )
return 0;
if ( !a2 )
return 0;
v5 = BN_CTX_new(a1, a2, a3);
if ( !v5 )
return 0;
v6 = BN_new();
v7 = v6;
v8 = v6 && (unsigned int)BN_nnmod(v6, a1, a2, v5) && !BN_is_zero(v7);
BN_CTX_free(v5);
BN_free(v7);
return v8;
}