//
// EVP_PKEY_get0_EC_KEY from 0x102a99c to 0x102a9e4 (72 bytes)
//
// 13 xrefs:
// > sub_FC2264 @ 0xfc236c
// > tls12_check_peer_sigalg @ 0xfd6330
// > tls1_check_chain @ 0xfd95cc
// > tls1_check_chain @ 0xfd97bc
// > sub_1009820 @ 0x10099e4
// > sub_1009820 @ 0x1009a18
// > EVP_PKEY_get1_EC_KEY @ 0x102a9f0
// > X509_chain_check_suiteb @ 0x1064f20
// > X509_chain_check_suiteb @ 0x1064fb4
// > X509_chain_check_suiteb @ 0x1064ffc
// > X509_chain_check_suiteb @ 0x1065094
// > X509_CRL_check_suiteb @ 0x1065218
// > ??> @ 0x105a48
//
// 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_get0_EC_KEY(__int64 a1)
{
if ( *(_DWORD *)a1 == 408 )
return *(_QWORD *)(a1 + 32);
ERR_put_error(6, 131, 142, (__int64)"crypto/evp/p_lib.c", 319);
return 0;
}