//
// sub_D8C228 from 0xd8c228 to 0xd8c298 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1122ec8
//
// 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
//
__int64 __fastcall sub_D8C228(__int64 a1, __int64 a2, int a3)
{
__int64 v4; // x0
v4 = d2i_ECParameters(0, a2, a3);
if ( v4 )
{
EVP_PKEY_assign(a1, 408, v4);
return 1;
}
else
{
ERR_put_error(16, 212, 16, "crypto/ec/ec_ameth.c", 404);
return 0;
}
}