//
// EVP_PKEY_size from 0x804f10 to 0x804f3c (44 bytes)
//
// 24 xrefs:
// > tls_process_key_exchange @ 0x7a396c
// > tls_construct_server_key_exchange @ 0x7aa618
// > tls_process_cert_verify @ 0x7abf1c
// > EVP_SignFinal @ 0x805b80
// > EVP_PKEY_sign @ 0x805ea0
// > EVP_PKEY_verify_recover @ 0x806178
// > EVP_PKEY_encrypt @ 0x806324
// > EVP_PKEY_decrypt @ 0x8064d4
// > EVP_PKEY_derive @ 0x806880
// > PKCS7_dataFinal @ 0x828248
// > sub_82C184 @ 0x82c308
// > sub_83060C @ 0x8306dc
// > sub_830708 @ 0x830828
// > sub_8308E4 @ 0x830a44
// > sub_8308E4 @ 0x830a70
// > sub_830AA0 @ 0x830b88
// > sub_830AA0 @ 0x830c04
// > sub_830AA0 @ 0x830ce0
// > sub_830D3C @ 0x830e38
// > ASN1_sign @ 0x863af8
// > ASN1_item_sign_ctx @ 0x863ef8
// > cms_SignedData_final @ 0x87725c
// > cms_SignedData_final @ 0x8773e0
// > ??> @ 0x5d29c
//
// 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
//
int __fastcall EVP_PKEY_size(int a1)
{
int v1; // r3
int (*v2)(void); // r3
if ( a1 && (v1 = *(_DWORD *)(a1 + 12)) != 0 && (v2 = *(int (**)(void))(v1 + 48)) != nullptr )
return v2();
else
return 0;
}