Firstly, Dont underestimate Japan. If there is a war, japan might well cripple China. Dont underestimate their intelligence sources inside China.
About pakistan. The country will become like FATA. If war happens, think how much insurgency will crop up from karachi to islamabad. And Pakhtuns...