Code:
; 141 :
; 142 : // Make alpha in the range 0 to 1
; 143 : textAlpha = _mm_div_ps(textAlpha, temp);
movaps xmm0, XMMWORD PTR _temp$18605[ebp]
movaps xmm1, XMMWORD PTR _textAlpha$18597[ebp]
divps xmm1, xmm0
movaps XMMWORD PTR $T18607[ebp], xmm1
movaps xmm0, XMMWORD PTR $T18607[ebp]
movaps XMMWORD PTR _textAlpha$18597[ebp], xmm0
// Why not just store xmm1 in_textAlpha$18597[ebp]
; 144 :
; 145 : // Blue
; 146 : temp = _mm_sub_ps(textBlue, screenBlue);
movaps xmm0, XMMWORD PTR _screenBlue$18599[ebp]
movaps xmm1, XMMWORD PTR _textBlue$18591[ebp]
subps xmm1, xmm0
movaps XMMWORD PTR $T18608[ebp], xmm1
movaps xmm0, XMMWORD PTR $T18608[ebp]
movaps XMMWORD PTR _temp$18605[ebp], xmm0
// As above.
; 147 : temp = _mm_mul_ps(temp,textAlpha);
movaps xmm0, XMMWORD PTR _textAlpha$18597[ebp]
movaps xmm1, XMMWORD PTR _temp$18605[ebp]
mulps xmm1, xmm0
movaps XMMWORD PTR $T18609[ebp], xmm1
movaps xmm0, XMMWORD PTR $T18609[ebp]
movaps XMMWORD PTR _temp$18605[ebp], xmm0
; 148 : temp = _mm_add_ps(temp, screenBlue);
movaps xmm0, XMMWORD PTR _screenBlue$18599[ebp]
movaps xmm1, XMMWORD PTR _temp$18605[ebp]
addps xmm1, xmm0
movaps XMMWORD PTR $T18610[ebp], xmm1
movaps xmm0, XMMWORD PTR $T18610[ebp]
movaps XMMWORD PTR _temp$18605[ebp], xmm0
; 149 :
; 150 : _mm_storeu_ps(blue, temp);
movaps xmm0, XMMWORD PTR _temp$18605[ebp]
movups XMMWORD PTR _blue$[ebp], xmm0
; 151 :
; 152 : // Green
; 153 : temp = _mm_sub_ps(textGreen, screenGreen);
movaps xmm0, XMMWORD PTR _screenGreen$18601[ebp]
movaps xmm1, XMMWORD PTR _textGreen$18593[ebp]
subps xmm1, xmm0
movaps XMMWORD PTR $T18611[ebp], xmm1
movaps xmm0, XMMWORD PTR $T18611[ebp]
movaps XMMWORD PTR _temp$18605[ebp], xmm0
; 154 : temp = _mm_mul_ps(temp,textAlpha);
movaps xmm0, XMMWORD PTR _textAlpha$18597[ebp]
movaps xmm1, XMMWORD PTR _temp$18605[ebp]
mulps xmm1, xmm0
movaps XMMWORD PTR $T18612[ebp], xmm1
movaps xmm0, XMMWORD PTR $T18612[ebp]
movaps XMMWORD PTR _temp$18605[ebp], xmm0
; 155 : temp = _mm_add_ps(temp, screenGreen);
movaps xmm0, XMMWORD PTR _screenGreen$18601[ebp]
movaps xmm1, XMMWORD PTR _temp$18605[ebp]
addps xmm1, xmm0
movaps XMMWORD PTR $T18613[ebp], xmm1
movaps xmm0, XMMWORD PTR $T18613[ebp]
movaps XMMWORD PTR _temp$18605[ebp], xmm0
; 156 :
; 157 : _mm_storeu_ps(green, temp);
movaps xmm0, XMMWORD PTR _temp$18605[ebp]
movups XMMWORD PTR _green$[ebp], xmm0
I could keep going with the above commens, but it's essentially just the same.