there was genocide, but in most of latam it was more a matter of the average premodern social and economic policies as seen in most cultures of the age and imported diseases, my argument is that, while american indians are now on the verge of extinction, most spaniard dominions ended up racemixing and still bolster large indigenous populations in the tens of millions, your forefathers did something similar across eurasia and from there you still have the human capital to sustain your foreign policies. incidentally a large percentage of the spanish armies who thought the libertadores were composed of indians, while the conclussion was foregone due spain's devastation due napoleonic wars it was still a hard fight, and the history of the region is far more complex than it may look at first glance.   what about the other browns?
Peru