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 


Calling a label with arguments (C++, inline assembly)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Sun Jun 02, 2013 4:50 am    Post subject: Calling a label with arguments (C++, inline assembly) Reply with quote

I am currently working on a task system I have to do for class, and I am trying to recreate a system which my teacher made, but it requires me to call a label rather than a function start, but with the arguments.
When I do it regularly I can't access the arguments, which is pretty obvious

This is my problem:
http://i.minus.com/jb1EnLhGAX6rmJ.png

Code for main (which calls the function twice, and the function itself):
http://pastebin.com/iY0HLCCM

The StartHere macro:
http://pastebin.com/vgvk72Lu

The function that calls the TestJumper function (at t_Jump();):
http://pastebin.com/UWm2FZkx

I think I probably have to 'copy the instructions underneath the function start, but I want to do that without putting any other data in TestJumper'.
Oh yeah, the __SetOffset basically sets m_Offset.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Jun 02, 2013 5:12 am    Post subject: Reply with quote

You're not allowed to use typedefs?
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Sun Jun 02, 2013 5:14 am    Post subject: Reply with quote

Dark Byte wrote:
You're not allowed to use typedefs?
I am. I am allowed to anything, as long as it's in the C++ language, not preprocessed, a script, etc

What do you suggest I do?
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 programming 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