//
// BN_BLINDING_is_current_thread from 0x86b9a8 to 0x86b9c0 (24 bytes)
//
// 3 xrefs:
// > sub_82E968 @ 0x82ec6c
// > sub_82EE80 @ 0x82f090
// > ??> @ 0x6646c
//
// 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
//
int __fastcall BN_BLINDING_is_current_thread(int a1)
{
pthread_t current_id; // r0
current_id = CRYPTO_THREAD_get_current_id();
return CRYPTO_THREAD_compare_id(current_id, *(_DWORD *)(a1 + 16));
}