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 


[?]how to create a list of addreses and call a func by it

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
reverser69
Expert Cheater
Reputation: 0

Joined: 03 Sep 2014
Posts: 107

PostPosted: Thu Jun 04, 2020 7:12 pm    Post subject: [?]how to create a list of addreses and call a func by it Reply with quote

hi all
in a game, I want to create a cheat to tag all enemies. I checked it and its more complicated than just setting a flag so I went for the hard way; calling the tagging func.
so I think I found the correct func.its :
_fastcall (aConstant, enemyBase, 1 ) and works like you zoom on the enemy and its called for that enemy only. i found the code reading the enemyBases.
i want to do it this way (if no one has a better way)
store all PBases somewhere like a list or array and call the func by it. like:
enemyBases:
base1
base2
base3
.
.
.

and _fastcall (aConstant, enemyBases, 1 ). but don't know how to do it in asm
anyone can help me write a script for calling the func?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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