hello, how to hook function from vtable with plthook on android armv7-a?
i tried this
if(plthook_replace(plthook, "_ZN25StartMenuScreenController4tickEv", (void*)my_startMenuTick, (void**)&startMenuTick) != 0) return 1;
static unsigned int (*startMenuTick)(void *thiz);static unsigned int my_startMenuTick(void *thiz) { __android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "%s\n", "my_startMenuTick"); }
but "my_startMenuTick" message is not shown via logcat, although messages from other functions are displayed
and there were no errors while applying the hook
hello, how to hook function from vtable with plthook on android armv7-a? i tried this
if(plthook_replace(plthook, "_ZN25StartMenuScreenController4tickEv", (void*)my_startMenuTick, (void**)&startMenuTick) != 0) return 1;
static unsigned int (*startMenuTick)(void *thiz);
static unsigned int my_startMenuTick(void *thiz) { __android_log_print(ANDROID_LOG_VERBOSE, APPNAME, "%s\n", "my_startMenuTick"); }
but "my_startMenuTick" message is not shown via logcat, although messages from other functions are displayed and there were no errors while applying the hook