Ex functions almost always add another parameter, so dropping the Ex very rarely works. When selecting a replacement, the number of parameters must match (look for the first return instruction after the function entry address). The return value should also indicate an error.