//
// PEM_X509_INFO_read from 0x8ba4f8 to 0x8ba584 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b25c
//
// 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(
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; // r4
v8 = BIO_s_file();
v9 = BIO_new((int)v8);
v10 = v9;
if ( v9 )
{
BIO_ctrl(v9, 106, 0, a1);
bio = PEM_X509_INFO_read_bio(v10, a2, a3, a4);
BIO_free(v10);
return bio;
}
else
{
ERR_put_error(9, 115, 7, (int)"crypto/pem/pem_info.c", 28);
return nullptr;
}
}