Hey guys,
atm I'm reversing a game and for this I need a very fast way to copy bytes from src(memory in game) to dst, because the src is changing very fast, that fast i can only recv the first 3 bytes ..
atm Im injecting a DLL to the main thread and checking (while true) if the src has changed. If its changed I need that changed bytes.
My ideas:
1.) I need a way to copy the data very fast, but tried memcpy... and so on but nothing is fast as needed.
2.)
Other idea would be to freeze the mainthread of the game(like a breakpoint) until I finally copied the bytes, but I dont know a method to do that
Do you have any ideas how to proceed?maybe other ideas?
atm I'm reversing a game and for this I need a very fast way to copy bytes from src(memory in game) to dst, because the src is changing very fast, that fast i can only recv the first 3 bytes ..
atm Im injecting a DLL to the main thread and checking (while true) if the src has changed. If its changed I need that changed bytes.
My ideas:
1.) I need a way to copy the data very fast, but tried memcpy... and so on but nothing is fast as needed.
2.)
Other idea would be to freeze the mainthread of the game(like a breakpoint) until I finally copied the bytes, but I dont know a method to do that
Do you have any ideas how to proceed?maybe other ideas?