//
// CONF_load from 0xd81800 to 0xd8187c (124 bytes)
//
// 1 xrefs:
// > ??> @ 0xa10b8
//
// 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 CONF_load(__int64 a1, const char *a2)
{
_QWORD *v3; // x19
__int64 bio; // x20
v3 = (_QWORD *)BIO_new_file(a2, "rb");
if ( v3 )
{
bio = CONF_load_bio(a1);
BIO_free(v3);
return bio;
}
else
{
ERR_put_error(14, 100, 2, "crypto/conf/conf_lib.c", 56);
return 0;
}
}