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 


Find string/bytecode?

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

Joined: 09 Mar 2015
Posts: 71

PostPosted: Fri Apr 06, 2018 1:05 pm    Post subject: Find string/bytecode? Reply with quote

Hello, so I would like to change an expiration date in the sourcecode of a flash game Smile

Code:
; 2c bd 92 01
pushstring "1980/11/11 11:11:11"
; 61 f0 08
setproperty Qname(PackageNamespace(""),"date_energy_pass_expire")


Now I've been playing succesfully with those things recently, and love it but I don't know how (and if) it's possible to change that date to a future date so it is not expired yet... Now I don't find other (future) dates in the code so I cannot use another existing pushstring, how could I know the bytecodes to modify that date the way I want? Thanks
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Fri Apr 06, 2018 6:41 pm    Post subject: Reply with quote

The pushstring instruction takes an offset into the string constant pool (offset is a standard ABC variable-length encoded int). Find the string in the string constant pool and modify the data as you would with any other bytecode.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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