Lua:inModule
Jump to navigation
Jump to search
Returns true if the given address is inside a module.
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| address | Integer or CEAddressString | The address to check. |
Returns
boolean — True if the given address is inside a module, otherwise false.
Examples
local address = getAddress("KERNEL32.AddAtomA")
if inModule(address) then
print("The address is inside a module")
else
print("The address is not inside a module")
end