//
// BN_BLINDING_set_current_thread from 0xa805c0 to 0xa805d4 (20 bytes)
//
// 3 xrefs:
// > RSA_setup_blinding @ 0xa420dc
// > BN_BLINDING_new @ 0xa80620
// > ??> @ 0x7fd2c
//
// 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:08:49 +0000
//
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;
}