# MISC::_0x6BED40493A1AFDB8

- **Hash:** `0x6BED40493A1AFDB8`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `N_0x6bed40493a1afdb8`
- **Side:** client (game native)
- **Name status:** unknown (hash only)
- **Documentation:** undocumented
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/0x6BED40493A1AFDB8

## Signature

```c
void _0x6BED40493A1AFDB8(Any* p0, float p1);
```

## Parameters

- `p0` (`Any*`)
- `p1` (`float`)

## Returns

`void`

## Usage

### Lua

```lua
local p0 = N_0x6bed40493a1afdb8(p1)

-- always available, by hash
local p0 = Citizen.InvokeNative(0x6BED40493A1AFDB8, Citizen.PointerValueInt(), p1)
```

### JavaScript

```js
const p0 = N_0x6bed40493a1afdb8(p1);

// by hash
const p0 = Citizen.invokeNative('0x6BED40493A1AFDB8', Citizen.pointerValueInt(), p1 + 0.0000001);
```

### C#

```csharp
var p0 = new OutputArgument();
Function.Call((Hash)0x6BED40493A1AFDB8, p0, p1);
// p0.GetResult<int>()
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.
- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
- `Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.
- This native has no known name, so the runtime exposes it only as `N_0x6bed40493a1afdb8` (if present in the client snapshot). `InvokeNative` with the hash always works.

*Sources: alloc8or RDR3 NativeDB.*
