So i need the libtool to open the dump.cs or what?use libtool
I have compare some gng cheat with my dump,in gng lua script that i have,there is offset value,then when i search that value in my dump, it's not suitable for any va and rva value. It is different or what?Use RVA
Gold and GloryWhich game
If like this how can i find the offset,i try to use lua script like field offset finder,it will gave me one addres,then i dont know how to find the offset cause it just one addres has found.If you're targeting ARM you can just use RVA and it will work just like offset.
That's a field offset, you're supposed to access it from an instance of that class.If like this how can i find the offset,i try to use lua script like field offset finder,it will gave me one addres,then i dont know how to find the offset cause it just one addres has found.
// example hook using the macro
// Easy way to get a field from an instance
template<typename T> inline T &GetField(void *instance, uint64_t offset) {
return (T &) (*(T *) ((uint64_t) instance + offset));
}
void (*old_thirdPersonController)(...);
void thirdPersonController(void* instance) {
if (instance) {
// change moveSpeed at 0x20
GetField<float>(instance, 0x20) = 99.f;
}
old_thirdPersonController(instance);
}
// remember to use your Hook library to hook the Update() function from thirdPersonController
Thx for your explanation,but im use the game guardian, i learn from your explanation that if i want get the offset of movespeed,i must search the instance address,then if i want to get the offset of the mov speed, instance + movespeed (0x20), is that like that? However i use the game guardian so i cant use hooking methods, can you give me explanation about how i search an instance of class using game guardian?That's a field offset, you're supposed to access it from an instance of that class.
for example, to access MoveSpeed you can hook Update() in thirdpersoncontroller class and take its first parameter (which will be the instance), then your absoluteOffset (the one you have to access) will be instance + fieldoffset
C++:// example hook using the macro // Easy way to get a field from an instance template<typename T> inline T &GetField(void *instance, uint64_t offset) { return (T &) (*(T *) ((uint64_t) instance + offset)); } void (*old_thirdPersonController)(...); void thirdPersonController(void* instance) { if (instance) { // change moveSpeed at 0x20 GetField<float>(instance, 0x20) = 99.f; } old_thirdPersonController(instance); } // remember to use your Hook library to hook the Update() function from thirdPersonController
best bet would be to find static methods that point to that instance of a class, but you should seriously try proper hooking for any serious moddingThx for your explanation,but im use the game guardian, i learn from your explanation that if i want get the offset of movespeed,i must search the instance address,then if i want to get the offset of the mov speed, instance + movespeed (0x20), is that like that? However i use the game guardian so i cant use hooking methods, can you give me explanation about how i search an instance of class using game guardian?
Thanks for your advice, if i want try to get into serious modding android game,which tool do you recommend for the beginner?best bet would be to find static methods that point to that instance of a class, but you should seriously try proper hooking for any serious modding
check out the LGL or ImGui menu tutorials for thatThanks for your advice, if i want try to get into serious modding android game,which tool do you recommend for the beginner?
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies