//
// EVP_PKEY_save_parameters from 0xdabe98 to 0xdabed4 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x4ca28
//
// 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 EVP_PKEY_save_parameters(int *a1, int a2)
{
int v3; // w0
bool v4; // zf
__int64 result; // x0
unsigned int v6; // w2
v3 = *a1;
if ( v3 == 116 || (v4 = v3 == 408, result = 0, v4) )
{
v6 = a1[10];
if ( (a2 & 0x80000000) == 0 )
a1[10] = a2;
return v6;
}
return result;
}