//
// EVP_PKEY_bits from 0xa19ab0 to 0xa19adc (44 bytes)
//
// 2 xrefs:
// > sub_A40D84 @ 0xa40f28
// > ??> @ 0x7d51c
//
// 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_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;
}