//
// EVP_PKEY_bits from 0x804eb0 to 0x804edc (44 bytes)
//
// 2 xrefs:
// > sub_82C184 @ 0x82c328
// > ??> @ 0x63a9c
//
// 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_bits(int a1)
{
int v1; // r3
int (*v2)(void); // r3
if ( a1 && (v1 = *(_DWORD *)(a1 + 12)) != 0 && (v2 = *(int (**)(void))(v1 + 52)) != nullptr )
return v2();
else
return 0;
}