Help! step by step mod menu tutorial?

butcherhook

Platinian
hi everyone, I'm new in mod menu making, is there any step by step mod menu making tutorial? by "step by step" i mean every single step, such as dumping, searching for offset, patching, hooking, recompiling apk, etc, because on youtube/platinmods forum there's guides how to hook, how to patch, but no explanation which offsets to use, which we need to find, for example, for aim/esp, and how to use libraries such as kitty memory, A64HookFunction, also explaining how things like old_something/new/something work, etc, it will help a lot to understand the mod menu making, if someone could record it and explain some things, that'll help a lot, thanks
 
alright nevermind, i managed to create working functions but now stucked with hook probably, when turning the toggle on it should speed me up, but instead I'm not moving at all, i suppose it's return issue? it looks like this currently:
C++:
double (*old_speed)(void *instance) = nullptr;
double hookedspeed(void *instance) {
    if (instance != nullptr && speed) {
        return 100.0;
    }
    return old_speed(instance);
}
I'm 100% sure the offset is right, so maybe I messed up when trying to return value? also I'm 100% sure it's double, when patching it using libtool it works fine, but through mod menu it's freezing me in place as I said before (excluding jumping, as if MaxSpeedInDirection was returning 0) i also tried returning 100 instead of 100.0, but result is the same
1000010557.jpg
 
alright nevermind, i managed to create working functions but now stucked with hook probably, when turning the toggle on it should speed me up, but instead I'm not moving at all, i suppose it's return issue? it looks like this currently:
C++:
double (*old_speed)(void *instance) = nullptr;
double hookedspeed(void *instance) {
    if (instance != nullptr && speed) {
        return 100.0;
    }
    return old_speed(instance);
}
I'm 100% sure the offset is right, so maybe I messed up when trying to return value? also I'm 100% sure it's double, when patching it using libtool it works fine, but through mod menu it's freezing me in place as I said before (excluding jumping, as if MaxSpeedInDirection was returning 0) i also tried returning 100 instead of 100.0, but result is the same
View attachment 752327
changed to float and it somehow worked, also implemented fly (only vertical and not as fast as i could want) and high jump, sorry for keep bumpingn thread
 
changed to float and it somehow worked, also implemented fly (only vertical and not as fast as i could want) and high jump, sorry for keep bumpingn thread
The method you were trying to hook is a Single type. Single type is essentially a 32-bit float number, that's why hooking as float works. First you were trying to return a Double, which is 64-bit. That would make it return an invalid value.

Your hook was otherwise correct
 
The method you were trying to hook is a Single type. Single type is essentially a 32-bit float number, that's why hooking as float works. First you were trying to return a Double, which is 64-bit. That would make it return an invalid value.

Your hook was otherwise correct
thanks for clarifying how and why it worked, btw, is that possible to implement aim/esp in any unity game? and what i need to learn for implementing it, and also what should i learn in first place in c++ for understanding modding more?
 
thanks for clarifying how and why it worked, btw, is that possible to implement aim/esp in any unity game? and what i need to learn for implementing it, and also what should i learn in first place in c++ for understanding modding more?
no prob


, is that possible to implement aim/esp in any unity game?
Basically in any fps etc. game I guess.
There are some tutorials about that on this site.
You need at least a basic understanding of c++, c# and coding in general. E.g. pointers and variables, declarations, operators etc in c++. and maybe objects of c#, to name a few of things. Esp tends to be more advanced too though
 
Back
Top Bottom