Results 1 to 1 of 1
  1. #1
    Foxxy Boxxy's Avatar
    Join Date
    Oct 2016
    Gender
    male
    Location
    Canada
    Posts
    119
    Reputation
    16
    Thanks
    489
    My Mood
    Tired

    General Hooking/Function Calling Using Injected DLL Question

    Been a while since Iv been on here.

    Just been getting back into the RE lately and looking to learn function calling using injected DLLs.
    I already understand program flow and am decent at RE now like medium grade program cracking etc.
    I already understand how hooking and calling remote functions works and I have done it on a few programs where I have to source code but that is where my issues arises.
    When calling a function from your dll you must obv use a function prototype eg

    Original function in program source


    Function prototype in the DLL that I am injecting


    My question is what methods do you big brain gamers use to get number of, and data type of the parameters so that you can build a function prototype without the original source code. I am currently capable of just doing a stack trace and figuring out the param if they are a simple type like and int but when data structs are passed in I get lost.

    Note: I am aware that RE tools like ghidra and IDA pro attempt to do this for you. But is that seriously how the pros do it?

    Thanks to any mega mind gamers that respond.
    Attached Thumbnails Attached Thumbnails
    dc5fb75ba10425a01d5bb8c2e8e3805c.png  

    1e61d4e579eb1c48b294ce2f8bec9284.png  


Similar Threads

  1. [Outdated] How to use an Injector and inject .dll Hacks ....
    By HOOSIER in forum Alliance of Valiant Arms (AVA) Tutorials
    Replies: 15
    Last Post: 09-14-2015, 06:00 AM
  2. [Solved] PerX question: What process do I inject dll's?
    By gunman353 in forum Combat Arms Help
    Replies: 6
    Last Post: 11-02-2011, 04:45 AM
  3. [Tutorial] How to inject .dll Files correctly! Video+Pics [How to use a hack]
    By Drake in forum Combat Arms EU Discussions
    Replies: 151
    Last Post: 08-18-2011, 06:26 PM
  4. [Tutorial] How To Inject DLL Using PerX
    By FinalFantasyIII in forum CrossFire PH Discussions
    Replies: 9
    Last Post: 11-09-2010, 09:12 AM
  5. Replies: 0
    Last Post: 04-23-2010, 03:39 PM

Tags for this Thread