how to loop cut a mesh that doesn't have clear edge flow i have mesh like this

and i need to cut it like this

but i can't because as you can see the mesh have a crazy topology
In Edit mode with your entire mesh selected, under the Mesh menu  go to "Clean Up" and click "Limited Dissolve" this should remove the triangulation on the quads and make edge loop cutting work as expected.