//
// CRYPTO_THREAD_set_local from 0x105f17c to 0x105f19c (32 bytes)
//
// 10 xrefs:
// > sub_FEEFF8 @ 0xfef090
// > sub_FEEFF8 @ 0xfef0a8
// > ASYNC_init_thread @ 0xfef2f4
// > ASYNC_start_job @ 0xfef6b8
// > ERR_get_state @ 0x101e370
// > err_delete_thread_state @ 0x101edd8
// > OPENSSL_cleanup @ 0x1030074
// > OPENSSL_thread_stop @ 0x103019c
// > ossl_init_thread_start @ 0x1030284
// > ??> @ 0xdba30
//
// 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:50 +0000
//
bool __fastcall CRYPTO_THREAD_set_local(pthread_key_t *a1, const void *a2)
{
return pthread_setspecific(*a1, a2) == 0;
}