//
// BN_BLINDING_set_current_thread from 0x86b9c0 to 0x86b9d4 (20 bytes)
//
// 3 xrefs:
// > RSA_setup_blinding @ 0x82d4dc
// > BN_BLINDING_new @ 0x86ba20
// > ??> @ 0x662ac
//
// 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
//
pthread_t __fastcall BN_BLINDING_set_current_thread(int a1)
{
pthread_t result; // r0
result = CRYPTO_THREAD_get_current_id();
*(_DWORD *)(a1 + 16) = result;
return result;
}