• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 9 of 9
    1. #1
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      597
      Thanks (-->)
      104
      Thanks (<--)
      172

      How To Call Game Functions C++ x64dbg Hacking Tutorial

      Silent VPN
      Welcome to another installment of Guided Hacking's renowned video tutorials! In this tutorial you will learn how to call game functions and reverse engineer functions using x64dbg. Once learning how to do this, it becomes very easy to call any game function you want it only takes a few minutes.

      In this episode we'll be covering calling a game's function from our game hack. This lesson will be split into two parts with part one covering a very basic introduction into the topic through the use of a test console application we write ourselves. We will reverse engineer the function prototypes using x64dbg disassembler and write a internal DLL hack that will call the functions by address when a key is pressed using a DLL injector.



      Video made by @Traxin

      Attached is the dummy test application funkyVictim with source code and .exe

      Download x64DBG Debugger

      Download the GuidedHacking Injector made by Broihon

      Attachment Virus Scan [funkyVictim]
      Attachment Virus Scan [Function Caller]

      [Footnote]
      If you're using Visual Studio 2017 and can't find the function using x64dbg, switching the platform toolset in the project settings to v140 may fix the issue.
      Spoiler: img
      How To Call Game Functions C++ x64dbg Hacking Tutorial
      Attached Files Attached Files
      Last edited by Traxin; 07-31-2017 at 02:42 AM.

    2. #2
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      597
      Thanks (-->)
      104
      Thanks (<--)
      172
      Thought I'd upload the code for the dll as well.

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      guthax's Avatar
      Join Date
      Mar 2017
      Posts
      1
      Thanks (-->)
      0
      Thanks (<--)
      0
      Hello,

      Awesome tutorial!
      I do have one question.
      I cant find the FuncA and FunB functions.

      This the only thing i get:

      http://imgur.com/a/BXICG

      Did i maybe forget some setting?

    4. #4
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      597
      Thanks (-->)
      104
      Thanks (<--)
      172
      Quote Originally Posted by guthax View Post
      Hello,

      Awesome tutorial!
      I do have one question.
      I cant find the FuncA and FunB functions.

      This the only thing i get:

      http://imgur.com/a/BXICG

      Did i maybe forget some setting?
      Welcome and yes, make sure your project for funkyVictim is set to DEBUG mode. Release mode will optimize those functions right the fuck away.

    5. #5
      Coder
      Love Nabi Muhammad SAW
       
      Friendly
       
      lukaluka's Avatar
      Join Date
      Jul 2015
      Posts
      201
      Thanks (-->)
      15
      Thanks (<--)
      10
      Trojan Found
      Last edited by lukaluka; 03-26-2017 at 09:09 AM.

    6. #6
      edgy 5 y/o
      __fastcall is superior
       
      Trolling
       
      Broihon's Avatar
      Join Date
      Jul 2015
      Location
      Gro▀deutsches Reich
      Posts
      808
      Thanks (-->)
      115
      Thanks (<--)
      307
      Quote Originally Posted by lukaluka View Post
      Trojan Found
      Then don't download it. Noone will care.

    7. #7
      Coder
      Love Nabi Muhammad SAW
       
      Friendly
       
      lukaluka's Avatar
      Join Date
      Jul 2015
      Posts
      201
      Thanks (-->)
      15
      Thanks (<--)
      10

      void NewCALLER(char* A, char* B)
      {
      DWORD Module = (DWORD)GetModuleHandleA("funkyVictim.exe");
      DWORD ECX1 = Module + 0x2058;
      DWORD PUSH1 = Module + 0x1290;
      DWORD CALLER1 = Module + 0x1050;
      DWORD CALLER2 = Module + 0x2034;
      __asm
      {
      mov ecx, [ECX1]
      mov edx, [A]
      push PUSH1
      call [CALLER1]
      mov ecx,eax
      call [CALLER2]
      mov ecx,[ECX1]
      mov edx,[B]
      push PUSH1
      call [CALLER1]
      mov ecx,eax
      call [CALLER2]
      }
      }

    8. #8
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      RexDaGod's Avatar
      Join Date
      Jul 2017
      Posts
      4
      Thanks (-->)
      0
      Thanks (<--)
      0
      Quote Originally Posted by Traxin View Post
      Welcome and yes, make sure your project for funkyVictim is set to DEBUG mode. Release mode will optimize those functions right the fuck away.
      How To Call Game Functions C++ x64dbg Hacking Tutorial

      It's in debug mode but still can't find function.
      Last edited by RexDaGod; 07-30-2017 at 11:43 PM.

    9. #9
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      597
      Thanks (-->)
      104
      Thanks (<--)
      172
      Silent VPN
      Quote Originally Posted by RexDaGod View Post
      snip
      How To Call Game Functions C++ x64dbg Hacking Tutorial

      Probably should've put this up before, but this is probably your issue.
      If you're on 2017, switch it to v140 and you should be set.

    Similar Game Hacker Threads

    1. [VideoTutorial] C++ Detour / Hooking Function Tutorial for Game Hacking
      By [GH]Rake in forum GH Hack Video Tutorials
      Replies: 26
      Last Post: 12-29-2016, 06:48 PM
    2. [Tutorial] Reverse Engineer C++ Games Game Hacking Tutorial
      By [GH]Rake in forum Game Hacking Tutorials
      Replies: 12
      Last Post: 06-22-2016, 05:56 PM
    3. [Tutorial] Learn To Master The Basics Of Game Hacking With Cheat Engine Tutorial
      By ChrisFayte in forum Cheat The Game
      Replies: 6
      Last Post: 04-13-2016, 10:42 AM
    4. [VideoTutorial] Game Hacking with Reclass Tutorial
      By [GH]Rake in forum GH Hack Video Tutorials
      Replies: 9
      Last Post: 04-04-2016, 03:18 PM
    5. [Help] Call Game Functions Not Effect
      By lukaluka in forum Assault Cube Hacks
      Replies: 1
      Last Post: 02-06-2016, 06:00 AM