//
// sub_87FEF0 from 0x87fef0 to 0x87ff58 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0xa3a1a0
// > ??> @ 0xa3a20c
//
// 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_87FEF0(_DWORD *a1)
{
_DWORD *v2; // r0
v2 = CRYPTO_zalloc(&dword_38, (int)"crypto/dh/dh_pmeth.c", 51);
if ( !v2 )
return 0;
*v2 = 1024;
v2[3] = -1;
v2[1] = 2;
*((_BYTE *)v2 + 32) = 1;
a1[8] = v2 + 6;
a1[9] = 2;
a1[5] = v2;
return 1;
}