//
// sub_A1F764 from 0xa1f764 to 0xa1f7b8 (84 bytes)
//
// 3 xrefs:
// > OPENSSL_init_crypto @ 0xa1fb18
// > OPENSSL_init_crypto @ 0xa1fb20
// > ??> @ 0xa1ff40
//
// 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:55 +0000
//
int sub_A1F764()
{
int v0; // r0
int result; // r0
CRYPTO_THREAD_init_local(&unk_D35708, sub_A1F7C8);
v0 = sub_394100(OPENSSL_cleanup);
result = CRYPTO_THREAD_lock_new(v0);
dword_D3570C = result;
if ( result )
{
OPENSSL_cpuid_setup();
result = 1;
dword_D35710 = 1;
}
dword_D35714 = result;
return result;
}