//
// PEM_read_DHparams from 0xa38724 to 0xa387b0 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x7ef3c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:08 +0000
//
int __fastcall PEM_read_DHparams(
int a1,
int *a2,
int (__fastcall *a3)(char *, int, _DWORD, const char *),
const char *a4)
{
void *v8; // r0
_DWORD *v9; // r0
_DWORD *v10; // r5
int bio_DHparams; // r4
v8 = BIO_s_file();
v9 = BIO_new((int)v8);
v10 = v9;
if ( v9 )
{
BIO_ctrl(v9, 106, 0, a1);
bio_DHparams = PEM_read_bio_DHparams(v10, a2, a3, a4);
BIO_free(v10);
return bio_DHparams;
}
else
{
ERR_put_error(9, 142, 7, (int)"crypto/pem/pem_pkey.c", 233);
return 0;
}
}