//
// PEM_read_DHparams from 0xdc9454 to 0xdc94f4 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x3ac98
//
// 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
//
__int64 __fastcall PEM_read_DHparams(
__int64 a1,
__int64 *a2,
unsigned int (__fastcall *a3)(char *, __int64, _QWORD, char *),
char *a4)
{
void *v8; // x0
__int64 v9; // x0
_QWORD *v10; // x19
__int64 bio_DHparams; // x20
v8 = BIO_s_file();
v9 = BIO_new((__int64)v8);
v10 = (_QWORD *)v9;
if ( v9 )
{
BIO_ctrl(v9, 0x6Au, 0, a1);
bio_DHparams = PEM_read_bio_DHparams((__int64)v10, a2, a3, a4);
BIO_free(v10);
return bio_DHparams;
}
else
{
ERR_put_error(9, 142, 7, (__int64)"crypto/pem/pem_pkey.c", 233);
return 0;
}
}