//
// sub_879C94 from 0x879c94 to 0x879d48 (180 bytes)
//
// 2 xrefs:
// > ??> @ 0xac12bc
// > ??> @ 0xac12e4
//
// 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 sub_879C94(int a1, const char *a2, int *a3)
{
_DWORD *v5; // r0
_DWORD *v6; // r5
int v7; // r4
v5 = BIO_new_file(a2, "rb");
v6 = v5;
if ( v5 )
{
v7 = sub_8791C0(a1, v5, a3);
BIO_free(v6);
return v7;
}
else
{
if ( ERR_peek_last_error() << 20 == 0x8000000 )
ERR_put_error(14, 120, 114, (int)"crypto/conf/conf_def.c", 144);
else
ERR_put_error(14, 120, 2, (int)"crypto/conf/conf_def.c", 146);
return 0;
}
}