//
// EVP_PKEY_size from 0xdabe60 to 0xdabe98 (56 bytes)
//
// 24 xrefs:
// > tls_process_key_exchange @ 0xd4bbec
// > tls_construct_server_key_exchange @ 0xd52050
// > tls_process_cert_verify @ 0xd5376c
// > EVP_SignFinal @ 0xdacb48
// > EVP_PKEY_sign @ 0xdace84
// > EVP_PKEY_verify_recover @ 0xdad130
// > EVP_PKEY_encrypt @ 0xdad2d0
// > EVP_PKEY_decrypt @ 0xdad470
// > EVP_PKEY_derive @ 0xdad7d4
// > PKCS7_dataFinal @ 0xdcd9f8
// > sub_DD2808 @ 0xdd2970
// > sub_DD694C @ 0xdd6a24
// > sub_DD6A54 @ 0xdd6b80
// > sub_DD6C48 @ 0xdd6db0
// > sub_DD6C48 @ 0xdd6ddc
// > sub_DD6E04 @ 0xdd6f34
// > sub_DD6E04 @ 0xdd6fd4
// > sub_DD6E04 @ 0xdd7044
// > sub_DD7090 @ 0xdd7198
// > ASN1_sign @ 0xe0bdf8
// > ASN1_item_sign_ctx @ 0xe0c1bc
// > cms_SignedData_final @ 0xe21b54
// > cms_SignedData_final @ 0xe21cec
// > ??> @ 0x84b28
//
// 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_size(__int64 a1)
{
__int64 v1; // x1
LODWORD(v1) = a1;
if ( a1 && (v1 = *(_QWORD *)(a1 + 16)) != 0 && (v1 = *(_QWORD *)(v1 + 88)) != 0 )
return ((__int64 (*)(void))v1)();
else
return (unsigned int)v1;
}