//
// EVP_PKEY_security_bits from 0xdabe28 to 0xdabe60 (56 bytes)
//
// 9 xrefs:
// > ssl3_ctrl @ 0xd38a84
// > ssl3_ctx_ctrl @ 0xd39188
// > tls_construct_server_key_exchange @ 0xd51c20
// > ssl_get_auto_dh @ 0xd5b984
// > ssl_security_cert @ 0xd5ba90
// > ssl_security_cert @ 0xd5bb40
// > sub_DEBD8C @ 0xdec234
// > X509_verify_cert @ 0xdecf30
// > ??> @ 0x70488
//
// 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 EVP_PKEY_security_bits(__int64 result)
{
__int64 v1; // x1
__int64 (*v2)(void); // x1
if ( result )
{
v1 = *(_QWORD *)(result + 16);
if ( v1 && (v2 = *(__int64 (**)(void))(v1 + 104)) != nullptr )
return v2();
else
return 4294967294LL;
}
return result;
}