IANAL but I think it depends on the break up. If you resigned from the company then that means you don't have any legal control of the funds. If you are still a valid officer of the company than paying debts you owe shouldn't be an issue.
Not paying the offshore devs could also theoretically lead to a lawsuit. A lawsuit for not being paid is an easier lawsuit to win than suing a business partner for paying valid expenses the company had accrued.
But you should definitely talk to a lawyer.