@Lindon it is zero based so in fact 25 not 24.
This means there are 25/5 param per "real" band
So my guess is that:
Band 0 is Gain
Band 1 is Freq
Band 2 is Q or Enabled
Band 3 is Q or Enabled
Band 4 is Type
They effectively could have been named more appropriately
So without saying this is what you should do since there might be a better solution for your use case, you have the possibility to parse those bands numbers (modulo 5) and retrieve the values