//
// BN_clear_bit from 0x9e9e20 to 0x9e9e68 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x7974c
//
// 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:07:26 +0000
//
int __fastcall BN_clear_bit(_DWORD *a1, int a2)
{
if ( a2 < 0 || a2 >> 5 >= a1[1] )
return 0;
*(_DWORD *)(*a1 + 4 * (a2 >> 5)) &= ~(1 << (a2 & 0x1F));
bn_correct_top(a1);
return 1;
}