C++ Call Game Functions

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 56

  • @chaxiraxi_ytb
    @chaxiraxi_ytb 5 месяцев назад +6

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

    • @TreckStrend
      @TreckStrend  3 месяца назад +1

      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

  • @AutumnRainBot
    @AutumnRainBot Год назад +4

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

    • @TreckStrend
      @TreckStrend  Год назад +3

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

  • @watchthemaster5906
    @watchthemaster5906 8 месяцев назад +1

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

  • @knowsun5911
    @knowsun5911 Год назад +1

    good reversing tutorial

    • @TreckStrend
      @TreckStrend  Год назад

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

  • @spartor3693
    @spartor3693 Месяц назад

    thanks bro

  • @synapse6343
    @synapse6343 Год назад +1

    very good video

    • @TreckStrend
      @TreckStrend  Год назад

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

  • @_bt1831
    @_bt1831 Год назад

    Great video

  • @human-hi3jt
    @human-hi3jt 10 месяцев назад

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

  • @daniltwotv6732
    @daniltwotv6732 Год назад

    thanks

  • @qjaws
    @qjaws Год назад +1

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

    • @TreckStrend
      @TreckStrend  Год назад +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  Год назад +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 Год назад

      Thank you!

    • @TreckStrend
      @TreckStrend  Год назад

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

  • @sxfano
    @sxfano Год назад +1

    Could you explain it in more details please ?

    • @TreckStrend
      @TreckStrend  Год назад

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

    • @sxfano
      @sxfano Год назад

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

    • @TreckStrend
      @TreckStrend  Год назад +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 Год назад +1

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

    • @TreckStrend
      @TreckStrend  Год назад

      @@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 RUclips 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.

  • @AliAlghamdi-s1z
    @AliAlghamdi-s1z 3 месяца назад +1

    how did you dump it?

  • @alexandergrv4534
    @alexandergrv4534 Год назад +1

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

    • @TreckStrend
      @TreckStrend  Год назад +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

  • @elan2199
    @elan2199 Год назад

    Is it possible to call member method of a class?

    • @TreckStrend
      @TreckStrend  Год назад

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

    • @elan2199
      @elan2199 Год назад

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

    • @TreckStrend
      @TreckStrend  Год назад

      @@elan2199 What error did you get

  • @_____666______
    @_____666______ Год назад

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

    • @TreckStrend
      @TreckStrend  Год назад

      Virtual protect ex maybe?

    • @_____666______
      @_____666______ Год назад

      @@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  Год назад

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

    • @TreckStrend
      @TreckStrend  Год назад

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

    • @frostxgg
      @frostxgg Год назад

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

  • @love4ever026
    @love4ever026 Год назад

    wow

  • @u_k927
    @u_k927 Месяц назад

    vouch

  • @margielamadman
    @margielamadman Год назад

    how did u get ida for free

    • @TreckStrend
      @TreckStrend  Год назад

      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 Год назад

      @@TreckStrend u trusted it?

    • @TreckStrend
      @TreckStrend  Год назад

      ​@@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 Год назад

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

    • @TreckStrend
      @TreckStrend  Год назад

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

    • @envyhvh
      @envyhvh Год назад

      @@TreckStrend envy#3902

    • @TreckStrend
      @TreckStrend  Год назад

      @@envyhvh I just friended u on my alt

  • @hakunamatata4473
    @hakunamatata4473 Год назад

    Do you have discord?

    • @TreckStrend
      @TreckStrend  Год назад

      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