//
// sub_E24408 from 0xe24408 to 0xe244b8 (176 bytes)
//
// 2 xrefs:
// > ??> @ 0x12398c8
// > ??> @ 0x1239918
//
// 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 sub_E24408(__int64 a1, const char *a2, __int64 *a3)
{
__int64 v4; // x0
_QWORD *v5; // x19
unsigned int v6; // w20
v4 = BIO_new_file(a2, "rb");
v5 = (_QWORD *)v4;
if ( v4 )
{
v6 = sub_E23A38(a1, v4, a3);
BIO_free(v5);
return v6;
}
else
{
if ( (ERR_peek_last_error() & 0xFFF) == 0x80 )
ERR_put_error(14, 120, 114, (__int64)"crypto/conf/conf_def.c", 144);
else
ERR_put_error(14, 120, 2, (__int64)"crypto/conf/conf_def.c", 146);
return 0;
}
}