<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Help_File%3AAssembler</id>
	<title>Help File:Assembler - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Help_File%3AAssembler"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Help_File:Assembler&amp;action=history"/>
	<updated>2026-05-20T13:35:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Help_File:Assembler&amp;diff=7097&amp;oldid=prev</id>
		<title>LeFiXER at 19:50, 29 July 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Help_File:Assembler&amp;diff=7097&amp;oldid=prev"/>
		<updated>2021-07-29T19:50:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:50, 29 July 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ''BOOL Assembler(ULONG address, char* instruction, BYTE *output, int maxlength, int *returnedsize);''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ''BOOL Assembler(ULONG address, char* instruction, BYTE *output, int maxlength, int *returnedsize);''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''address:''' The address the instruction is supposed to be written. Useful in cases of jumps and calls...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/ins&gt;'''address:'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''instruction:''' A pointer to a 0-terminated string that contains the assembler instruction you want to assemble.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;The address &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;where &lt;/ins&gt;the instruction is supposed to be written. Useful in cases of jumps and calls &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;etc&lt;/ins&gt;...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''output:''' A pointer to the buffer the assembled bytes will be placed in.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/ins&gt;'''instruction:'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''maxlength:''' Maximum size of the buffer receiving the assembled bytes.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;A pointer to a 0-terminated string that contains the assembler instruction you want to assemble.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''returnedsize:''' A pointer to the integer that gets how many bytes were used.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/ins&gt;'''output:'''  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;A pointer to the buffer the assembled bytes will be placed in.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/ins&gt;'''maxlength:'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;Maximum size of the buffer receiving the assembled bytes.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;;&lt;/ins&gt;'''returnedsize:'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;A pointer to the integer that gets how many bytes were used.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Returns ''TRUE'' if the instruction was valid and there was enough space. Doesn't return why it fails, so it is recommended to always give at least 32-bytes of space.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Returns ''TRUE'' if the instruction was valid and there was enough space. Doesn't return why it fails, so it is recommended to always give at least 32-bytes of space.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>LeFiXER</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Help_File:Assembler&amp;diff=7096&amp;oldid=prev</id>
		<title>LeFiXER: Created page with &quot;==Assembler==    This function allows you to pass a single assembler instruction along with the address of the location you want the script to execute. It will generate bytes...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Help_File:Assembler&amp;diff=7096&amp;oldid=prev"/>
		<updated>2021-07-29T18:46:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Assembler==    This function allows you to pass a single assembler instruction along with the address of the location you want the script to execute. It will generate bytes...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Assembler==&lt;br /&gt;
  &lt;br /&gt;
This function allows you to pass a single assembler instruction along with the address of the location you want the script to execute. It will generate bytes and place it in a buffer that has the size of the amount of generated bytes and return that buffer.&lt;br /&gt;
&lt;br /&gt;
'''Function Definition'''&lt;br /&gt;
 ''BOOL Assembler(ULONG address, char* instruction, BYTE *output, int maxlength, int *returnedsize);''&lt;br /&gt;
&lt;br /&gt;
'''address:''' The address the instruction is supposed to be written. Useful in cases of jumps and calls...&lt;br /&gt;
'''instruction:''' A pointer to a 0-terminated string that contains the assembler instruction you want to assemble.&lt;br /&gt;
'''output:''' A pointer to the buffer the assembled bytes will be placed in.&lt;br /&gt;
'''maxlength:''' Maximum size of the buffer receiving the assembled bytes.&lt;br /&gt;
'''returnedsize:''' A pointer to the integer that gets how many bytes were used.&lt;br /&gt;
&lt;br /&gt;
Returns ''TRUE'' if the instruction was valid and there was enough space. Doesn't return why it fails, so it is recommended to always give at least 32-bytes of space.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Help File:Plugin system|Plugin system]]&lt;br /&gt;
* [[Help File:GetVersion|GetVersion]]&lt;br /&gt;
* [[Help File:DisablePlugin|DisablePlugin]]&lt;br /&gt;
* [[Help File:InitializePlugin|InitializePlugin]]&lt;br /&gt;
* [[Help File:PluginVersion|PluginVersion]]&lt;br /&gt;
** [[Help File:ExportedFunctions|ExportedFunctions]]&lt;br /&gt;
** [[Help File:sizeofExportedFunctions|sizeofExportedFunctions]]&lt;br /&gt;
** [[Help File:ShowMessage|ShowMessage]]&lt;br /&gt;
** [[Help File:RegisterFunction|RegisterFunction]]&lt;br /&gt;
** [[Help File:UnregisterFunction|UnregisterFunction]]&lt;br /&gt;
** [[Help File:OpenedProcessID|OpenedProcessID]]&lt;br /&gt;
** [[Help File:OpenedProcessHandle|OpenedProcessHandle]]&lt;br /&gt;
** [[Help File:GetMainWindowHandle|GetMainWindowHandle]]&lt;br /&gt;
** [[Help File:AutoAssemble|AutoAssemble]]&lt;br /&gt;
** [[Help File:Assembler|Assembler]]&lt;br /&gt;
** [[Help File:Disassembler|Disassembler]]&lt;br /&gt;
** [[Help File:ChangeRegistersAtAddress|ChangeRegistersAtAddress]]&lt;br /&gt;
** [[Help File:InjectDLL|InjectDLL]]&lt;br /&gt;
** [[Help File:FreezeMem|FreezeMem]]&lt;br /&gt;
** [[Help File:UnfreezeMem|UnfreezeMem]]&lt;br /&gt;
** [[Help File:FixMem|FixMem]]&lt;br /&gt;
** [[Help File:ProcessList|ProcessList]]&lt;br /&gt;
** [[Help File:ReloadSettings|ReloadSettings]]&lt;br /&gt;
** [[Help File:GetAddressFromPointer|GetAddressFromPointer]]&lt;br /&gt;
** [[Help File:sym_nameToAddress|sym_nameToAddress]]&lt;br /&gt;
** [[Help File:sym_addressToName|sym_addressToName]]&lt;br /&gt;
** [[Help File:sym_generateAPIHookScript|sym_generateAPIHookScript]]&lt;br /&gt;
** [[Help File:loadDBK32|loadDBK32]]&lt;br /&gt;
** [[Help File:loaddbvmifneeded|loaddbvmifneeded]]&lt;br /&gt;
** [[Help File:previousOpcode|previousOpcode]]&lt;br /&gt;
** [[Help File:nextOpcode|nextOpcode]]&lt;br /&gt;
** [[Help File:disassembleEx|disassembleEx]]&lt;br /&gt;
** [[Help File:loadModule|loadModule]]&lt;br /&gt;
** [[Help File:aa_AddExtraCommand|aa_AddExtraCommand]]&lt;br /&gt;
** [[Help File:aa_RemoveExtraCommand|aa_RemoveExtraCommand]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Help File:PluginType|PluginType]]&lt;br /&gt;
** [[Help File:0 ptAddressList|0: ptAddressList]]&lt;br /&gt;
** [[Help File:1 ptMemoryView|1: ptMemoryView]]&lt;br /&gt;
** [[Help File:2 ptOnDebugEvent|2: ptOnDebugEvent]]&lt;br /&gt;
** [[Help File:3 ptProcesswatcherEvent|3: ptProcesswatcherEvent]]&lt;br /&gt;
** [[Help File:4 ptFunctionPointerschange|4: ptFunctionPointerschange]]&lt;br /&gt;
** [[Help File:5 ptMainMenu|5: ptMainMenu]]&lt;br /&gt;
** [[Help File:6 ptDisassemblerContext|6: ptDisassemblerContext]]&lt;br /&gt;
** [[Help File:7 ptDisassemblerRenderLine|7: ptDisassemblerRenderLine]]&lt;br /&gt;
** [[Help File:8 ptAutoAssembler|8: ptAutoAssembler]]&lt;br /&gt;
** [[Help File:REGISTERMODIFICATIONINFO|REGISTERMODIFICATIONINFO]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Cheat Engine:Help File|Back to Help File]]&lt;/div&gt;</summary>
		<author><name>LeFiXER</name></author>
		
	</entry>
</feed>