<?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=Template%3AAsm%3ACustomRegenUsingAnO</id>
	<title>Template:Asm:CustomRegenUsingAnO - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AAsm%3ACustomRegenUsingAnO"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Template:Asm:CustomRegenUsingAnO&amp;action=history"/>
	<updated>2026-04-04T21:15:56Z</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=Template:Asm:CustomRegenUsingAnO&amp;diff=5748&amp;oldid=prev</id>
		<title>OldCheatEngineUser: Created page with 'Category:Scripting  ===Using Address &amp; Offset=== ''this script requires you to get the address &amp; the offset from another script'', ''dont forget to globally allocate them or …'</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Template:Asm:CustomRegenUsingAnO&amp;diff=5748&amp;oldid=prev"/>
		<updated>2018-02-03T06:04:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;&lt;a href=&quot;/index.php?title=Category:Scripting&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Scripting (page does not exist)&quot;&gt;Category:Scripting&lt;/a&gt;  ===Using Address &amp;amp; Offset=== &amp;#039;&amp;#039;this script requires you to get the address &amp;amp; the offset from another script&amp;#039;&amp;#039;, &amp;#039;&amp;#039;dont forget to globally allocate them or …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Scripting]]&lt;br /&gt;
&lt;br /&gt;
===Using Address &amp;amp; Offset===&lt;br /&gt;
''this script requires you to get the address &amp;amp; the offset from another script'', ''dont forget to globally allocate them or at least register them as a symbol''. ''the script might not be injected in 32 bit processes''&lt;br /&gt;
''example: [edx+110]''&lt;br /&gt;
&lt;br /&gt;
''mov [address],edx''&lt;br /&gt;
&lt;br /&gt;
''mov [offset],110''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;background:#FFFFFF&amp;quot;&amp;gt;&lt;br /&gt;
[''enable'']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''alloc'''(ReGen,$100)&lt;br /&gt;
&lt;br /&gt;
'''registersymbol'''(ReGen)&lt;br /&gt;
&lt;br /&gt;
'''createthread'''(ReGen)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''label'''(return)&lt;br /&gt;
&lt;br /&gt;
'''label'''(exit)&lt;br /&gt;
&lt;br /&gt;
'''registersymbol'''(exit)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ReGen''':&lt;br /&gt;
&lt;br /&gt;
push 03E8&lt;br /&gt;
&lt;br /&gt;
call Kernel32.Sleep&lt;br /&gt;
&lt;br /&gt;
cmp byte ptr [exit],00 // add exit to your address list, default is '1' change it to '0' if you want to stop the regeneration.&lt;br /&gt;
&lt;br /&gt;
jz return&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mov edx,[address]&lt;br /&gt;
&lt;br /&gt;
add edx,[offset]&lt;br /&gt;
&lt;br /&gt;
cmp dword ptr [edx],64 // say your health limit is 4-byte '100' once your health goes below '100' it will regenerate health&lt;br /&gt;
&lt;br /&gt;
jz ReGen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
add [edx],01&lt;br /&gt;
&lt;br /&gt;
jmp ReGen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''return''':&lt;br /&gt;
&lt;br /&gt;
ret&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''exit''':&lt;br /&gt;
&lt;br /&gt;
db 01&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[''disable'']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''dealloc'''(ReGen)&lt;br /&gt;
&lt;br /&gt;
'''unregistersymbol'''(ReGen)&lt;br /&gt;
&lt;br /&gt;
'''unregistersymbol'''(exit)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>OldCheatEngineUser</name></author>
		
	</entry>
</feed>