How to hook when the setter method i want to hook shares offset with other numerous setters methods? #601
Unanswered
IceBear1226
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi, woudl you please share your snippet and the classes (just |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The game i'm trying to analyze has a lot of setters, getters methods. The remarkable thing is , setters have same offset, and getters too.
Even if I set the hook by exact name of method and class of domain, a random different name object that has a setter method with same offset comes in, and it resulted in "Process crashed: Bad access due to invalid address" error.
i tried to use " this.class.name " to compare it if it is the class I want to hook , and then used "revert()" in the case the condition is not met. , but it still made the game crash with the error.
Would there be anyone who faced same issue with me?
I wanna know If you tried to hook a setter or getter method sharing same offset with others, and if you had same error with me , how did you handle it . Please share it if you had same experience!
Beta Was this translation helpful? Give feedback.
All reactions