It is necessary to make changes to the file being run in real time. The file is written in the C # + xna framework. I know how to change the file itself, on the fly, but I don’t know how to find the function address in a C # application (usually it’s enough to use the GetModuleHandle and GetProcAddress) function appears while the application is running. I need to access the code at FakeName.Main :: Update + 5CD6 . it is generally necessary to get one value for which there are no static pointers, but just in that part of the code there is a pointer to the desired address. I do all this on c ++ . Day 3 I have been looking for normal information about this, but maybe I’m looking badly. Most of all I come across a call from # to a function inside the dll, but this does not suit me because the application should not call my functions.

  • Crack write or cheat for the game? - VladD
  • @VladD cheat for the terrarium game will change the amount of the item to the maximum, it already works; you only need to find the address so that it is static, for yourself. I have already done a cheat for fallout 2 before that, but nobody needs it (i'm really doing it for myself) - GetYouFun
  • And why the address of the procedure is static? The .NET procedures are compiled on the fly. - VladD
  • @VladD it is not static. In general, this is the case: in some function there is a pointer to another pointer, in no other place there is a pointer to the pointer, so you need to get the address of this function (the pointer in it also turned out to be non-static, though it is written in the code static (asm)) - GetYouFun
  • @VladD I just need to get the static address of the desired pointer, and for this you need to find out where the dynamic function is located ... for example, the Cheat engine can do it - GetYouFun

0