//
// sub_A0E308 from 0xa0e308 to 0xa0e338 (48 bytes)
//
// 21 xrefs:
// > ERR_load_ERR_strings @ 0xa0e38c
// > ERR_load_ERR_strings @ 0xa0e394
// > ??> @ 0xa0e694
// > ERR_unload_strings @ 0xa0e7f8
// > ERR_unload_strings @ 0xa0e804
// > ??> @ 0xa0e8bc
// > err_free_strings_int @ 0xa0e8d4
// > err_free_strings_int @ 0xa0e8dc
// > ??> @ 0xa0e924
// > ERR_lib_error_string @ 0xa0e930
// > ERR_lib_error_string @ 0xa0e940
// > ??> @ 0xa0e9c8
// > ERR_func_error_string @ 0xa0e9d4
// > ERR_func_error_string @ 0xa0e9e4
// > ??> @ 0xa0ea70
// > ERR_reason_error_string @ 0xa0ea7c
// > ERR_reason_error_string @ 0xa0ea8c
// > ??> @ 0xa0eb64
// > ERR_get_next_error_library @ 0xa1007c
// > ERR_get_next_error_library @ 0xa10084
// > ??> @ 0xa100dc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:45 +0000
//
int sub_A0E308()
{
int inited; // r0
int result; // r0
int v2; // r2
inited = OPENSSL_init_crypto(0);
result = CRYPTO_THREAD_lock_new(inited);
v2 = result;
if ( result )
v2 = 1;
dword_D3413C = result;
dword_D34140 = v2;
return result;
}