//
// CRYPTO_THREAD_set_local from 0x838ee4 to 0x838efc (24 bytes)
//
// 10 xrefs:
// > sub_7CAC1C @ 0x7caca4
// > sub_7CAC1C @ 0x7cacbc
// > ASYNC_init_thread @ 0x7caedc
// > ASYNC_start_job @ 0x7cb2dc
// > ERR_get_state @ 0x7fa234
// > err_delete_thread_state @ 0x7fac90
// > OPENSSL_cleanup @ 0x80ac6c
// > OPENSSL_thread_stop @ 0x80ade0
// > ossl_init_thread_start @ 0x80aec4
// > ??> @ 0x5f21c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall CRYPTO_THREAD_set_local(pthread_key_t *a1, const void *a2)
{
return pthread_setspecific(*a1, a2) == 0;
}