I am sorry to hear about your job situation. There is a good chance that your loan WILL NOT fund. One of the last things a lender will do before funding the loan is to re-verify employment. Your options at that point will be determined by how your purchase agreement was written.
Best fo luck,