Originally Posted by cravenge
I can't help but see a scenario where the patch would fail occasionally. That scenario being with multiple Tanks in play at once where the punches may come consecutively. I know the chances of that happening is slim due to the function being called in different frames but it grows gradually the more Tanks spawn.
The game logic is single-threaded. That means nothing can happen between the end of a function and its post hook. Once a patch is applied, only the post hook can remove it. You donít have to worry about the patch being removed for one Tank swing while being applied for another because the detours wonít overlap no matter how many Tanks are swinging at the same time.