I\'m playing with some manual (walk-the-pixels) image processing, and I\'m recreating the standard \"overlay\" blend. I\'m looking at the \"Photoshop math\" macros here:
Just a guess, but I would try
resultA = 1 - (1-baseAlpha) * (1-blendAlpha)