Basically what everyone like for editing dll is that you dont really need to worry about how much bytes or instruction can be replaced. Binary patch to libso, you need to careful for how much bytes patched. So, by hooking to orig function you dont really need to worry how much bytes is patched.