# MISC::CLEAR_BIT

- **Hash:** `0x7D1D4A3602B6AD4E`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `ClearBit`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/CLEAR_BIT

## Signature

```c
void CLEAR_BIT(int* address, int offset);
```

## Parameters

- `address` (`int*`)
- `offset` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
local address = ClearBit(offset)

-- always available, by hash
local address = Citizen.InvokeNative(0x7D1D4A3602B6AD4E, Citizen.PointerValueInt(), offset)
```

### JavaScript

```js
const address = ClearBit(offset);

// by hash
const address = Citizen.invokeNative('0x7D1D4A3602B6AD4E', Citizen.pointerValueInt(), offset);
```

### C#

```csharp
var address = new OutputArgument();
Function.Call((Hash)0x7D1D4A3602B6AD4E, address, offset);
// address.GetResult<int>()
```

- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.

*Sources: alloc8or RDR3 NativeDB.*
