//
// sub_10AA2B0 from 0x10aa2b0 to 0x10aa34c (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x14103a8
//
// 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:17:38 +0000
//
_QWORD *__fastcall sub_10AA2B0(__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;
}