//
// EVP_PKEY_save_parameters from 0x102a1f8 to 0x102a234 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b878
//
// 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
//
__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;
}