Results 1 to 4 of 4
  1. #1
    zacharoni's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Beginning hooking, how to use the SDK?

    Hello everyone

    I'm new to the game hacking scene and I have a few questions...

    I know C++ and some assembly, and using the Windows API, I created my own DLL injector and played around with code caves and memory hacks.

    I want to move into Hooking game functions, now this is where my specific question is. How do you guys find functions to hook? Say I wanted to hook the ConsoleWrite function...


    Is there a general set of steps to utilize the SDK of the game to help find these functions? Using IDA and the SDK? I just want to understand this better, I found the function using Olly and setting a breakpoint on a text string "on access" and just stepped into it.

    What significant advantages does having the SDK for the game pose in writing client hooks for a game? I'm just trying to connect all these separate ideas into practical use

    Thank you

  2. #2
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,321
    My Mood
    Cheeky
    If you have access to the game's SDK you pretty much have all the classes, structures and function prototypes you need to get started. No more need to reverse the classes yourself, and you'll know exactly what argument to a function is what.
    wrote this from my phone
    Ah we-a blaze the fyah, make it bun dem!

  3. #3
    zacharoni's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    so you would find an interesting function in the SDK, and then you can use IDA or Olly to search for that functions "text string" name. to locate it in the code basicalLY?

    Also is there a good tutorial or book on Detours and client function hooking (generic) not a specific game
    Last edited by zacharoni; 06-24-2011 at 05:05 AM.

  4. #4
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,055
    My Mood
    Cool
    You might have to search by bytes, because functions dont always some with the right titles.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development