//
// PEM_X509_INFO_read from 0x10e28fc to 0x10e299c (160 bytes)
//
// 1 xrefs:
// > ??> @ 0xd0060
//
// 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:49 +0000
//
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;
}
}