Are you sure they were defeated at all?
Read 'Stillwell and the American Experience in China 1911-1945'
Basically the Nationalists and the Communists were fighting each other as hard as they were fighting the Japanese. European powers pre-Sun Yat Sen didn't bui;ld a lot of steel mills in China so they were dependent on outsiders for arms.