//
// sub_881C4C from 0x881c4c to 0x881cdc (144 bytes)
//
// 1 xrefs:
// > ??> @ 0xa3a290
//
// 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 sub_881C4C(int a1, _DWORD *a2)
{
_DWORD *v4; // r2
if ( *(_DWORD *)(a1 + 8) )
{
v4 = DSA_new();
if ( v4 && (EVP_PKEY_assign(a2, 116, (int)v4), EVP_PKEY_copy_parameters(a2, *(int **)(a1 + 8))) )
return DSA_generate_key(a2[5]);
else
return 0;
}
else
{
ERR_put_error(10, 121, 107, (int)"crypto/dsa/dsa_pmeth.c", 229);
return 0;
}
}