Do you still have to pay part of the loan depending on the value of the car if it is repossessed in California?

YES, you pay all the loan amount, sooner or later.