You give RAW too much credit.
BD and Maldives are closer racially to India than Pakistan, hence why it was easy for India to control them.
Maldives was an interesting case, but it can change in the future. As for Indonesia and Malaysia, they are both closer to Pakistan even now. It is quite interesting, let's see what Maldives future holds.
Look at Afghanistan or Occupied Kashmir, which are both racially closer to Pakistan, and see the abysmal failure of Indian foreign policy.
The mistake Pakistan made in its founding is the notion that all Muslims have the same goals, that is simply not true. Some Muslims genuinely want to see the strengthening of Muslims worldwide, others are content with playing puppets of Kuffar, while others still will shortsightedly backstab other Muslims for a minor advantage.
This is why we love Turks, they are real Muslims who want the best for other Muslims, unlike backstabbers KSA, UAE, and Iran.
Change your flags, Gangu.