//
// EVP_PKEY_security_bits from 0xa19adc to 0xa19b10 (52 bytes)
//
// 9 xrefs:
// > ssl3_ctrl @ 0x9a41a0
// > ssl3_ctx_ctrl @ 0x9a4e20
// > tls_construct_server_key_exchange @ 0x9bedd8
// > ssl_get_auto_dh @ 0x9c97bc
// > ssl_security_cert @ 0x9c98d8
// > ssl_security_cert @ 0x9c997c
// > sub_A589E0 @ 0xa591d4
// > X509_verify_cert @ 0xa59d74
// > ??> @ 0x749ac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:07:51 +0000
//
int __fastcall EVP_PKEY_security_bits(int a1)
{
int v1; // r3
int (*v2)(void); // r3
if ( !a1 )
return 0;
v1 = *(_DWORD *)(a1 + 12);
if ( v1 && (v2 = *(int (**)(void))(v1 + 56)) != nullptr )
return v2();
else
return -2;
}