//
// EC_KEY_METHOD_new from 0x7e9e70 to 0x7e9ed8 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x618dc
//
// 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
//
_DWORD *__fastcall EC_KEY_METHOD_new(_DWORD *a1)
{
_DWORD *result; // r0
int v3; // r1
int v4; // r2
int v5; // r3
int v6; // r1
int v7; // r2
int v8; // r3
int v9; // r1
int v10; // r2
int v11; // r3
int v12; // r1
int v13; // r2
result = (_DWORD *)CRYPTO_zalloc(60, "crypto/ec/ec_kmeth.c", 157);
if ( result )
{
if ( a1 )
{
v3 = a1[1];
v4 = a1[2];
v5 = a1[3];
*result = *a1;
result[1] = v3;
result[2] = v4;
result[3] = v5;
v6 = a1[5];
v7 = a1[6];
v8 = a1[7];
result[4] = a1[4];
result[5] = v6;
result[6] = v7;
result[7] = v8;
v9 = a1[9];
v10 = a1[10];
v11 = a1[11];
result[8] = a1[8];
result[9] = v9;
result[10] = v10;
result[11] = v11;
v12 = a1[13];
v13 = a1[14];
result[12] = a1[12];
result[13] = v12;
result[14] = v13;
}
result[1] |= 1u;
}
return result;
}