Help File:7 ptDisassemblerRenderLine

From Cheat Engine
Revision as of 10:32, 30 July 2021 by LeFiXER (talk | contribs) (Created page with "==ptDisassemblerRenderLine== With this PluginType you get a callback each time a line is being rendered in the disassembler view. You then get the option to change the text...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ptDisassemblerRenderLine[edit]

With this PluginType you get a callback each time a line is being rendered in the disassembler view. You then get the option to change the text and color of what is being displayed.

Callback Definition

typedef void ( __stdcall *CEP_PLUGINTYPE7 )(ULONG address, char **addressStringPointer, char **bytestringpointer, char **opcodestringpointer, char **specialstringpointer, ULONG *textcolor);

Returns nothing.

Pointer to structure of init you have to pass

typedef struct _PLUGINTYPE7_INIT
{
  CEP_PLUGINTYPE7 callbackroutine; //Pointer to a callback routine of the type 7 plugin
} PLUGINTYPE7_INIT, DISASSEMBLERLINEPLUGIN_INIT, *PPLUGINTYPE7_INIT, *PDISASSEMBLERLINEPLUGIN_INIT;