$$\int_0^{\frac\pi{2}}\frac {\cos\left((1-2n)\arcsin\left(\frac{\sin(\theta)}{\sqrt 2}\right)\right)}{\sqrt{(1-\frac{\sin^2 \theta}{2})}}d\theta$$
I tried using some sort of substitutions but I think this must have some other way to solve and gave me another different integral and gamma functions and all which now I'm uncertain if it's my cup of tea!
$$\begin{align*}\int_0^{\frac\pi{2}}\frac {\cos\left((1-2n)\arcsin\left(\frac{\sin(\theta)}{\sqrt 2}\right)\right)}{\sqrt{(1-\frac{\sin^2 \theta}{2})}}d\theta & = \frac{\pi}{2}{_2F_1}{(1-n, n;1;\frac 1{2})}\\ & = \frac {\pi}{2}\frac {\sqrt \pi}{\Gamma(1-\frac n{2})\Gamma(\frac 1{2} + \frac n{2})}\\& = \frac {\pi}{2}P_{-n}(1-2x)|_{x = \frac 1{2}}\\ \end{align*}$$