//
// BN_clear_bit from 0xd7b4fc to 0xd7b57c (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xa48f8
//
// 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
//
__int64 __fastcall BN_clear_bit(__int64 a1, int a2)
{
if ( a2 < 0 )
return 0;
if ( a2 >> 6 >= *(_DWORD *)(a1 + 8) )
return 0;
*(_QWORD *)(*(_QWORD *)a1 + 8LL * (a2 >> 6)) &= ~(1LL << (a2 & 0x3F));
bn_correct_top(a1);
return 1;
}