Replies: 2 comments
-
typedef int64_t (*createScene_t)(void *);
static int64_t createScene_proxy(void *thiz) {
int64_t ret = BYTEHOOK_CALL_PREV(createScene_proxy, createScene_t, thiz);
BYTEHOOK_POP_STACK();
return ret;
}
bytehook_hook_single(ELLA_SO_NAME, NULL, "_ZN2FK9PageLayer11createSceneEv",
createScene_proxy, schedule_hooked_callback, NULL); |
Beta Was this translation helpful? Give feedback.
0 replies
-
谢谢大佬的回复,还是不行,hook没问题,但是当动态库运行来这个方法后,还是出现崩溃。。 |
Beta Was this translation helpful? Give feedback.
0 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.
-
大佬这种方法应该怎么hook
我是这样hook的,一hook就崩溃
但是一hook就崩溃,出现下面的错误
Beta Was this translation helpful? Give feedback.
All reactions