# Read S32

### Signature

```csharp
s32 readS32(u64 address)
```

### Description

Reads a 32-bit signed integer from a given memory address and returns it.

### Arguments

#### Address

The memory address where the integer will be read from.

### Alternative Syntax

The syntax `local value = memory.s32[address]` can be used as a alternative.

### Unsafe Version

An unsafe version is also available that skips safety checks in favor of improved performance. This should only be used when memory validity is guaranteed.

Unsafe functions are marked with a `u` suffix, such as `readS32u`, or can be used with the alternative syntax: `local value = memory.s32u[address]`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xeavin.gitbook.io/ff12-lua-loader/memory-save/functions/read-s32.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
