//
// sub_881CE0 from 0x881ce0 to 0x881d64 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0xa3a27c
//
// 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_881CE0(_DWORD *a1, int a2)
{
_DWORD *v4; // r0
int *v5; // r2
int v6; // lr
int v7; // r12
int v8; // r1
int v9; // r2
v4 = CRYPTO_malloc(&dword_18, (int)"crypto/dsa/dsa_pmeth.c", 35);
if ( !v4 )
return 0;
*v4 = 1024;
v4[1] = 160;
v4[2] = 0;
v4[5] = 0;
a1[5] = v4;
v5 = *(int **)(a2 + 20);
v6 = *v5;
v7 = v5[1];
v8 = v5[2];
v9 = v5[5];
a1[9] = 2;
a1[8] = v4 + 3;
*v4 = v6;
v4[1] = v7;
v4[2] = v8;
v4[5] = v9;
return 1;
}