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