google-site-verification: googlebaca44933768a824.html [solved] c++/asm noob question - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

[solved] c++/asm noob question

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved] c++/asm noob question

    im starting to write very basic cheats and im stuck at findpattern.

    i have found my ammo address (nonstatic) and came to

    Code:
    dec esi
    when i get the address with findpattern of this sig its the right one but i can only memcpy new code to that addr. how can i get the value of esi?
    so what i want to do is finding the value of esi now



    thats a screen what i have done so far. a dll who spits out the findpattern'd addr (you can see its the right one)
    but how can i get the address of esi like cheat engine does on that pic

    thanks in advance,
    noobmoyo

    edit: solution@last post

    #2
    Re: c++/asm noob question

    Hmm, I think that cheat engine can't do that... try to do it in OllyDbg and use first pattern u find
    Originally posted by God:
    Fuck this shit. I need a new planet...
    This is our moment.
    We have never been stronger.
    People are frightened yes, but
    If we show them the way
    They will rise behind us.

    Comment


      #3
      Re: c++/asm noob question

      thank you but cheat engine does on the screen. it shows the address of esi and this addy holds the value of my ammo.
      now im findpattering (:D) the dec esi. but i dont know how to continue then D:

      Comment


        #4
        Re: c++/asm noob question

        found a solution:
        put a detour at addy and use inline asm to get the addy from stack then move it to your pointer and your done -_-
        if your a badass you can also retour it again naow

        /closerequest
        Last edited by moyo; 07-20-2012, 11:59 AM.

        Comment

        Working...
        X