<?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%3Asym_generateAPIHookScript</id>
	<title>Help File:sym generateAPIHookScript - 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%3Asym_generateAPIHookScript"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Help_File:sym_generateAPIHookScript&amp;action=history"/>
	<updated>2026-06-14T07:23:08Z</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:sym_generateAPIHookScript&amp;diff=7113&amp;oldid=prev</id>
		<title>LeFiXER at 01:36, 30 July 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Help_File:sym_generateAPIHookScript&amp;diff=7113&amp;oldid=prev"/>
		<updated>2021-07-30T01:36:18Z</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 01:36, 30 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-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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;                            int maxscriptsize);''&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;                            int maxscriptsize);''&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;;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Address&lt;/del&gt;'''&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;address&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;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;:The address you want to hook. (e.g. &amp;quot;00401234&amp;quot;, &amp;quot;somegamemod.dll+1234&amp;quot; or &amp;quot;apidll!functionname&amp;quot;)&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;:The address you want to hook. (e.g. &amp;quot;00401234&amp;quot;, &amp;quot;somegamemod.dll+1234&amp;quot; or &amp;quot;apidll!functionname&amp;quot;)&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&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;:Ensures the script won't exceed the buffer.&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;:Ensures the script won't exceed the buffer.&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;Returns &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/del&gt;''TRUE&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/del&gt;'' if the script was properly generated and there was enough space. The script will be filled with the script you can feed to the Auto Assembler.&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;Returns ''TRUE'' if the script was properly generated and there was enough space. The script will be filled with the script you can feed to the Auto Assembler.&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;/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;/table&gt;</summary>
		<author><name>LeFiXER</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Help_File:sym_generateAPIHookScript&amp;diff=7112&amp;oldid=prev</id>
		<title>LeFiXER: Created page with &quot;==sym_generateAPIHookScript==  This function takes several strings and convert it into a working ''AutoAssembler'' script.  '''Function Definition'''  ''BOOL sym_addressToName...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Help_File:sym_generateAPIHookScript&amp;diff=7112&amp;oldid=prev"/>
		<updated>2021-07-30T01:35:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==sym_generateAPIHookScript==  This function takes several strings and convert it into a working &amp;#039;&amp;#039;AutoAssembler&amp;#039;&amp;#039; script.  &amp;#039;&amp;#039;&amp;#039;Function Definition&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;BOOL sym_addressToName...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==sym_generateAPIHookScript==&lt;br /&gt;
&lt;br /&gt;
This function takes several strings and convert it into a working ''AutoAssembler'' script.&lt;br /&gt;
&lt;br /&gt;
'''Function Definition'''&lt;br /&gt;
 ''BOOL sym_addressToName (char *address,&lt;br /&gt;
                           char *addresstojumpto,&lt;br /&gt;
                           char *addresstogetnewcalladdress,&lt;br /&gt;
                           char *script,&lt;br /&gt;
                           int maxscriptsize);''&lt;br /&gt;
&lt;br /&gt;
;'''Address'''&lt;br /&gt;
:The address you want to hook. (e.g. &amp;quot;00401234&amp;quot;, &amp;quot;somegamemod.dll+1234&amp;quot; or &amp;quot;apidll!functionname&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
;'''addresstojumpto'''&lt;br /&gt;
:Address of the routine you want to jump to. (e.g. &amp;quot;mydll!myhook&amp;quot; or just a static address like &amp;quot;0x12345678&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
;'''addresstogetnewcalladdress'''&lt;br /&gt;
:Address to store the address of the routine in so you can call it without the hook. (Useful when you want to call the original routine from your own hook).&lt;br /&gt;
&lt;br /&gt;
;'''script'''&lt;br /&gt;
:Output a pointer to a buffer where you want the script in.&lt;br /&gt;
&lt;br /&gt;
;'''maxscriptsize'''&lt;br /&gt;
:Ensures the script won't exceed the buffer.&lt;br /&gt;
&lt;br /&gt;
Returns '''TRUE''' if the script was properly generated and there was enough space. The script will be filled with the script you can feed to the Auto Assembler.&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>