//
// sub_10A8498 from 0x10a8498 to 0x10a8510 (120 bytes)
//
// 2 xrefs:
// > ??> @ 0x1410200
// > ??> @ 0x14102d0
//
// 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:37 +0000
//
_DWORD *__fastcall sub_10A8498(__int64 a1)
{
_DWORD *result; // x0
result = CRYPTO_zalloc(off_50, (__int64)"crypto/dh/dh_pmeth.c", 51);
if ( result )
{
result[1] = 2;
*result = 1024;
result[3] = -1;
*((_BYTE *)result + 36) = 1;
*(_QWORD *)(a1 + 40) = result;
*(_DWORD *)(a1 + 72) = 2;
*(_QWORD *)(a1 + 64) = result + 7;
return dword_0 + 1;
}
return result;
}