Advanced low level functions

Function

Description

EEex_AddressList

Returns an array of pattern database entries

EEex_AllocCodePage

Allocate additional code pages when needed

EEex_CalcLabelOffset

Calculate the offset to a label

EEex_CalcWriteLength

Calculate the write length

EEex_Call

Calls an internal function at the given address

EEex_ClearCStringList

Clears a CStringList

EEex_ConstructCString

Constructs and returns CString from a Lua string

EEex_CopyCString

Copies the given CString and returns its pointer

EEex_CopyCStringList

Copies a CStringList

EEex_DecodeAssembly

Decodes assembly

EEex_DefineAssemblyLabel

Adds an array entry for a text label and an address

EEex_DefineAssemblyMacro

EEex_DisableCodeProtection

Reset RWX of memory address range

EEex_DllCall

Call a windows dll function

EEex_DumpDynamicCode

Dumps contents of dynamically allocated EEex code

EEex_DumpLuaStack

Display lua stack for debugging purposes

EEex_EnableCodeProtection

Set RWX of memory address range

EEex_Error

Throws a Lua error

EEex_ExposeToLua

Registers a function name and address with lua

EEex_Free

Free memory allocated with EEex_Malloc

EEex_FreeCPtrList

Frees memory allocated by the CPtrList pointer

EEex_FreeCString

Frees memory allocated by a CString pointer

EEex_FunctionLog

Logs a message to the console window

EEex_GetAllocGran

Get memory granularity for allocating memory

EEex_GetCurrentCInfinity

Returns the current CInfinity instance

EEex_GetEffectiveY

EEex_GetLuaRegistryIndex

Fetches a value held in the special lua registry

EEex_Init

Initialize EEex - called from loader

EEex_IterateCPtrList

Iterates through every element and calls func()

EEex_Label

Returns an address from the global labels array

EEex_Malloc

Allocate a block of memory and return a pointer

EEex_Memset

Fills a block of memory with a specific value

EEex_MessageBox

Show a message box to user

EEex_ReadByte

Read a BYTE value from a memory address

EEex_ReadDword

Read a DWORD value from a memory address

EEex_ReadDwordDebug

Read a DWORD value from a memory address

EEex_ReadLString

Reads a string from address until null or max size

EEex_ReadSignedWord

Read a signed WORD value from a memory address

EEex_ReadString

Reads a string from an address until null

EEex_ReadUserdata

EEex_ReadWord

Read an unsigned WORD value from an address

EEex_ReserveCodeMemory

Dynamically allocates and reserves memory for code

EEex_Reset

Executes the listeners in EEex_ResetListeners

EEex_ResolveMacro

EEex_ResolveMacroArg

EEex_SetLuaRegistryFunction

EEex_ToLightUserdata

EEex_VirtualAlloc

Allocate memory using the win32 VirtualAlloc api

EEex_WriteAssembly

Write raw assembly x86 opcodes to memory location

EEex_WriteAssemblyAuto

Writes assembly declarations into dynamic memory

EEex_WriteAssemblyFunction

Writes assembly into memory and exposes to lua

EEex_WriteByte

Write a BYTE value to a memory address

EEex_WriteDword

Write a DWORD value to a memory address

EEex_WriteLString

Writes a null padded string to the given address

EEex_WriteString

Writes a string to the specified address

EEex_WriteWord

Write a WORD value to a memory address