C++ Call Game Functions

Sdílet
Vložit
  • čas přidán 1. 02. 2023
  • In call of duty black ops 2 I show you how to call a game function using C++
  • Věda a technologie

Komentáře • 55

  • @AutumnRainBot
    @AutumnRainBot Před rokem +3

    super video , i have learn more in this video than in 3 hours of search

    • @TreckStrend
      @TreckStrend  Před rokem +1

      Thanks, if you have need any other tutorials I can gladly make them for you when I have time

  • @_bt1831
    @_bt1831 Před rokem

    Great video

  • @chaxiraxi_ytb
    @chaxiraxi_ytb Před 2 měsíci

    Wow, this is one of the niche video that are so useful it should be more popular among reversing community

    • @TreckStrend
      @TreckStrend  Před 8 dny

      eh i wouldnt want it to theres so much ways i couldve explained it better. I am much much more better now than I was when I uploaded this video theres some parts where I cringe at why I even declared it as that. Anyways if you want some cool tutorials check out my latest 3 videos I just uploaded

  • @knowsun5911
    @knowsun5911 Před rokem +1

    good reversing tutorial

    • @TreckStrend
      @TreckStrend  Před rokem

      Thank you, if you have any other tutorials or suggestions let me know

  • @daniltwotv6732
    @daniltwotv6732 Před 11 měsíci

    thanks

  • @synapse6343
    @synapse6343 Před rokem +1

    very good video

    • @TreckStrend
      @TreckStrend  Před rokem

      Thank you, if you want any more tutorials please let me know.

  • @watchthemaster5906
    @watchthemaster5906 Před 4 měsíci +1

    How could I assign game objects to an offset so I could put game objects as parameters for these functions?

  • @alexandergrv4534
    @alexandergrv4534 Před rokem +1

    That's cool, but can you call more interesting functions like ChangePlayerWorld, GivePlayerWeapon and stuff? That would be awesome to see.

    • @TreckStrend
      @TreckStrend  Před rokem +2

      If you can find the memory location of the function then yeah, it's more than likely it will take a custom struct as the parameter which then you will need to create your own in your dll and reference each offset in the original struct. I am so caught up with work I don't think I could make a video but I'll tell you this it's very simple to do if you know what you are doing

  • @elodiahax1764
    @elodiahax1764 Před 9 měsíci

    hi TreckStrend nice vid :)
    was wondering if you know or have some tips for me how to trace function in dota2 for func sent and receive packets
    i just want to find that function then i know how to hook it, this reverse is insane hard xD

    • @TreckStrend
      @TreckStrend  Před 8 měsíci

      hey! sorry I didnt see this comment. Msg me on discord - forporsmok or on UC by the handle chaseplays. We can discuss it from there if your still interested

  • @AliAlghamdi-s1z
    @AliAlghamdi-s1z Před dnem

    how did you dump it?

  • @love4ever026
    @love4ever026 Před 11 měsíci

    wow

  • @human-hi3jt
    @human-hi3jt Před 6 měsíci

    what keybind did you use to decompile a function from asm to c

  • @qjaws
    @qjaws Před 11 měsíci +1

    hey, how can you pattern scan so that instead of 0x5F4F10 it gets it from the pattern instead?

    • @TreckStrend
      @TreckStrend  Před 11 měsíci +1

      On IDA use sigmaker to create a code or ida pattern and use some basic memory library and pattern scan the module to see if it contains the sequence of bytes you are looking for

    • @TreckStrend
      @TreckStrend  Před 11 měsíci +1

      Casual gamer lib works well and has info on it but it is outdated, I suggest finding one from Unknown cheats forum

    • @qjaws
      @qjaws Před 11 měsíci

      Thank you!

    • @TreckStrend
      @TreckStrend  Před 11 měsíci

      @@qjaws np bro if you ever need help feel free to ask

  • @sxfano
    @sxfano Před rokem +1

    Could you explain it in more details please ?

    • @TreckStrend
      @TreckStrend  Před rokem

      Hello, what part on the video were you confused on?

    • @sxfano
      @sxfano Před rokem

      @@TreckStrend the code what is __stdcall* and why reinterpret_cast

    • @TreckStrend
      @TreckStrend  Před rokem +3

      ​@@sxfano __stdcall is a calling convention that determines when the argument or parameter is passed onto the stack, for __stdcall the parameters are pushed from first to last. Essentially __stdcall* is pointer to that function. Reinterpret cast is used to convert a pointer of some data type into a pointer of another data type, even if the data types before and after conversion are different.

    • @sxfano
      @sxfano Před rokem +1

      @@TreckStrend thank you so much u should make more videos about game hacking

    • @TreckStrend
      @TreckStrend  Před rokem

      @@sxfano I wish but I'm not that good at it, I only recently started making tutorials for things I've learned from the unknown cheats forum that nobody on CZcams properly covers with explanations. Other than that I really want to upload more but my lack of time is what holds me back, sometimes I barely have time to even reply back to others.

  • @elan2199
    @elan2199 Před rokem

    Is it possible to call member method of a class?

    • @TreckStrend
      @TreckStrend  Před rokem

      Yes you just have to find it's memory location using ida or any form of reversing

    • @elan2199
      @elan2199 Před rokem

      @@TreckStrend I did, but because of "this" I got error. :(

    • @TreckStrend
      @TreckStrend  Před rokem

      @@elan2199 What error did you get

  • @_____666______
    @_____666______ Před 11 měsíci

    what if is protected by VMprotect with Memory protection. Patching memory leads to crashing

    • @TreckStrend
      @TreckStrend  Před 11 měsíci

      Virtual protect ex maybe?

    • @_____666______
      @_____666______ Před 11 měsíci

      @@TreckStrend i tried to patch its memory alter few seconds Dialogbox appears regarding memory is manipulated but i somewhat patched a crackme protected with VMP

    • @TreckStrend
      @TreckStrend  Před 11 měsíci

      @@_____666______ maybe try to hook whatever your patching and just manually mess with asm code, I'm very unfamiliar with VMprotect

    • @TreckStrend
      @TreckStrend  Před 11 měsíci

      @@_____666______ try to delay it's handle, alter bytes and restore before exiting

    • @frostxgg
      @frostxgg Před 11 měsíci

      @@TreckStrend what if there's an argument in setup that c++ doesn't have, the game written in c# and its color32

  • @margielamadman
    @margielamadman Před rokem

    how did u get ida for free

    • @TreckStrend
      @TreckStrend  Před rokem

      Go on duckduckgo and look for it, I found it on this forum I just had to register and like the post then a download button appeared

    • @margielamadman
      @margielamadman Před rokem

      @@TreckStrend u trusted it?

    • @TreckStrend
      @TreckStrend  Před 11 měsíci

      ​@@margielamadmansorry for the late reply, I do it works I virus totaled it before and it's flagged for like one trojan by a bad AV and no problems so far I run Kaspersky kernel anti virus so I doubt anything sneaking past it

  • @envyhvh
    @envyhvh Před 11 měsíci

    would I be able to add you on discord for some question regarding hooking?

    • @TreckStrend
      @TreckStrend  Před 11 měsíci

      Sure give me ur discord I'll send u a message on my alt account

    • @envyhvh
      @envyhvh Před 11 měsíci

      @@TreckStrend envy#3902

    • @TreckStrend
      @TreckStrend  Před 11 měsíci

      @@envyhvh I just friended u on my alt

  • @hakunamatata4473
    @hakunamatata4473 Před rokem

    Do you have discord?

    • @TreckStrend
      @TreckStrend  Před rokem

      I'm unsure, I barely use it and it's on my PC which I'm not at rn, just send me urs if you wanna get in touch