//
// sub_10A2708 from 0x10a2708 to 0x10a27b8 (176 bytes)
//
// 2 xrefs:
// > ??> @ 0x1552ba8
// > ??> @ 0x1552bf8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:17:32 +0000
//
__int64 __fastcall sub_10A2708(__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_10A1D38(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;
}
}