//
// EVP_PKEY_set1_EC_KEY from 0x102a960 to 0x102a99c (60 bytes)
//
// 3 xrefs:
// > sub_1009820 @ 0x1009e40
// > i2d_EC_PUBKEY @ 0x107084c
// > ??> @ 0x91f78
//
// 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
//
bool __fastcall EVP_PKEY_set1_EC_KEY(__int64 a1, __int64 a2)
{
_BOOL4 v3; // w19
v3 = EVP_PKEY_assign(a1, 0x198u, a2);
if ( v3 )
EC_KEY_up_ref(a2);
return v3;
}