//
// EVP_PKEY_set1_EC_KEY from 0x805678 to 0x8056a4 (44 bytes)
//
// 3 xrefs:
// > sub_7E3D80 @ 0x7e4538
// > i2d_EC_PUBKEY @ 0x84ab38
// > ??> @ 0x6113c
//
// 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_set1_EC_KEY(_DWORD *a1, int a2)
{
int v3; // r5
v3 = EVP_PKEY_assign(a1, 408, a2);
if ( v3 )
EC_KEY_up_ref(a2);
return v3;
}