//
// PEM_X509_INFO_read from 0xe648fc to 0xe6499c (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x9e070
//
// 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 PEM_X509_INFO_read(
__int64 a1,
int *a2,
unsigned int (__fastcall *a3)(char *, __int64, _QWORD, char *),
char *a4)
{
void *v8; // x0
__int64 v9; // x0
_QWORD *v10; // x19
int *bio; // x20
v8 = BIO_s_file();
v9 = BIO_new((__int64)v8);
v10 = (_QWORD *)v9;
if ( v9 )
{
BIO_ctrl(v9, 0x6Au, 0, a1);
bio = PEM_X509_INFO_read_bio((__int64)v10, a2, a3, a4);
BIO_free(v10);
return bio;
}
else
{
ERR_put_error(9, 115, 7, (__int64)"crypto/pem/pem_info.c", 28);
return nullptr;
}
}