//
// DSA_security_bits from 0xd89a30 to 0xd89a88 (88 bytes)
//
// 2 xrefs:
// > sub_D888B8 @ 0xd888bc
// > ??> @ 0xc6090
//
// 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 DSA_security_bits(__int64 a1)
{
int v2; // w20
int v3; // w0
if ( !*(_QWORD *)(a1 + 16) || !*(_QWORD *)(a1 + 24) )
return 0xFFFFFFFFLL;
v2 = BN_num_bits(*(_QWORD *)(a1 + 16));
v3 = BN_num_bits(*(_QWORD *)(a1 + 24));
return BN_security_bits(v2, v3);
}