For resistant starch, you can look up the "Potato Hack" or other similar things for popular information. There have been a large number of articles you can find on Google Scholar about cooking potatoes/rice/other things and cooling them to produce RS(resistant starch).
https://ift.onlinelibrary.wiley.com/doi/abs/10.1111/j.1541-4...
https://www.sciencedirect.com/science/article/abs/pii/092422...
https://www.sciencedirect.com/science/article/abs/pii/S09639...
etc. there are alot more. You can access them through sci-hub or your institution.