It's not capital control in this case, it's the different shares. The shares you bought in HK can not be sold in SH, and vice versa. When the company does an IPO, it will assign a percentage of the shares to SH and the other to HK. It will be fixed in that way. You'd better treat them as two separate holding companies listed on SH and HK, each owning a piece of the actual company.