There is a primitive Pythagorean triple with side $A$ equal to any odd number $\ge3$. We can find those primitives (or the double or perfect square multiples of them) by solving the $A$ or $B$ functions for $n$ and doing a finite search of $m$ values (based on $C$ values in this problem).
For $A=m^2-n^2$, we let $$n=\sqrt{m^2-A}\implies n=\sqrt{m^2-C}$$ and the search will be limited to values of $m$ where
$$\lceil\sqrt{C+1}\space\rceil\le m\le \biggl\lceil\frac{C}{2}\biggr\rceil$$
For any $m$ that yields positive integer $n$, we have $(m,n)$ for a Pythagorean triple.
For example, we want to find matches for the hypotenuse of $27,36,45$.
$$\text{Our limits are }\lceil\sqrt{45+1}\space\rceil=7\le m\le \biggl\lceil\frac{45}{2}\biggr\rceil=23$$
For most values of $m$, we find $n\notin\mathbb{N}$ but we do find three matches.
$$f(7,2)=(45,28,53)$$
$$f(9,6)=(45,108,117)$$
$$f(23,22)=(45,1012,1013)$$
For $765$ and $1305$, there are $6$ matches each and it appears that the chances of having matches increases with the magnitude of $C$.
Now let's take the triple $(14,48,50)$ where $C$ is even.
$$\text{For }B=2mn\quad n=\frac{B}{2m}\text{ where } \lceil\sqrt{B}\space\space\rceil\le m \le \frac{B}{2}$$
$$\text{for }B=C=50\quad \quad \lceil\sqrt{50}\space\space\rceil=8\le m \le \frac{50}{2}=25$$
$$\text{We find only }n=\frac{50}{2*25}=1\quad \quad f(25,1)=(624,50,626)$$