Gene codes offset is 8EDC8 in the save. And you don't really need even that much. I'm pretty sure you can max out all the legions with less than 100k.
yes it use less than 500k +/- , thanks for your help.
change it in the save or use this cheat:
[1 mil Genecode]
04000000 0A3151E0 000F4240
[500k Genecode]
04000000 0A3151E0 0007A120
[5k Genecode]
04000000 0A3151E0 00001388
thank you, will try it out.