 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Cheat Engine User Something epic
Reputation: 60
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Sun Jun 02, 2013 4:50 am Post subject: Calling a label with arguments (C++, inline assembly) |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25824 Location: The netherlands
|
Posted: Sun Jun 02, 2013 5:12 am Post subject: |
|
|
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 |
|
 |
Cheat Engine User Something epic
Reputation: 60
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Sun Jun 02, 2013 5:14 am Post subject: |
|
|
| 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 |
|
 |
|
|
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
|
|