//
// EVP_PKEY_bits from 0xdabdf0 to 0xdabe28 (56 bytes)
//
// 2 xrefs:
// > sub_DD2808 @ 0xdd2990
// > ??> @ 0x936c0
//
// 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_bits(__int64 a1)
{
__int64 v1; // x1
LODWORD(v1) = a1;
if ( a1 && (v1 = *(_QWORD *)(a1 + 16)) != 0 && (v1 = *(_QWORD *)(v1 + 96)) != 0 )
return ((__int64 (*)(void))v1)();
else
return (unsigned int)v1;
}