> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/memory/get-proc.md).

# Get Proc

Returns the address of an exported function, or nil.

## **Syntax**

```lua
refresh.Memory.GetProc(moduleName, procName) -> Integer
```

## **Return**

{% hint style="success" %}
Integer or nil
{% endhint %}

## Usage Example

```lua
local addr = refresh.Memory.GetProc("kernel32.dll", "GetTickCount64")
```
