I am studying assembly and hooking.
I know how to hook x86 assembly now. so if any thread goes to certain address which is overwritten with my code, it automatically returns to my function. I think this is normal hooking principle. https://www.apriorit.com/dev-blog/160-apihooks
And now, I want to hook x86 registers or memory in windows 32bit, like almost debugger's breakpoints do. So when some memory areas are accessed, automatically call my function in that process memory. To be exact, I want to use my hooked function instead of breakpoint. Any advance will be appreciated!