//
// sub_102FF50 from 0x102ff50 to 0x102ffb0 (96 bytes)
//
// 2 xrefs:
// > OPENSSL_init_crypto @ 0x1030320
// > OPENSSL_init_crypto @ 0x1030328
//
// 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:16:20 +0000
//
__int64 sub_102FF50()
{
__int64 v0; // x0
__int64 result; // x0
CRYPTO_THREAD_init_local(&unk_1567EAC, sub_102FFB0);
v0 = sub_63F964(OPENSSL_cleanup);
result = CRYPTO_THREAD_lock_new(v0);
qword_1567EB0 = result;
if ( result )
{
OPENSSL_cpuid_setup();
dword_1567EB8 = 1;
result = 1;
}
dword_1567EBC = result;
return result;
}