# Config

### Config Options

{% stepper %}
{% step %}

### Global Logic:&#x20;

{% code overflow="wrap" fullWidth="false" %}

```lua
AutoLoad-Config
--[[
When you save config it doesnt really auto load unless you turn this toggle.
]]
```

{% endcode %}

{% code overflow="wrap" %}

```lua
Detect-Large-FuncSource
--[[
If a script (source) contains many functions, loading them all at once may cause a crash. 
Enabling this option will load functions in chunks (500 every 0.2 seconds) to reduce the risk.
]]
```

{% endcode %}
{% endstep %}

{% step %}

### Grab-Function Settings:&#x20;

{% code title="Default:" overflow="wrap" %}

```lua
--[[
By default, it uses a single `getgc` loop to search until your desired function is found.
]]
```

{% endcode %}

<pre class="language-lua" data-title="Use filtergc:" data-overflow="wrap" data-full-width="false"><code class="lang-lua">--[[
Using `filtergc` is significantly faster than `getgc`, as it's an optimized and improved version of it.
<strong>]]
</strong></code></pre>

{% code title="Env Table dumping:" overflow="wrap" %}

```lua
--[[
Attempts to dump the environment table of the selected script, which contains the majority of its relevant information.
]]
```

{% endcode %}

{% code title="Constants Dumping:" overflow="wrap" %}

```lua
--[[
Extracts all constant values from a function (e.g., strings, numbers, booleans). 
Useful for identifying hardcoded values or locating specific logic within a function.
]]
```

{% endcode %}

{% code title="Upvalue-Dumping:" overflow="wrap" %}

```lua
--[[
Retrieves all upvalues (external variables referenced by the function). 
Helpful for understanding a function’s context or modifying its behavior.
]]
```

{% endcode %}

{% code title="Function Key-Dumping:" overflow="wrap" %}

```lua
--[[
Collects all key-value pairs where the function is used as a value (e.g., in tables). 
This can reveal how the function is stored, accessed, or called within the script.
]]
```

{% endcode %}
{% endstep %}

{% step %}

### Function-Finding(Sub setting for Grab-Function)

{% code title="\[Function-Find By]: Upvalue" overflow="wrap" %}

```lua
--[[
Uses the dumped upvalue table (if available) to locate the function, 
based on the selected grab method (`filtergc` or `getgc()`).
]]
```

{% endcode %}

{% code title="\[Function-Find By]: Constant" overflow="wrap" %}

```lua
--[[
Finds the target function by matching a specific constant value within it 
(e.g., a unique string or number hardcoded in the function).
]]
```

{% endcode %}

{% code title="\[Function-Find By]: Both" overflow="wrap" %}

```lua
--[[
Finds the target function by matching both a constant and an upvalue. 
This method increases accuracy by verifying two characteristics of the function.
]]
```

{% endcode %}
{% endstep %}
{% endstepper %}
