//
// BN_BLINDING_is_current_thread from 0xa805a8 to 0xa805c0 (24 bytes)
//
// 3 xrefs:
// > sub_A43568 @ 0xa4386c
// > sub_A43A80 @ 0xa43c90
// > ??> @ 0x7feec
//
// 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
//
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));
}