In the case you mentioned, the relevant rules should have been made when the company was established.
Now ABC will hold a meeting to decide the dividend ratio of the current year's profits and C's management salary.
For example,13 of the profit is used for dividends, and the CEO's salary is fixed at a certain absolute value or a certain proportion, then A should get 4/(4+3+3) * 1/3 * profit =2/ 15* profit, and C should get 3/(4+3+3).