//
// NCONF_load_fp from 0xd818f4 to 0xd81974 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xaf908
//
// 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 NCONF_load_fp(__int64 a1, __int64 a2)
{
_QWORD *v3; // x19
unsigned int bio; // w20
v3 = (_QWORD *)BIO_new_fp(a2, 0);
if ( v3 )
{
bio = NCONF_load_bio(a1);
BIO_free(v3);
return bio;
}
else
{
ERR_put_error(14, 114, 7, "crypto/conf/conf_lib.c", 225);
return 0;
}
}