How can i transform a model from clip space back to object/world?

I really don’t know how to do this
this is the best i could find on the web
the models are reversed with this code

float3 viewPos = mul(unity_CameraInvProjection,clipPos);
viewPos = mul(unity_MatrixInvV,viewPos);
return mul(viewPos,unity_WorldToObject);