just to challenge that, why would you not realise the function is copy pasted in this scenario?
I mean, you'd see that the function is inlined in the place that you discover the bug, so you already know that changing that function's code isn't going to fix similar bugs anywhere else right?