//
// EVP_PKEY_bits from 0x102a150 to 0x102a188 (56 bytes)
//
// 2 xrefs:
// > sub_1050B68 @ 0x1050cf0
// > ??> @ 0xc2ce0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:16 +0000
//
__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;
}