> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-manifesto/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-manifesto/vm-extension/new-call-targets/memory-write-int.md).

# Memory Write Int

### Signature

```c
void tim_memoryWriteShort(int address, int value); //id:0x1009
```

### Description

Writes an integer value to an address.

### Example

#### Set Vaan's License Points to 10000

```c
regI0 = 0; //vaan identifier
regI1 = tim_memoryExecute(0x00320A40, regI0, 0, 0, 0); //getBattleUnitKeep(...)
regI2 = 10000; //license points
tim_memoryWriteShort(regI1 + 0x0190, regI2); //0x0190: license points offset
```
