 According to legend, batagor was created as a way to salvage unsold "bakso" meatballs.It is said that one day the "bakso" did not sell well, and a seller was stuck with too many leftovers.In order to cut his losses, he then came up with the idea to grind the meatballs, stuff them into tofu, deep fry them, and serve them with peanut sauce in a fashion similar to "siomay".