What if the Tondo dynasty survived in Luzon and prevented their absorption by the Bolkiah dynasty (which were hated by the people there) and made a strong polity there that survives Spanish conquest would the Spanish be more interested in getting Mindanao and had prevented the formation of the Maguindanao Sultanate as I know the Maguindanao Sultanate was formed in the late 16th century, It formed because the Spanish did not mind Mindanao they were preoccupied in securing the Northern part.