//
// EVP_PKEY_save_parameters from 0xa19b3c to 0xa19b78 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x7d52c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:51 +0000
//
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;
}