//
// sub_E2BFB0 from 0xe2bfb0 to 0xe2c04c (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1132e18
//
// 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
//
_QWORD *__fastcall sub_E2BFB0(__int64 a1, __int64 a2)
{
_QWORD *result; // x0
int *v5; // x1
int v6; // w5
int v7; // w4
__int64 v8; // x3
result = CRYPTO_malloc(&qword_20, (__int64)"crypto/dsa/dsa_pmeth.c", 35);
if ( result )
{
result[1] = 0;
result[3] = 0;
*(_DWORD *)result = 1024;
*((_DWORD *)result + 1) = 160;
*(_QWORD *)(a1 + 40) = result;
*(_QWORD *)(a1 + 64) = result + 2;
v5 = *(int **)(a2 + 40);
*(_DWORD *)(a1 + 72) = 2;
v6 = *v5;
v7 = v5[1];
v8 = *((_QWORD *)v5 + 1);
result[3] = *((_QWORD *)v5 + 3);
*(_DWORD *)result = v6;
*((_DWORD *)result + 1) = v7;
result[1] = v8;
return (_QWORD *)(dword_0 + 1);
}
return result;
}