Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


AA Hook 7.7

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 520

PostPosted: Fri Jun 12, 2026 1:56 am    Post subject: AA Hook 7.7 Reply with quote

The initial hook template initialization does not have important `dealloc(originalcode)` after disable section
Therefore it causes a leak for a page where both `newmem` and `originalcode` exist without being freed
The images show before and after script disable without `dealloc(originalcode)`
While it does not mess with the instructions in the target, it is still important to look out for the leaks



Знімок екрана 2026-06-12 105215.png
 Description:
 Filesize:  44.01 KB
 Viewed:  144 Time(s)

Знімок екрана 2026-06-12 105215.png



Знімок екрана 2026-06-12 105157.png
 Description:
 Filesize:  57.95 KB
 Viewed:  144 Time(s)

Знімок екрана 2026-06-12 105157.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25949
Location: The netherlands

PostPosted: Fri Jun 12, 2026 2:11 am    Post subject: Reply with quote

change it to dealloc(*) for now (always works) i'll see about fixing the unhook function (as that's the one that was supposed to add dealloc(originalcode) )
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 520

PostPosted: Fri Jun 12, 2026 2:16 am    Post subject: Reply with quote

it is an issue in template itself, it hooks fine but the template for code injection does not use deallocation for `originalcode`, that's all, but yeah, adding dealloc(*) would solve the issue
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites