$g(x)=\left|24|x|-x^2\right|$ takes each value $L\in(0,144)$ exactly $6$ times, the value $144$ four times, the value $0$ three times, and each value $L>144$ twice.
We need $g=c+25$ and $g=c-25$ to have $8$ solutions in total, which happens only as $6+2$, i.e.\ $0<c-25<144<c+25$, i.e.\ $120\le c\le168$, which is $49$ integers.