//
// EVP_PKEY_save_parameters from 0x804f3c to 0x804f78 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x63aac
//
// 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_save_parameters(_DWORD *a1, int a2)
{
int v3; // r3
if ( *a1 != 116 && *a1 != 408 )
return 0;
v3 = a1[6];
if ( a2 < 0 )
return a1[6];
a1[6] = a2;
return v3;
}