Did some digging, but not finding a good explanation or schematic for it, only that it seems to be called a "split lipo with interconnect". So it would seem that the yellow wires can be wired together to give you the 8S output, or you use a yellow and black or yellow and red to have it be 2 4S packs.
Since there isn't anything on the leads telling you what's what, you need to use a volt meter to check the leads and label them yourself.
I found similar packs here:
https://www.thunderpowerrc.com/products/tp5000-7se55?_pos=8&_sid=c38a015a0&_ss=r
However, the fact that yours has 6 pin balance leads is still confusing... since that would suggest it's 2x5S (10S total) pack.
Might help if you post a closer up photo of the wires as well.
You may really have to wait until hacker gets back to you, unless you find someone that has that specific battery. If you had a volt meter, you could at least try to check some things out yourself.