Advertisement
Guest User

Untitled

a guest
Oct 1st, 2012
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 56.18 KB | None | 0 0
  1. ; Listing generated by Microsoft (R) Optimizing Compiler Version 15.00.30729.01
  2.  
  3.     TITLE   e:\work\ttt2222\6666\6666\6666.cpp
  4.     .686P
  5.     .XMM
  6.     include listing.inc
  7.     .model  flat
  8.  
  9. INCLUDELIB OLDNAMES
  10.  
  11. PUBLIC  ?transformPointNormal4x3Weight_NoW@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@@Z ; transformPointNormal4x3Weight_NoW
  12. PUBLIC  ?transformPointNormal4x3Weight@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z ; transformPointNormal4x3Weight
  13. PUBLIC  ?transformPointNormal4x3AddWeighted@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z ; transformPointNormal4x3AddWeighted
  14. PUBLIC  ?ProcessVertex@@YAXIPBUPN4f@@PBUVec4f@@PBUVec4uc@@PBUMatrix44f@@PAUPN@@I@Z ; ProcessVertex
  15. EXTRN   @__security_check_cookie@4:PROC
  16. EXTRN   __fltused:DWORD
  17. ; Function compile flags: /Ogtpy
  18. ; File c:\program files (x86)\gnu tools arm embedded\4.6 2012q2\bin\baserenderscene_math2.cpp
  19. ;   COMDAT ?transformPointNormal4x3AddWeighted@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z
  20. _TEXT   SEGMENT
  21. _mat$ = 8                       ; size = 4
  22. _w$ = 12                        ; size = 4
  23. ?transformPointNormal4x3AddWeighted@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z PROC ; transformPointNormal4x3AddWeighted, COMDAT
  24. ; _pVerticiesNormals$ = ecx
  25. ; _outPN$ = edx
  26.  
  27. ; 70   : {
  28.  
  29.   00000 8b 44 24 04  mov     eax, DWORD PTR _mat$[esp-4]
  30.  
  31. ; 71   :    outPN.p.vec[0] += (pVerticiesNormals[0].vec[0]*mat.mat[0][0] + pVerticiesNormals[0].vec[1]*mat.mat[1][0] + pVerticiesNormals[0].vec[2]*mat.mat[2][0] + mat.mat[3][0])*w;
  32.  
  33.   00004 f3 0f 10 00  movss   xmm0, DWORD PTR [eax]
  34.   00008 f3 0f 10 51 04   movss   xmm2, DWORD PTR [ecx+4]
  35.   0000d 0f 5a d2     cvtps2pd xmm2, xmm2
  36.   00010 0f 5a c8     cvtps2pd xmm1, xmm0
  37.   00013 f3 0f 10 01  movss   xmm0, DWORD PTR [ecx]
  38.   00017 0f 5a c0     cvtps2pd xmm0, xmm0
  39.   0001a f2 0f 59 c8  mulsd   xmm1, xmm0
  40.   0001e f3 0f 10 40 10   movss   xmm0, DWORD PTR [eax+16]
  41.   00023 0f 5a c0     cvtps2pd xmm0, xmm0
  42.   00026 f2 0f 59 c2  mulsd   xmm0, xmm2
  43.   0002a f3 0f 10 51 08   movss   xmm2, DWORD PTR [ecx+8]
  44.   0002f f2 0f 58 c8  addsd   xmm1, xmm0
  45.   00033 f3 0f 10 40 20   movss   xmm0, DWORD PTR [eax+32]
  46.   00038 0f 5a d2     cvtps2pd xmm2, xmm2
  47.   0003b 0f 5a c0     cvtps2pd xmm0, xmm0
  48.   0003e f2 0f 59 c2  mulsd   xmm0, xmm2
  49.   00042 f2 0f 58 c8  addsd   xmm1, xmm0
  50.   00046 f3 0f 10 40 30   movss   xmm0, DWORD PTR [eax+48]
  51.   0004b 0f 5a c0     cvtps2pd xmm0, xmm0
  52.   0004e f2 0f 58 c8  addsd   xmm1, xmm0
  53.   00052 f3 0f 10 44 24
  54.     08       movss   xmm0, DWORD PTR _w$[esp-4]
  55.   00058 0f 5a d0     cvtps2pd xmm2, xmm0
  56.   0005b f2 0f 59 ca  mulsd   xmm1, xmm2
  57.   0005f f3 0f 10 12  movss   xmm2, DWORD PTR [edx]
  58.   00063 0f 5a d2     cvtps2pd xmm2, xmm2
  59.   00066 f2 0f 58 ca  addsd   xmm1, xmm2
  60.   0006a f2 0f 5a c9  cvtsd2ss xmm1, xmm1
  61.   0006e f3 0f 11 0a  movss   DWORD PTR [edx], xmm1
  62.  
  63. ; 72   :    outPN.n.vec[0] += (pVerticiesNormals[1].vec[0]*mat.mat[0][0] + pVerticiesNormals[1].vec[1]*mat.mat[1][0] + pVerticiesNormals[1].vec[2]*mat.mat[2][0])*w;
  64.  
  65.   00072 f3 0f 10 48 10   movss   xmm1, DWORD PTR [eax+16]
  66.   00077 f3 0f 10 51 14   movss   xmm2, DWORD PTR [ecx+20]
  67.   0007c f3 0f 10 59 10   movss   xmm3, DWORD PTR [ecx+16]
  68.   00081 0f 5a d2     cvtps2pd xmm2, xmm2
  69.   00084 0f 5a c9     cvtps2pd xmm1, xmm1
  70.   00087 f2 0f 59 ca  mulsd   xmm1, xmm2
  71.   0008b f3 0f 10 10  movss   xmm2, DWORD PTR [eax]
  72.   0008f 0f 5a d2     cvtps2pd xmm2, xmm2
  73.   00092 0f 5a db     cvtps2pd xmm3, xmm3
  74.   00095 f2 0f 59 d3  mulsd   xmm2, xmm3
  75.   00099 f3 0f 10 58 20   movss   xmm3, DWORD PTR [eax+32]
  76.   0009e f2 0f 58 ca  addsd   xmm1, xmm2
  77.   000a2 f3 0f 10 51 18   movss   xmm2, DWORD PTR [ecx+24]
  78.   000a7 0f 5a d2     cvtps2pd xmm2, xmm2
  79.   000aa 0f 5a db     cvtps2pd xmm3, xmm3
  80.   000ad f2 0f 59 d3  mulsd   xmm2, xmm3
  81.   000b1 f2 0f 58 ca  addsd   xmm1, xmm2
  82.   000b5 0f 5a d0     cvtps2pd xmm2, xmm0
  83.   000b8 f2 0f 59 ca  mulsd   xmm1, xmm2
  84.   000bc f3 0f 10 52 0c   movss   xmm2, DWORD PTR [edx+12]
  85.   000c1 0f 5a d2     cvtps2pd xmm2, xmm2
  86.   000c4 f2 0f 58 ca  addsd   xmm1, xmm2
  87.   000c8 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  88.   000cc f3 0f 11 4a 0c   movss   DWORD PTR [edx+12], xmm1
  89.  
  90. ; 73   :    
  91. ; 74   :    outPN.p.vec[1] += (pVerticiesNormals[0].vec[0]*mat.mat[0][1] + pVerticiesNormals[0].vec[1]*mat.mat[1][1] + pVerticiesNormals[0].vec[2]*mat.mat[2][1] + mat.mat[3][1])*w;
  92.  
  93.   000d1 f3 0f 10 48 14   movss   xmm1, DWORD PTR [eax+20]
  94.   000d6 f3 0f 10 51 04   movss   xmm2, DWORD PTR [ecx+4]
  95.   000db f3 0f 10 19  movss   xmm3, DWORD PTR [ecx]
  96.   000df 0f 5a d2     cvtps2pd xmm2, xmm2
  97.   000e2 0f 5a c9     cvtps2pd xmm1, xmm1
  98.   000e5 f2 0f 59 ca  mulsd   xmm1, xmm2
  99.   000e9 f3 0f 10 50 04   movss   xmm2, DWORD PTR [eax+4]
  100.   000ee 0f 5a d2     cvtps2pd xmm2, xmm2
  101.   000f1 0f 5a db     cvtps2pd xmm3, xmm3
  102.   000f4 f2 0f 59 d3  mulsd   xmm2, xmm3
  103.   000f8 f3 0f 10 58 24   movss   xmm3, DWORD PTR [eax+36]
  104.   000fd f2 0f 58 ca  addsd   xmm1, xmm2
  105.   00101 f3 0f 10 51 08   movss   xmm2, DWORD PTR [ecx+8]
  106.   00106 0f 5a d2     cvtps2pd xmm2, xmm2
  107.   00109 0f 5a db     cvtps2pd xmm3, xmm3
  108.   0010c f2 0f 59 d3  mulsd   xmm2, xmm3
  109.   00110 f2 0f 58 ca  addsd   xmm1, xmm2
  110.   00114 f3 0f 10 50 34   movss   xmm2, DWORD PTR [eax+52]
  111.   00119 0f 5a d2     cvtps2pd xmm2, xmm2
  112.   0011c f2 0f 58 ca  addsd   xmm1, xmm2
  113.   00120 0f 5a d0     cvtps2pd xmm2, xmm0
  114.   00123 f2 0f 59 ca  mulsd   xmm1, xmm2
  115.   00127 f3 0f 10 52 04   movss   xmm2, DWORD PTR [edx+4]
  116.   0012c 0f 5a d2     cvtps2pd xmm2, xmm2
  117.   0012f f2 0f 58 ca  addsd   xmm1, xmm2
  118.   00133 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  119.   00137 f3 0f 11 4a 04   movss   DWORD PTR [edx+4], xmm1
  120.  
  121. ; 75   :    outPN.n.vec[1] += (pVerticiesNormals[1].vec[0]*mat.mat[0][1] + pVerticiesNormals[1].vec[1]*mat.mat[1][1] + pVerticiesNormals[1].vec[2]*mat.mat[2][1])*w;
  122.  
  123.   0013c f3 0f 10 48 14   movss   xmm1, DWORD PTR [eax+20]
  124.   00141 f3 0f 10 51 14   movss   xmm2, DWORD PTR [ecx+20]
  125.   00146 f3 0f 10 59 10   movss   xmm3, DWORD PTR [ecx+16]
  126.   0014b 0f 5a d2     cvtps2pd xmm2, xmm2
  127.   0014e 0f 5a c9     cvtps2pd xmm1, xmm1
  128.   00151 f2 0f 59 ca  mulsd   xmm1, xmm2
  129.   00155 f3 0f 10 50 04   movss   xmm2, DWORD PTR [eax+4]
  130.   0015a 0f 5a d2     cvtps2pd xmm2, xmm2
  131.   0015d 0f 5a db     cvtps2pd xmm3, xmm3
  132.   00160 f2 0f 59 d3  mulsd   xmm2, xmm3
  133.   00164 f2 0f 58 ca  addsd   xmm1, xmm2
  134.   00168 f3 0f 10 51 18   movss   xmm2, DWORD PTR [ecx+24]
  135.   0016d f3 0f 10 58 24   movss   xmm3, DWORD PTR [eax+36]
  136.   00172 0f 5a d2     cvtps2pd xmm2, xmm2
  137.   00175 0f 5a db     cvtps2pd xmm3, xmm3
  138.   00178 f2 0f 59 d3  mulsd   xmm2, xmm3
  139.   0017c f2 0f 58 ca  addsd   xmm1, xmm2
  140.   00180 0f 5a d0     cvtps2pd xmm2, xmm0
  141.   00183 f2 0f 59 ca  mulsd   xmm1, xmm2
  142.   00187 f3 0f 10 52 10   movss   xmm2, DWORD PTR [edx+16]
  143.   0018c 0f 5a d2     cvtps2pd xmm2, xmm2
  144.   0018f f2 0f 58 ca  addsd   xmm1, xmm2
  145.   00193 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  146.   00197 f3 0f 11 4a 10   movss   DWORD PTR [edx+16], xmm1
  147.  
  148. ; 76   :    
  149. ; 77   :    outPN.p.vec[2] += (pVerticiesNormals[0].vec[0]*mat.mat[0][2] + pVerticiesNormals[0].vec[1]*mat.mat[1][2] + pVerticiesNormals[0].vec[2]*mat.mat[2][2] + mat.mat[3][2])*w;
  150.  
  151.   0019c f3 0f 10 09  movss   xmm1, DWORD PTR [ecx]
  152.   001a0 f3 0f 10 50 08   movss   xmm2, DWORD PTR [eax+8]
  153.   001a5 f3 0f 10 59 04   movss   xmm3, DWORD PTR [ecx+4]
  154.   001aa 0f 5a d2     cvtps2pd xmm2, xmm2
  155.   001ad 0f 5a c9     cvtps2pd xmm1, xmm1
  156.   001b0 f2 0f 59 ca  mulsd   xmm1, xmm2
  157.   001b4 f3 0f 10 50 18   movss   xmm2, DWORD PTR [eax+24]
  158.   001b9 0f 5a d2     cvtps2pd xmm2, xmm2
  159.   001bc 0f 5a db     cvtps2pd xmm3, xmm3
  160.   001bf f2 0f 59 d3  mulsd   xmm2, xmm3
  161.   001c3 f3 0f 10 59 08   movss   xmm3, DWORD PTR [ecx+8]
  162.   001c8 f2 0f 58 ca  addsd   xmm1, xmm2
  163.   001cc f3 0f 10 50 28   movss   xmm2, DWORD PTR [eax+40]
  164.   001d1 0f 5a d2     cvtps2pd xmm2, xmm2
  165.   001d4 0f 5a db     cvtps2pd xmm3, xmm3
  166.   001d7 f2 0f 59 d3  mulsd   xmm2, xmm3
  167.   001db f2 0f 58 ca  addsd   xmm1, xmm2
  168.   001df f3 0f 10 50 38   movss   xmm2, DWORD PTR [eax+56]
  169.   001e4 0f 5a d2     cvtps2pd xmm2, xmm2
  170.   001e7 f2 0f 58 ca  addsd   xmm1, xmm2
  171.   001eb 0f 5a d0     cvtps2pd xmm2, xmm0
  172.   001ee f2 0f 59 ca  mulsd   xmm1, xmm2
  173.   001f2 f3 0f 10 52 08   movss   xmm2, DWORD PTR [edx+8]
  174.   001f7 0f 5a d2     cvtps2pd xmm2, xmm2
  175.   001fa f2 0f 58 ca  addsd   xmm1, xmm2
  176.   001fe 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  177.   00202 f3 0f 11 4a 08   movss   DWORD PTR [edx+8], xmm1
  178.  
  179. ; 78   :    outPN.n.vec[2] += (pVerticiesNormals[1].vec[0]*mat.mat[0][2] + pVerticiesNormals[1].vec[1]*mat.mat[1][2] + pVerticiesNormals[1].vec[2]*mat.mat[2][2])*w;
  180.  
  181.   00207 f3 0f 10 48 08   movss   xmm1, DWORD PTR [eax+8]
  182.   0020c f3 0f 10 51 10   movss   xmm2, DWORD PTR [ecx+16]
  183.   00211 f3 0f 10 59 14   movss   xmm3, DWORD PTR [ecx+20]
  184.   00216 0f 5a d2     cvtps2pd xmm2, xmm2
  185.   00219 0f 5a c9     cvtps2pd xmm1, xmm1
  186.   0021c f2 0f 59 ca  mulsd   xmm1, xmm2
  187.   00220 f3 0f 10 50 18   movss   xmm2, DWORD PTR [eax+24]
  188.   00225 0f 5a d2     cvtps2pd xmm2, xmm2
  189.   00228 0f 5a db     cvtps2pd xmm3, xmm3
  190.   0022b f2 0f 59 d3  mulsd   xmm2, xmm3
  191.   0022f f3 0f 10 59 18   movss   xmm3, DWORD PTR [ecx+24]
  192.   00234 f2 0f 58 ca  addsd   xmm1, xmm2
  193.   00238 f3 0f 10 50 28   movss   xmm2, DWORD PTR [eax+40]
  194.   0023d 0f 5a c0     cvtps2pd xmm0, xmm0
  195.   00240 0f 5a d2     cvtps2pd xmm2, xmm2
  196.   00243 0f 5a db     cvtps2pd xmm3, xmm3
  197.   00246 f2 0f 59 d3  mulsd   xmm2, xmm3
  198.   0024a f2 0f 58 ca  addsd   xmm1, xmm2
  199.   0024e f2 0f 59 c8  mulsd   xmm1, xmm0
  200.   00252 f3 0f 10 42 14   movss   xmm0, DWORD PTR [edx+20]
  201.   00257 0f 5a c0     cvtps2pd xmm0, xmm0
  202.   0025a f2 0f 58 c8  addsd   xmm1, xmm0
  203.   0025e 66 0f 5a c1  cvtpd2ps xmm0, xmm1
  204.   00262 f3 0f 11 42 14   movss   DWORD PTR [edx+20], xmm0
  205.  
  206. ; 79   : }
  207.  
  208.   00267 c3       ret     0
  209. ?transformPointNormal4x3AddWeighted@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z ENDP ; transformPointNormal4x3AddWeighted
  210. ; Function compile flags: /Ogtpy
  211. _TEXT   ENDS
  212. ;   COMDAT ?transformPointNormal4x3Weight@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z
  213. _TEXT   SEGMENT
  214. _mat$ = 8                       ; size = 4
  215. _w$ = 12                        ; size = 4
  216. ?transformPointNormal4x3Weight@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z PROC ; transformPointNormal4x3Weight, COMDAT
  217. ; _pVerticiesNormals$ = ecx
  218. ; _outPN$ = edx
  219.  
  220. ; 57   : {
  221.  
  222.   00000 8b 44 24 04  mov     eax, DWORD PTR _mat$[esp-4]
  223.  
  224. ; 58   :    outPN.p.vec[0] = (pVerticiesNormals[0].vec[0]*mat.mat[0][0] + pVerticiesNormals[0].vec[1]*mat.mat[1][0] + pVerticiesNormals[0].vec[2]*mat.mat[2][0] + mat.mat[3][0])*w;
  225.  
  226.   00004 f3 0f 10 00  movss   xmm0, DWORD PTR [eax]
  227.   00008 f3 0f 10 51 04   movss   xmm2, DWORD PTR [ecx+4]
  228.   0000d 0f 5a d2     cvtps2pd xmm2, xmm2
  229.   00010 0f 5a c8     cvtps2pd xmm1, xmm0
  230.   00013 f3 0f 10 01  movss   xmm0, DWORD PTR [ecx]
  231.   00017 0f 5a c0     cvtps2pd xmm0, xmm0
  232.   0001a f2 0f 59 c8  mulsd   xmm1, xmm0
  233.   0001e f3 0f 10 40 10   movss   xmm0, DWORD PTR [eax+16]
  234.   00023 0f 5a c0     cvtps2pd xmm0, xmm0
  235.   00026 f2 0f 59 c2  mulsd   xmm0, xmm2
  236.   0002a f3 0f 10 51 08   movss   xmm2, DWORD PTR [ecx+8]
  237.   0002f f2 0f 58 c8  addsd   xmm1, xmm0
  238.   00033 f3 0f 10 40 20   movss   xmm0, DWORD PTR [eax+32]
  239.   00038 0f 5a d2     cvtps2pd xmm2, xmm2
  240.   0003b 0f 5a c0     cvtps2pd xmm0, xmm0
  241.   0003e f2 0f 59 c2  mulsd   xmm0, xmm2
  242.   00042 f2 0f 58 c8  addsd   xmm1, xmm0
  243.   00046 f3 0f 10 40 30   movss   xmm0, DWORD PTR [eax+48]
  244.   0004b 0f 5a c0     cvtps2pd xmm0, xmm0
  245.   0004e f2 0f 58 c8  addsd   xmm1, xmm0
  246.   00052 f3 0f 10 44 24
  247.     08       movss   xmm0, DWORD PTR _w$[esp-4]
  248.   00058 0f 5a d0     cvtps2pd xmm2, xmm0
  249.   0005b f2 0f 59 ca  mulsd   xmm1, xmm2
  250.   0005f f2 0f 5a c9  cvtsd2ss xmm1, xmm1
  251.   00063 f3 0f 11 0a  movss   DWORD PTR [edx], xmm1
  252.  
  253. ; 59   :    outPN.n.vec[0] = (pVerticiesNormals[1].vec[0]*mat.mat[0][0] + pVerticiesNormals[1].vec[1]*mat.mat[1][0] + pVerticiesNormals[1].vec[2]*mat.mat[2][0])*w;
  254.  
  255.   00067 f3 0f 10 49 10   movss   xmm1, DWORD PTR [ecx+16]
  256.   0006c f3 0f 10 10  movss   xmm2, DWORD PTR [eax]
  257.   00070 f3 0f 10 58 10   movss   xmm3, DWORD PTR [eax+16]
  258.   00075 0f 5a d2     cvtps2pd xmm2, xmm2
  259.   00078 0f 5a c9     cvtps2pd xmm1, xmm1
  260.   0007b f2 0f 59 ca  mulsd   xmm1, xmm2
  261.   0007f f3 0f 10 51 14   movss   xmm2, DWORD PTR [ecx+20]
  262.   00084 0f 5a d2     cvtps2pd xmm2, xmm2
  263.   00087 0f 5a db     cvtps2pd xmm3, xmm3
  264.   0008a f2 0f 59 d3  mulsd   xmm2, xmm3
  265.   0008e f2 0f 58 ca  addsd   xmm1, xmm2
  266.   00092 f3 0f 10 50 20   movss   xmm2, DWORD PTR [eax+32]
  267.   00097 f3 0f 10 59 18   movss   xmm3, DWORD PTR [ecx+24]
  268.   0009c 0f 5a d2     cvtps2pd xmm2, xmm2
  269.   0009f 0f 5a db     cvtps2pd xmm3, xmm3
  270.   000a2 f2 0f 59 d3  mulsd   xmm2, xmm3
  271.   000a6 f2 0f 58 ca  addsd   xmm1, xmm2
  272.   000aa 0f 5a d0     cvtps2pd xmm2, xmm0
  273.   000ad f2 0f 59 ca  mulsd   xmm1, xmm2
  274.   000b1 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  275.   000b5 f3 0f 11 4a 0c   movss   DWORD PTR [edx+12], xmm1
  276.  
  277. ; 60   :    
  278. ; 61   :    outPN.p.vec[1] = (pVerticiesNormals[0].vec[0]*mat.mat[0][1] + pVerticiesNormals[0].vec[1]*mat.mat[1][1] + pVerticiesNormals[0].vec[2]*mat.mat[2][1] + mat.mat[3][1])*w;
  279.  
  280.   000ba f3 0f 10 48 14   movss   xmm1, DWORD PTR [eax+20]
  281.   000bf f3 0f 10 51 04   movss   xmm2, DWORD PTR [ecx+4]
  282.   000c4 f3 0f 10 58 04   movss   xmm3, DWORD PTR [eax+4]
  283.   000c9 0f 5a d2     cvtps2pd xmm2, xmm2
  284.   000cc 0f 5a c9     cvtps2pd xmm1, xmm1
  285.   000cf f2 0f 59 ca  mulsd   xmm1, xmm2
  286.   000d3 f3 0f 10 11  movss   xmm2, DWORD PTR [ecx]
  287.   000d7 0f 5a d2     cvtps2pd xmm2, xmm2
  288.   000da 0f 5a db     cvtps2pd xmm3, xmm3
  289.   000dd f2 0f 59 d3  mulsd   xmm2, xmm3
  290.   000e1 f3 0f 10 59 08   movss   xmm3, DWORD PTR [ecx+8]
  291.   000e6 f2 0f 58 ca  addsd   xmm1, xmm2
  292.   000ea f3 0f 10 50 24   movss   xmm2, DWORD PTR [eax+36]
  293.   000ef 0f 5a d2     cvtps2pd xmm2, xmm2
  294.   000f2 0f 5a db     cvtps2pd xmm3, xmm3
  295.   000f5 f2 0f 59 d3  mulsd   xmm2, xmm3
  296.   000f9 f2 0f 58 ca  addsd   xmm1, xmm2
  297.   000fd f3 0f 10 50 34   movss   xmm2, DWORD PTR [eax+52]
  298.   00102 0f 5a d2     cvtps2pd xmm2, xmm2
  299.   00105 f2 0f 58 ca  addsd   xmm1, xmm2
  300.   00109 0f 5a d0     cvtps2pd xmm2, xmm0
  301.   0010c f2 0f 59 ca  mulsd   xmm1, xmm2
  302.   00110 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  303.   00114 f3 0f 11 4a 04   movss   DWORD PTR [edx+4], xmm1
  304.  
  305. ; 62   :    outPN.n.vec[1] = (pVerticiesNormals[1].vec[0]*mat.mat[0][1] + pVerticiesNormals[1].vec[1]*mat.mat[1][1] + pVerticiesNormals[1].vec[2]*mat.mat[2][1])*w;
  306.  
  307.   00119 f3 0f 10 49 10   movss   xmm1, DWORD PTR [ecx+16]
  308.   0011e f3 0f 10 50 04   movss   xmm2, DWORD PTR [eax+4]
  309.   00123 f3 0f 10 59 14   movss   xmm3, DWORD PTR [ecx+20]
  310.   00128 0f 5a d2     cvtps2pd xmm2, xmm2
  311.   0012b 0f 5a c9     cvtps2pd xmm1, xmm1
  312.   0012e f2 0f 59 ca  mulsd   xmm1, xmm2
  313.   00132 f3 0f 10 50 14   movss   xmm2, DWORD PTR [eax+20]
  314.   00137 0f 5a d2     cvtps2pd xmm2, xmm2
  315.   0013a 0f 5a db     cvtps2pd xmm3, xmm3
  316.   0013d f2 0f 59 d3  mulsd   xmm2, xmm3
  317.   00141 f2 0f 58 ca  addsd   xmm1, xmm2
  318.   00145 f3 0f 10 50 24   movss   xmm2, DWORD PTR [eax+36]
  319.   0014a f3 0f 10 59 18   movss   xmm3, DWORD PTR [ecx+24]
  320.   0014f 0f 5a d2     cvtps2pd xmm2, xmm2
  321.   00152 0f 5a db     cvtps2pd xmm3, xmm3
  322.   00155 f2 0f 59 d3  mulsd   xmm2, xmm3
  323.   00159 f2 0f 58 ca  addsd   xmm1, xmm2
  324.   0015d 0f 5a d0     cvtps2pd xmm2, xmm0
  325.   00160 f2 0f 59 ca  mulsd   xmm1, xmm2
  326.   00164 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  327.   00168 f3 0f 11 4a 10   movss   DWORD PTR [edx+16], xmm1
  328.  
  329. ; 63   :    
  330. ; 64   :    outPN.p.vec[2] = (pVerticiesNormals[0].vec[0]*mat.mat[0][2] + pVerticiesNormals[0].vec[1]*mat.mat[1][2] + pVerticiesNormals[0].vec[2]*mat.mat[2][2] + mat.mat[3][2])*w;
  331.  
  332.   0016d f3 0f 10 09  movss   xmm1, DWORD PTR [ecx]
  333.   00171 f3 0f 10 50 08   movss   xmm2, DWORD PTR [eax+8]
  334.   00176 f3 0f 10 59 04   movss   xmm3, DWORD PTR [ecx+4]
  335.   0017b 0f 5a d2     cvtps2pd xmm2, xmm2
  336.   0017e 0f 5a c9     cvtps2pd xmm1, xmm1
  337.   00181 f2 0f 59 ca  mulsd   xmm1, xmm2
  338.   00185 f3 0f 10 50 18   movss   xmm2, DWORD PTR [eax+24]
  339.   0018a 0f 5a d2     cvtps2pd xmm2, xmm2
  340.   0018d 0f 5a db     cvtps2pd xmm3, xmm3
  341.   00190 f2 0f 59 d3  mulsd   xmm2, xmm3
  342.   00194 f3 0f 10 59 08   movss   xmm3, DWORD PTR [ecx+8]
  343.   00199 f2 0f 58 ca  addsd   xmm1, xmm2
  344.   0019d f3 0f 10 50 28   movss   xmm2, DWORD PTR [eax+40]
  345.   001a2 0f 5a d2     cvtps2pd xmm2, xmm2
  346.   001a5 0f 5a db     cvtps2pd xmm3, xmm3
  347.   001a8 f2 0f 59 d3  mulsd   xmm2, xmm3
  348.   001ac f2 0f 58 ca  addsd   xmm1, xmm2
  349.   001b0 f3 0f 10 50 38   movss   xmm2, DWORD PTR [eax+56]
  350.   001b5 0f 5a d2     cvtps2pd xmm2, xmm2
  351.   001b8 f2 0f 58 ca  addsd   xmm1, xmm2
  352.   001bc 0f 5a d0     cvtps2pd xmm2, xmm0
  353.   001bf f2 0f 59 ca  mulsd   xmm1, xmm2
  354.   001c3 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  355.   001c7 f3 0f 11 4a 08   movss   DWORD PTR [edx+8], xmm1
  356.  
  357. ; 65   :    outPN.n.vec[2] = (pVerticiesNormals[1].vec[0]*mat.mat[0][2] + pVerticiesNormals[1].vec[1]*mat.mat[1][2] + pVerticiesNormals[1].vec[2]*mat.mat[2][2])*w;
  358.  
  359.   001cc f3 0f 10 49 14   movss   xmm1, DWORD PTR [ecx+20]
  360.   001d1 f3 0f 10 50 18   movss   xmm2, DWORD PTR [eax+24]
  361.   001d6 f3 0f 10 58 08   movss   xmm3, DWORD PTR [eax+8]
  362.   001db 0f 5a d2     cvtps2pd xmm2, xmm2
  363.   001de 0f 5a c9     cvtps2pd xmm1, xmm1
  364.   001e1 f2 0f 59 ca  mulsd   xmm1, xmm2
  365.   001e5 f3 0f 10 51 10   movss   xmm2, DWORD PTR [ecx+16]
  366.   001ea 0f 5a d2     cvtps2pd xmm2, xmm2
  367.   001ed 0f 5a db     cvtps2pd xmm3, xmm3
  368.   001f0 f2 0f 59 d3  mulsd   xmm2, xmm3
  369.   001f4 f3 0f 10 59 18   movss   xmm3, DWORD PTR [ecx+24]
  370.   001f9 f2 0f 58 ca  addsd   xmm1, xmm2
  371.   001fd f3 0f 10 50 28   movss   xmm2, DWORD PTR [eax+40]
  372.   00202 0f 5a d2     cvtps2pd xmm2, xmm2
  373.   00205 0f 5a db     cvtps2pd xmm3, xmm3
  374.   00208 f2 0f 59 d3  mulsd   xmm2, xmm3
  375.   0020c 0f 5a c0     cvtps2pd xmm0, xmm0
  376.   0020f f2 0f 58 ca  addsd   xmm1, xmm2
  377.   00213 f2 0f 59 c8  mulsd   xmm1, xmm0
  378.   00217 66 0f 5a c1  cvtpd2ps xmm0, xmm1
  379.   0021b f3 0f 11 42 14   movss   DWORD PTR [edx+20], xmm0
  380.  
  381. ; 66   : }
  382.  
  383.   00220 c3       ret     0
  384. ?transformPointNormal4x3Weight@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@M@Z ENDP ; transformPointNormal4x3Weight
  385. ; Function compile flags: /Ogtpy
  386. _TEXT   ENDS
  387. ;   COMDAT ?transformPointNormal4x3Weight_NoW@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@@Z
  388. _TEXT   SEGMENT
  389. _mat$ = 8                       ; size = 4
  390. ?transformPointNormal4x3Weight_NoW@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@@Z PROC ; transformPointNormal4x3Weight_NoW, COMDAT
  391. ; _pVerticiesNormals$ = ecx
  392. ; _outPN$ = edx
  393.  
  394. ; 43   : {
  395.  
  396.   00000 8b 44 24 04  mov     eax, DWORD PTR _mat$[esp-4]
  397.  
  398. ; 44   :    outPN.p.vec[0] = (pVerticiesNormals[0].vec[0]*mat.mat[0][0] + pVerticiesNormals[0].vec[1]*mat.mat[1][0] + pVerticiesNormals[0].vec[2]*mat.mat[2][0] + mat.mat[3][0]);
  399.  
  400.   00004 f3 0f 10 00  movss   xmm0, DWORD PTR [eax]
  401.   00008 f3 0f 10 09  movss   xmm1, DWORD PTR [ecx]
  402.   0000c 0f 5a c9     cvtps2pd xmm1, xmm1
  403.   0000f f3 0f 10 51 04   movss   xmm2, DWORD PTR [ecx+4]
  404.   00014 0f 5a c0     cvtps2pd xmm0, xmm0
  405.   00017 f2 0f 59 c1  mulsd   xmm0, xmm1
  406.   0001b f3 0f 10 48 10   movss   xmm1, DWORD PTR [eax+16]
  407.   00020 0f 5a c9     cvtps2pd xmm1, xmm1
  408.   00023 0f 5a d2     cvtps2pd xmm2, xmm2
  409.   00026 f2 0f 59 ca  mulsd   xmm1, xmm2
  410.   0002a f2 0f 58 c1  addsd   xmm0, xmm1
  411.   0002e f3 0f 10 48 20   movss   xmm1, DWORD PTR [eax+32]
  412.   00033 f3 0f 10 51 08   movss   xmm2, DWORD PTR [ecx+8]
  413.   00038 0f 5a c9     cvtps2pd xmm1, xmm1
  414.   0003b 0f 5a d2     cvtps2pd xmm2, xmm2
  415.   0003e f2 0f 59 ca  mulsd   xmm1, xmm2
  416.   00042 f2 0f 58 c1  addsd   xmm0, xmm1
  417.   00046 f3 0f 10 48 30   movss   xmm1, DWORD PTR [eax+48]
  418.   0004b 0f 5a c9     cvtps2pd xmm1, xmm1
  419.   0004e f2 0f 58 c1  addsd   xmm0, xmm1
  420.   00052 66 0f 5a c0  cvtpd2ps xmm0, xmm0
  421.   00056 f3 0f 11 02  movss   DWORD PTR [edx], xmm0
  422.  
  423. ; 45   :    outPN.n.vec[0] = (pVerticiesNormals[1].vec[0]*mat.mat[0][0] + pVerticiesNormals[1].vec[1]*mat.mat[1][0] + pVerticiesNormals[1].vec[2]*mat.mat[2][0]);
  424.  
  425.   0005a f3 0f 10 41 14   movss   xmm0, DWORD PTR [ecx+20]
  426.   0005f f3 0f 10 48 10   movss   xmm1, DWORD PTR [eax+16]
  427.   00064 f3 0f 10 51 10   movss   xmm2, DWORD PTR [ecx+16]
  428.   00069 0f 5a c9     cvtps2pd xmm1, xmm1
  429.   0006c 0f 5a c0     cvtps2pd xmm0, xmm0
  430.   0006f f2 0f 59 c1  mulsd   xmm0, xmm1
  431.   00073 f3 0f 10 08  movss   xmm1, DWORD PTR [eax]
  432.   00077 0f 5a c9     cvtps2pd xmm1, xmm1
  433.   0007a 0f 5a d2     cvtps2pd xmm2, xmm2
  434.   0007d f2 0f 59 ca  mulsd   xmm1, xmm2
  435.   00081 f2 0f 58 c1  addsd   xmm0, xmm1
  436.   00085 f3 0f 10 49 18   movss   xmm1, DWORD PTR [ecx+24]
  437.   0008a f3 0f 10 50 20   movss   xmm2, DWORD PTR [eax+32]
  438.   0008f 0f 5a c9     cvtps2pd xmm1, xmm1
  439.   00092 0f 5a d2     cvtps2pd xmm2, xmm2
  440.   00095 f2 0f 59 ca  mulsd   xmm1, xmm2
  441.   00099 f2 0f 58 c1  addsd   xmm0, xmm1
  442.   0009d 66 0f 5a c0  cvtpd2ps xmm0, xmm0
  443.   000a1 f3 0f 11 42 0c   movss   DWORD PTR [edx+12], xmm0
  444.  
  445. ; 46   :    
  446. ; 47   :    outPN.p.vec[1] = (pVerticiesNormals[0].vec[0]*mat.mat[0][1] + pVerticiesNormals[0].vec[1]*mat.mat[1][1] + pVerticiesNormals[0].vec[2]*mat.mat[2][1] + mat.mat[3][1]);
  447.  
  448.   000a6 f3 0f 10 40 04   movss   xmm0, DWORD PTR [eax+4]
  449.   000ab f3 0f 10 09  movss   xmm1, DWORD PTR [ecx]
  450.   000af f3 0f 10 51 04   movss   xmm2, DWORD PTR [ecx+4]
  451.   000b4 0f 5a c9     cvtps2pd xmm1, xmm1
  452.   000b7 0f 5a c0     cvtps2pd xmm0, xmm0
  453.   000ba f2 0f 59 c1  mulsd   xmm0, xmm1
  454.   000be f3 0f 10 48 14   movss   xmm1, DWORD PTR [eax+20]
  455.   000c3 0f 5a c9     cvtps2pd xmm1, xmm1
  456.   000c6 0f 5a d2     cvtps2pd xmm2, xmm2
  457.   000c9 f2 0f 59 ca  mulsd   xmm1, xmm2
  458.   000cd f3 0f 10 51 08   movss   xmm2, DWORD PTR [ecx+8]
  459.   000d2 f2 0f 58 c1  addsd   xmm0, xmm1
  460.   000d6 f3 0f 10 48 24   movss   xmm1, DWORD PTR [eax+36]
  461.   000db 0f 5a c9     cvtps2pd xmm1, xmm1
  462.   000de 0f 5a d2     cvtps2pd xmm2, xmm2
  463.   000e1 f2 0f 59 ca  mulsd   xmm1, xmm2
  464.   000e5 f2 0f 58 c1  addsd   xmm0, xmm1
  465.   000e9 f3 0f 10 48 34   movss   xmm1, DWORD PTR [eax+52]
  466.   000ee 0f 5a c9     cvtps2pd xmm1, xmm1
  467.   000f1 f2 0f 58 c1  addsd   xmm0, xmm1
  468.   000f5 66 0f 5a c0  cvtpd2ps xmm0, xmm0
  469.   000f9 f3 0f 11 42 04   movss   DWORD PTR [edx+4], xmm0
  470.  
  471. ; 48   :    outPN.n.vec[1] = (pVerticiesNormals[1].vec[0]*mat.mat[0][1] + pVerticiesNormals[1].vec[1]*mat.mat[1][1] + pVerticiesNormals[1].vec[2]*mat.mat[2][1]);
  472.  
  473.   000fe f3 0f 10 41 14   movss   xmm0, DWORD PTR [ecx+20]
  474.   00103 f3 0f 10 48 14   movss   xmm1, DWORD PTR [eax+20]
  475.   00108 f3 0f 10 51 10   movss   xmm2, DWORD PTR [ecx+16]
  476.   0010d 0f 5a c9     cvtps2pd xmm1, xmm1
  477.   00110 0f 5a c0     cvtps2pd xmm0, xmm0
  478.   00113 f2 0f 59 c1  mulsd   xmm0, xmm1
  479.   00117 f3 0f 10 48 04   movss   xmm1, DWORD PTR [eax+4]
  480.   0011c 0f 5a c9     cvtps2pd xmm1, xmm1
  481.   0011f 0f 5a d2     cvtps2pd xmm2, xmm2
  482.   00122 f2 0f 59 ca  mulsd   xmm1, xmm2
  483.   00126 f3 0f 10 51 18   movss   xmm2, DWORD PTR [ecx+24]
  484.   0012b f2 0f 58 c1  addsd   xmm0, xmm1
  485.   0012f f3 0f 10 48 24   movss   xmm1, DWORD PTR [eax+36]
  486.   00134 0f 5a c9     cvtps2pd xmm1, xmm1
  487.   00137 0f 5a d2     cvtps2pd xmm2, xmm2
  488.   0013a f2 0f 59 ca  mulsd   xmm1, xmm2
  489.   0013e f2 0f 58 c1  addsd   xmm0, xmm1
  490.   00142 66 0f 5a c0  cvtpd2ps xmm0, xmm0
  491.   00146 f3 0f 11 42 10   movss   DWORD PTR [edx+16], xmm0
  492.  
  493. ; 49   :    
  494. ; 50   :    outPN.p.vec[2] = (pVerticiesNormals[0].vec[0]*mat.mat[0][2] + pVerticiesNormals[0].vec[1]*mat.mat[1][2] + pVerticiesNormals[0].vec[2]*mat.mat[2][2] + mat.mat[3][2]);
  495.  
  496.   0014b f3 0f 10 40 18   movss   xmm0, DWORD PTR [eax+24]
  497.   00150 f3 0f 10 49 04   movss   xmm1, DWORD PTR [ecx+4]
  498.   00155 f3 0f 10 50 08   movss   xmm2, DWORD PTR [eax+8]
  499.   0015a 0f 5a c9     cvtps2pd xmm1, xmm1
  500.   0015d 0f 5a c0     cvtps2pd xmm0, xmm0
  501.   00160 f2 0f 59 c1  mulsd   xmm0, xmm1
  502.   00164 f3 0f 10 09  movss   xmm1, DWORD PTR [ecx]
  503.   00168 0f 5a c9     cvtps2pd xmm1, xmm1
  504.   0016b 0f 5a d2     cvtps2pd xmm2, xmm2
  505.   0016e f2 0f 59 ca  mulsd   xmm1, xmm2
  506.   00172 f3 0f 10 51 08   movss   xmm2, DWORD PTR [ecx+8]
  507.   00177 f2 0f 58 c1  addsd   xmm0, xmm1
  508.   0017b f3 0f 10 48 28   movss   xmm1, DWORD PTR [eax+40]
  509.   00180 0f 5a c9     cvtps2pd xmm1, xmm1
  510.   00183 0f 5a d2     cvtps2pd xmm2, xmm2
  511.   00186 f2 0f 59 ca  mulsd   xmm1, xmm2
  512.   0018a f2 0f 58 c1  addsd   xmm0, xmm1
  513.   0018e f3 0f 10 48 38   movss   xmm1, DWORD PTR [eax+56]
  514.   00193 0f 5a c9     cvtps2pd xmm1, xmm1
  515.   00196 f2 0f 58 c1  addsd   xmm0, xmm1
  516.   0019a 66 0f 5a c0  cvtpd2ps xmm0, xmm0
  517.   0019e f3 0f 11 42 08   movss   DWORD PTR [edx+8], xmm0
  518.  
  519. ; 51   :    outPN.n.vec[2] = (pVerticiesNormals[1].vec[0]*mat.mat[0][2] + pVerticiesNormals[1].vec[1]*mat.mat[1][2] + pVerticiesNormals[1].vec[2]*mat.mat[2][2]);
  520.  
  521.   001a3 f3 0f 10 40 18   movss   xmm0, DWORD PTR [eax+24]
  522.   001a8 f3 0f 10 49 14   movss   xmm1, DWORD PTR [ecx+20]
  523.   001ad f3 0f 10 51 10   movss   xmm2, DWORD PTR [ecx+16]
  524.   001b2 0f 5a c9     cvtps2pd xmm1, xmm1
  525.   001b5 0f 5a c0     cvtps2pd xmm0, xmm0
  526.   001b8 f2 0f 59 c1  mulsd   xmm0, xmm1
  527.   001bc f3 0f 10 48 08   movss   xmm1, DWORD PTR [eax+8]
  528.   001c1 0f 5a c9     cvtps2pd xmm1, xmm1
  529.   001c4 0f 5a d2     cvtps2pd xmm2, xmm2
  530.   001c7 f2 0f 59 ca  mulsd   xmm1, xmm2
  531.   001cb f3 0f 10 51 18   movss   xmm2, DWORD PTR [ecx+24]
  532.   001d0 f2 0f 58 c1  addsd   xmm0, xmm1
  533.   001d4 f3 0f 10 48 28   movss   xmm1, DWORD PTR [eax+40]
  534.   001d9 0f 5a c9     cvtps2pd xmm1, xmm1
  535.   001dc 0f 5a d2     cvtps2pd xmm2, xmm2
  536.   001df f2 0f 59 ca  mulsd   xmm1, xmm2
  537.   001e3 f2 0f 58 c1  addsd   xmm0, xmm1
  538.   001e7 66 0f 5a c0  cvtpd2ps xmm0, xmm0
  539.   001eb f3 0f 11 42 14   movss   DWORD PTR [edx+20], xmm0
  540.  
  541. ; 52   : }
  542.  
  543.   001f0 c3       ret     0
  544. ?transformPointNormal4x3Weight_NoW@@YAXABUMatrix44f@@PBUVec4f@@AAUPN@@@Z ENDP ; transformPointNormal4x3Weight_NoW
  545. ; Function compile flags: /Ogtpy
  546. _TEXT   ENDS
  547. ;   COMDAT ?ProcessVertex@@YAXIPBUPN4f@@PBUVec4f@@PBUVec4uc@@PBUMatrix44f@@PAUPN@@I@Z
  548. _TEXT   SEGMENT
  549. _pVertexWeight$ = 8                 ; size = 4
  550. ?ProcessVertex@@YAXIPBUPN4f@@PBUVec4f@@PBUVec4uc@@PBUMatrix44f@@PAUPN@@I@Z PROC ; ProcessVertex, COMDAT
  551. ; _pVerticiesNormals$ = eax
  552. ; _pVertexBones$ = edi
  553. ; _pBoneTMList$ = esi
  554. ; _skinTempPN$ = ecx
  555.  
  556. ; 91   :    float w = pVertexWeight[v].vec[0];
  557. ; 92   :    int boneIndex = pVertexBones[v].vec[0];
  558. ; 93   :    const Matrix44f& boneTM = pBoneTMList[boneIndex];
  559.  
  560.   00000 0f b6 57 28  movzx   edx, BYTE PTR [edi+40]
  561.  
  562. ; 94   :    if( wCount==1 )
  563. ; 95   :    {
  564. ; 96   :        transformPointNormal4x3Weight_NoW(boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v]);
  565. ; 97   :    }
  566. ; 98   :    else
  567. ; 99   :    {
  568. ; 100  :        // 1st vertex without add
  569. ; 101  :        transformPointNormal4x3Weight(boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  570.  
  571.   00004 f3 0f 10 88 40
  572.     01 00 00     movss   xmm1, DWORD PTR [eax+320]
  573.   0000c 0f 5a c9     cvtps2pd xmm1, xmm1
  574.   0000f c1 e2 06     shl     edx, 6
  575.   00012 f3 0f 10 14 32   movss   xmm2, DWORD PTR [edx+esi]
  576.   00017 f3 0f 10 5c 32
  577.     10       movss   xmm3, DWORD PTR [edx+esi+16]
  578.   0001d 0f 5a d2     cvtps2pd xmm2, xmm2
  579.   00020 f2 0f 59 ca  mulsd   xmm1, xmm2
  580.   00024 f3 0f 10 90 44
  581.     01 00 00     movss   xmm2, DWORD PTR [eax+324]
  582.   0002c 0f 5a d2     cvtps2pd xmm2, xmm2
  583.   0002f 03 d6        add     edx, esi
  584.   00031 0f 5a db     cvtps2pd xmm3, xmm3
  585.   00034 f2 0f 59 d3  mulsd   xmm2, xmm3
  586.   00038 f2 0f 58 ca  addsd   xmm1, xmm2
  587.   0003c f3 0f 10 90 48
  588.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  589.   00044 f3 0f 10 5a 20   movss   xmm3, DWORD PTR [edx+32]
  590.   00049 0f 5a d2     cvtps2pd xmm2, xmm2
  591.   0004c 0f 5a db     cvtps2pd xmm3, xmm3
  592.   0004f f2 0f 59 d3  mulsd   xmm2, xmm3
  593.   00053 f2 0f 58 ca  addsd   xmm1, xmm2
  594.   00057 f3 0f 10 52 30   movss   xmm2, DWORD PTR [edx+48]
  595.   0005c 0f 5a d2     cvtps2pd xmm2, xmm2
  596.   0005f f2 0f 58 ca  addsd   xmm1, xmm2
  597.   00063 53       push    ebx
  598.   00064 8b 5c 24 08  mov     ebx, DWORD PTR _pVertexWeight$[esp]
  599.   00068 f3 0f 10 83 a0
  600.     00 00 00     movss   xmm0, DWORD PTR [ebx+160]
  601.   00070 0f 5a d0     cvtps2pd xmm2, xmm0
  602.   00073 f2 0f 59 ca  mulsd   xmm1, xmm2
  603.   00077 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  604.   0007b f3 0f 11 89 f0
  605.     00 00 00     movss   DWORD PTR [ecx+240], xmm1
  606.   00083 f3 0f 10 88 54
  607.     01 00 00     movss   xmm1, DWORD PTR [eax+340]
  608.   0008b f3 0f 10 52 10   movss   xmm2, DWORD PTR [edx+16]
  609.   00090 f3 0f 10 1a  movss   xmm3, DWORD PTR [edx]
  610.   00094 0f 5a d2     cvtps2pd xmm2, xmm2
  611.   00097 0f 5a c9     cvtps2pd xmm1, xmm1
  612.   0009a f2 0f 59 ca  mulsd   xmm1, xmm2
  613.   0009e f3 0f 10 90 50
  614.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  615.   000a6 0f 5a d2     cvtps2pd xmm2, xmm2
  616.   000a9 0f 5a db     cvtps2pd xmm3, xmm3
  617.   000ac f2 0f 59 d3  mulsd   xmm2, xmm3
  618.   000b0 f3 0f 10 5a 20   movss   xmm3, DWORD PTR [edx+32]
  619.   000b5 f2 0f 58 ca  addsd   xmm1, xmm2
  620.   000b9 f3 0f 10 90 58
  621.     01 00 00     movss   xmm2, DWORD PTR [eax+344]
  622.   000c1 0f 5a d2     cvtps2pd xmm2, xmm2
  623.   000c4 0f 5a db     cvtps2pd xmm3, xmm3
  624.   000c7 f2 0f 59 d3  mulsd   xmm2, xmm3
  625.   000cb f2 0f 58 ca  addsd   xmm1, xmm2
  626.   000cf 0f 5a d0     cvtps2pd xmm2, xmm0
  627.   000d2 f2 0f 59 ca  mulsd   xmm1, xmm2
  628.   000d6 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  629.   000da f3 0f 11 89 fc
  630.     00 00 00     movss   DWORD PTR [ecx+252], xmm1
  631.   000e2 f3 0f 10 4a 04   movss   xmm1, DWORD PTR [edx+4]
  632.   000e7 f3 0f 10 90 40
  633.     01 00 00     movss   xmm2, DWORD PTR [eax+320]
  634.   000ef f3 0f 10 5a 14   movss   xmm3, DWORD PTR [edx+20]
  635.   000f4 0f 5a d2     cvtps2pd xmm2, xmm2
  636.   000f7 0f 5a c9     cvtps2pd xmm1, xmm1
  637.   000fa f2 0f 59 ca  mulsd   xmm1, xmm2
  638.   000fe f3 0f 10 90 44
  639.     01 00 00     movss   xmm2, DWORD PTR [eax+324]
  640.   00106 0f 5a d2     cvtps2pd xmm2, xmm2
  641.   00109 0f 5a db     cvtps2pd xmm3, xmm3
  642.   0010c f2 0f 59 d3  mulsd   xmm2, xmm3
  643.   00110 f3 0f 10 5a 24   movss   xmm3, DWORD PTR [edx+36]
  644.   00115 f2 0f 58 ca  addsd   xmm1, xmm2
  645.   00119 f3 0f 10 90 48
  646.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  647.   00121 0f 5a d2     cvtps2pd xmm2, xmm2
  648.   00124 0f 5a db     cvtps2pd xmm3, xmm3
  649.   00127 f2 0f 59 d3  mulsd   xmm2, xmm3
  650.   0012b f2 0f 58 ca  addsd   xmm1, xmm2
  651.   0012f f3 0f 10 52 34   movss   xmm2, DWORD PTR [edx+52]
  652.   00134 0f 5a d2     cvtps2pd xmm2, xmm2
  653.   00137 f2 0f 58 ca  addsd   xmm1, xmm2
  654.   0013b 0f 5a d0     cvtps2pd xmm2, xmm0
  655.   0013e f2 0f 59 ca  mulsd   xmm1, xmm2
  656.   00142 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  657.   00146 f3 0f 11 89 f4
  658.     00 00 00     movss   DWORD PTR [ecx+244], xmm1
  659.   0014e f3 0f 10 88 54
  660.     01 00 00     movss   xmm1, DWORD PTR [eax+340]
  661.   00156 f3 0f 10 52 14   movss   xmm2, DWORD PTR [edx+20]
  662.   0015b 0f 5a d2     cvtps2pd xmm2, xmm2
  663.   0015e 0f 5a c9     cvtps2pd xmm1, xmm1
  664.   00161 f2 0f 59 ca  mulsd   xmm1, xmm2
  665.   00165 f3 0f 10 90 50
  666.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  667.   0016d f3 0f 10 5a 04   movss   xmm3, DWORD PTR [edx+4]
  668.   00172 0f 5a d2     cvtps2pd xmm2, xmm2
  669.   00175 0f 5a db     cvtps2pd xmm3, xmm3
  670.   00178 f2 0f 59 d3  mulsd   xmm2, xmm3
  671.   0017c f2 0f 58 ca  addsd   xmm1, xmm2
  672.   00180 f3 0f 10 52 24   movss   xmm2, DWORD PTR [edx+36]
  673.   00185 f3 0f 10 98 58
  674.     01 00 00     movss   xmm3, DWORD PTR [eax+344]
  675.   0018d 0f 5a d2     cvtps2pd xmm2, xmm2
  676.   00190 0f 5a db     cvtps2pd xmm3, xmm3
  677.   00193 f2 0f 59 d3  mulsd   xmm2, xmm3
  678.   00197 f2 0f 58 ca  addsd   xmm1, xmm2
  679.   0019b 0f 5a d0     cvtps2pd xmm2, xmm0
  680.   0019e f2 0f 59 ca  mulsd   xmm1, xmm2
  681.   001a2 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  682.   001a6 f3 0f 11 89 00
  683.     01 00 00     movss   DWORD PTR [ecx+256], xmm1
  684.   001ae f3 0f 10 4a 18   movss   xmm1, DWORD PTR [edx+24]
  685.   001b3 f3 0f 10 90 44
  686.     01 00 00     movss   xmm2, DWORD PTR [eax+324]
  687.   001bb f3 0f 10 5a 08   movss   xmm3, DWORD PTR [edx+8]
  688.   001c0 0f 5a d2     cvtps2pd xmm2, xmm2
  689.   001c3 0f 5a c9     cvtps2pd xmm1, xmm1
  690.   001c6 f2 0f 59 ca  mulsd   xmm1, xmm2
  691.   001ca f3 0f 10 90 40
  692.     01 00 00     movss   xmm2, DWORD PTR [eax+320]
  693.   001d2 0f 5a d2     cvtps2pd xmm2, xmm2
  694.   001d5 0f 5a db     cvtps2pd xmm3, xmm3
  695.   001d8 f2 0f 59 d3  mulsd   xmm2, xmm3
  696.   001dc f2 0f 58 ca  addsd   xmm1, xmm2
  697.   001e0 f3 0f 10 5a 28   movss   xmm3, DWORD PTR [edx+40]
  698.   001e5 f3 0f 10 90 48
  699.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  700.   001ed 0f 5a d2     cvtps2pd xmm2, xmm2
  701.   001f0 0f 5a db     cvtps2pd xmm3, xmm3
  702.   001f3 f2 0f 59 d3  mulsd   xmm2, xmm3
  703.   001f7 f2 0f 58 ca  addsd   xmm1, xmm2
  704.   001fb f3 0f 10 52 38   movss   xmm2, DWORD PTR [edx+56]
  705.   00200 0f 5a d2     cvtps2pd xmm2, xmm2
  706.   00203 f2 0f 58 ca  addsd   xmm1, xmm2
  707.   00207 0f 5a d0     cvtps2pd xmm2, xmm0
  708.   0020a f2 0f 59 ca  mulsd   xmm1, xmm2
  709.   0020e 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  710.   00212 f3 0f 11 89 f8
  711.     00 00 00     movss   DWORD PTR [ecx+248], xmm1
  712.   0021a f3 0f 10 4a 18   movss   xmm1, DWORD PTR [edx+24]
  713.   0021f f3 0f 10 90 54
  714.     01 00 00     movss   xmm2, DWORD PTR [eax+340]
  715.   00227 f3 0f 10 5a 08   movss   xmm3, DWORD PTR [edx+8]
  716.   0022c 0f 5a d2     cvtps2pd xmm2, xmm2
  717.   0022f 0f 5a c9     cvtps2pd xmm1, xmm1
  718.   00232 f2 0f 59 ca  mulsd   xmm1, xmm2
  719.   00236 f3 0f 10 90 50
  720.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  721.   0023e 0f 5a d2     cvtps2pd xmm2, xmm2
  722.   00241 0f 5a db     cvtps2pd xmm3, xmm3
  723.   00244 f2 0f 59 d3  mulsd   xmm2, xmm3
  724.   00248 f3 0f 10 98 58
  725.     01 00 00     movss   xmm3, DWORD PTR [eax+344]
  726.   00250 f2 0f 58 ca  addsd   xmm1, xmm2
  727.   00254 f3 0f 10 52 28   movss   xmm2, DWORD PTR [edx+40]
  728.   00259 0f 5a d2     cvtps2pd xmm2, xmm2
  729.   0025c 0f 5a db     cvtps2pd xmm3, xmm3
  730.   0025f f2 0f 59 d3  mulsd   xmm2, xmm3
  731.   00263 f2 0f 58 ca  addsd   xmm1, xmm2
  732.   00267 0f 5a c0     cvtps2pd xmm0, xmm0
  733.   0026a f2 0f 59 c8  mulsd   xmm1, xmm0
  734.   0026e 66 0f 5a c1  cvtpd2ps xmm0, xmm1
  735.   00272 f3 0f 11 81 04
  736.     01 00 00     movss   DWORD PTR [ecx+260], xmm0
  737.  
  738. ; 102  :        if( wCount==2 )
  739. ; 103  :        {
  740. ; 104  :            // other verticies
  741. ; 105  :            w = pVertexWeight[v].vec[1];
  742. ; 106  :            boneIndex = pVertexBones[v].vec[1];
  743. ; 107  :            const Matrix44f& boneTM = pBoneTMList[boneIndex];
  744. ; 108  :            transformPointNormal4x3AddWeighted(boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  745. ; 109  :        }
  746. ; 110  :        else if( wCount==3 )
  747. ; 111  :        {
  748. ; 112  :            // other verticies
  749. ; 113  :            w = pVertexWeight[v].vec[1];
  750. ; 114  :            boneIndex = pVertexBones[v].vec[1];
  751. ; 115  :            const Matrix44f* boneTM = &pBoneTMList[boneIndex];
  752. ; 116  :            transformPointNormal4x3AddWeighted(*boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  753. ; 117  :
  754. ; 118  :            // other verticies
  755. ; 119  :            w = pVertexWeight[v].vec[2];
  756. ; 120  :            boneIndex = pVertexBones[v].vec[2];
  757. ; 121  :            boneTM = &pBoneTMList[boneIndex];
  758. ; 122  :            transformPointNormal4x3AddWeighted(*boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  759. ; 123  :        }
  760. ; 124  :        else if( wCount==4 )
  761. ; 125  :        {
  762. ; 126  :            // other verticies
  763. ; 127  :            w = pVertexWeight[v].vec[1];
  764. ; 128  :            boneIndex = pVertexBones[v].vec[1];
  765. ; 129  :            const Matrix44f* boneTM = &pBoneTMList[boneIndex];
  766.  
  767.   0027a 0f b6 57 29  movzx   edx, BYTE PTR [edi+41]
  768.  
  769. ; 130  :            transformPointNormal4x3AddWeighted(*boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  770.  
  771.   0027e f3 0f 10 88 44
  772.     01 00 00     movss   xmm1, DWORD PTR [eax+324]
  773.   00286 f3 0f 10 98 40
  774.     01 00 00     movss   xmm3, DWORD PTR [eax+320]
  775.   0028e f3 0f 10 83 a4
  776.     00 00 00     movss   xmm0, DWORD PTR [ebx+164]
  777.   00296 c1 e2 06     shl     edx, 6
  778.   00299 f3 0f 10 54 32
  779.     10       movss   xmm2, DWORD PTR [edx+esi+16]
  780.   0029f 0f 5a d2     cvtps2pd xmm2, xmm2
  781.   002a2 03 d6        add     edx, esi
  782.   002a4 0f 5a c9     cvtps2pd xmm1, xmm1
  783.   002a7 f2 0f 59 ca  mulsd   xmm1, xmm2
  784.   002ab f3 0f 10 12  movss   xmm2, DWORD PTR [edx]
  785.   002af 0f 5a d2     cvtps2pd xmm2, xmm2
  786.   002b2 0f 5a db     cvtps2pd xmm3, xmm3
  787.   002b5 f2 0f 59 d3  mulsd   xmm2, xmm3
  788.   002b9 f3 0f 10 5a 20   movss   xmm3, DWORD PTR [edx+32]
  789.   002be f2 0f 58 ca  addsd   xmm1, xmm2
  790.   002c2 f3 0f 10 90 48
  791.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  792.   002ca 0f 5a d2     cvtps2pd xmm2, xmm2
  793.   002cd 0f 5a db     cvtps2pd xmm3, xmm3
  794.   002d0 f2 0f 59 d3  mulsd   xmm2, xmm3
  795.   002d4 f2 0f 58 ca  addsd   xmm1, xmm2
  796.   002d8 f3 0f 10 52 30   movss   xmm2, DWORD PTR [edx+48]
  797.   002dd 0f 5a d2     cvtps2pd xmm2, xmm2
  798.   002e0 f2 0f 58 ca  addsd   xmm1, xmm2
  799.   002e4 0f 5a d0     cvtps2pd xmm2, xmm0
  800.   002e7 f2 0f 59 ca  mulsd   xmm1, xmm2
  801.   002eb f3 0f 10 91 f0
  802.     00 00 00     movss   xmm2, DWORD PTR [ecx+240]
  803.   002f3 0f 5a d2     cvtps2pd xmm2, xmm2
  804.   002f6 f2 0f 58 ca  addsd   xmm1, xmm2
  805.   002fa 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  806.   002fe f3 0f 11 89 f0
  807.     00 00 00     movss   DWORD PTR [ecx+240], xmm1
  808.   00306 f3 0f 10 0a  movss   xmm1, DWORD PTR [edx]
  809.   0030a f3 0f 10 90 50
  810.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  811.   00312 0f 5a d2     cvtps2pd xmm2, xmm2
  812.   00315 f3 0f 10 98 54
  813.     01 00 00     movss   xmm3, DWORD PTR [eax+340]
  814.   0031d 0f 5a c9     cvtps2pd xmm1, xmm1
  815.   00320 f2 0f 59 ca  mulsd   xmm1, xmm2
  816.   00324 f3 0f 10 52 10   movss   xmm2, DWORD PTR [edx+16]
  817.   00329 0f 5a d2     cvtps2pd xmm2, xmm2
  818.   0032c 0f 5a db     cvtps2pd xmm3, xmm3
  819.   0032f f2 0f 59 d3  mulsd   xmm2, xmm3
  820.   00333 f2 0f 58 ca  addsd   xmm1, xmm2
  821.   00337 f3 0f 10 52 20   movss   xmm2, DWORD PTR [edx+32]
  822.   0033c f3 0f 10 98 58
  823.     01 00 00     movss   xmm3, DWORD PTR [eax+344]
  824.   00344 0f 5a d2     cvtps2pd xmm2, xmm2
  825.   00347 0f 5a db     cvtps2pd xmm3, xmm3
  826.   0034a f2 0f 59 d3  mulsd   xmm2, xmm3
  827.   0034e f2 0f 58 ca  addsd   xmm1, xmm2
  828.   00352 0f 5a d0     cvtps2pd xmm2, xmm0
  829.   00355 f2 0f 59 ca  mulsd   xmm1, xmm2
  830.   00359 f3 0f 10 91 fc
  831.     00 00 00     movss   xmm2, DWORD PTR [ecx+252]
  832.   00361 0f 5a d2     cvtps2pd xmm2, xmm2
  833.   00364 f2 0f 58 ca  addsd   xmm1, xmm2
  834.   00368 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  835.   0036c f3 0f 11 89 fc
  836.     00 00 00     movss   DWORD PTR [ecx+252], xmm1
  837.   00374 f3 0f 10 88 44
  838.     01 00 00     movss   xmm1, DWORD PTR [eax+324]
  839.   0037c f3 0f 10 52 14   movss   xmm2, DWORD PTR [edx+20]
  840.   00381 f3 0f 10 98 40
  841.     01 00 00     movss   xmm3, DWORD PTR [eax+320]
  842.   00389 0f 5a d2     cvtps2pd xmm2, xmm2
  843.   0038c 0f 5a c9     cvtps2pd xmm1, xmm1
  844.   0038f f2 0f 59 ca  mulsd   xmm1, xmm2
  845.   00393 f3 0f 10 52 04   movss   xmm2, DWORD PTR [edx+4]
  846.   00398 0f 5a d2     cvtps2pd xmm2, xmm2
  847.   0039b 0f 5a db     cvtps2pd xmm3, xmm3
  848.   0039e f2 0f 59 d3  mulsd   xmm2, xmm3
  849.   003a2 f3 0f 10 5a 24   movss   xmm3, DWORD PTR [edx+36]
  850.   003a7 f2 0f 58 ca  addsd   xmm1, xmm2
  851.   003ab f3 0f 10 90 48
  852.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  853.   003b3 0f 5a d2     cvtps2pd xmm2, xmm2
  854.   003b6 0f 5a db     cvtps2pd xmm3, xmm3
  855.   003b9 f2 0f 59 d3  mulsd   xmm2, xmm3
  856.   003bd f2 0f 58 ca  addsd   xmm1, xmm2
  857.   003c1 f3 0f 10 52 34   movss   xmm2, DWORD PTR [edx+52]
  858.   003c6 0f 5a d2     cvtps2pd xmm2, xmm2
  859.   003c9 f2 0f 58 ca  addsd   xmm1, xmm2
  860.   003cd 0f 5a d0     cvtps2pd xmm2, xmm0
  861.   003d0 f2 0f 59 ca  mulsd   xmm1, xmm2
  862.   003d4 f3 0f 10 91 f4
  863.     00 00 00     movss   xmm2, DWORD PTR [ecx+244]
  864.   003dc 0f 5a d2     cvtps2pd xmm2, xmm2
  865.   003df f2 0f 58 ca  addsd   xmm1, xmm2
  866.   003e3 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  867.   003e7 f3 0f 11 89 f4
  868.     00 00 00     movss   DWORD PTR [ecx+244], xmm1
  869.   003ef f3 0f 10 4a 04   movss   xmm1, DWORD PTR [edx+4]
  870.   003f4 f3 0f 10 90 50
  871.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  872.   003fc f3 0f 10 98 54
  873.     01 00 00     movss   xmm3, DWORD PTR [eax+340]
  874.   00404 0f 5a d2     cvtps2pd xmm2, xmm2
  875.   00407 0f 5a c9     cvtps2pd xmm1, xmm1
  876.   0040a f2 0f 59 ca  mulsd   xmm1, xmm2
  877.   0040e f3 0f 10 52 14   movss   xmm2, DWORD PTR [edx+20]
  878.   00413 0f 5a d2     cvtps2pd xmm2, xmm2
  879.   00416 0f 5a db     cvtps2pd xmm3, xmm3
  880.   00419 f2 0f 59 d3  mulsd   xmm2, xmm3
  881.   0041d f3 0f 10 98 58
  882.     01 00 00     movss   xmm3, DWORD PTR [eax+344]
  883.   00425 f2 0f 58 ca  addsd   xmm1, xmm2
  884.   00429 f3 0f 10 52 24   movss   xmm2, DWORD PTR [edx+36]
  885.   0042e 0f 5a d2     cvtps2pd xmm2, xmm2
  886.   00431 0f 5a db     cvtps2pd xmm3, xmm3
  887.   00434 f2 0f 59 d3  mulsd   xmm2, xmm3
  888.   00438 f2 0f 58 ca  addsd   xmm1, xmm2
  889.   0043c 0f 5a d0     cvtps2pd xmm2, xmm0
  890.   0043f f2 0f 59 ca  mulsd   xmm1, xmm2
  891.   00443 f3 0f 10 91 00
  892.     01 00 00     movss   xmm2, DWORD PTR [ecx+256]
  893.   0044b 0f 5a d2     cvtps2pd xmm2, xmm2
  894.   0044e f2 0f 58 ca  addsd   xmm1, xmm2
  895.   00452 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  896.   00456 f3 0f 11 89 00
  897.     01 00 00     movss   DWORD PTR [ecx+256], xmm1
  898.   0045e f3 0f 10 52 18   movss   xmm2, DWORD PTR [edx+24]
  899.   00463 f3 0f 10 88 44
  900.     01 00 00     movss   xmm1, DWORD PTR [eax+324]
  901.   0046b f3 0f 10 98 40
  902.     01 00 00     movss   xmm3, DWORD PTR [eax+320]
  903.   00473 0f 5a d2     cvtps2pd xmm2, xmm2
  904.   00476 0f 5a c9     cvtps2pd xmm1, xmm1
  905.   00479 f2 0f 59 ca  mulsd   xmm1, xmm2
  906.   0047d f3 0f 10 52 08   movss   xmm2, DWORD PTR [edx+8]
  907.   00482 0f 5a d2     cvtps2pd xmm2, xmm2
  908.   00485 0f 5a db     cvtps2pd xmm3, xmm3
  909.   00488 f2 0f 59 d3  mulsd   xmm2, xmm3
  910.   0048c f2 0f 58 ca  addsd   xmm1, xmm2
  911.   00490 f3 0f 10 5a 28   movss   xmm3, DWORD PTR [edx+40]
  912.   00495 f3 0f 10 90 48
  913.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  914.   0049d 0f 5a d2     cvtps2pd xmm2, xmm2
  915.   004a0 0f 5a db     cvtps2pd xmm3, xmm3
  916.   004a3 f2 0f 59 d3  mulsd   xmm2, xmm3
  917.   004a7 f2 0f 58 ca  addsd   xmm1, xmm2
  918.   004ab f3 0f 10 52 38   movss   xmm2, DWORD PTR [edx+56]
  919.   004b0 0f 5a d2     cvtps2pd xmm2, xmm2
  920.   004b3 f2 0f 58 ca  addsd   xmm1, xmm2
  921.   004b7 0f 5a d0     cvtps2pd xmm2, xmm0
  922.   004ba f2 0f 59 ca  mulsd   xmm1, xmm2
  923.   004be f3 0f 10 91 f8
  924.     00 00 00     movss   xmm2, DWORD PTR [ecx+248]
  925.   004c6 0f 5a d2     cvtps2pd xmm2, xmm2
  926.   004c9 f2 0f 58 ca  addsd   xmm1, xmm2
  927.   004cd 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  928.   004d1 f3 0f 11 89 f8
  929.     00 00 00     movss   DWORD PTR [ecx+248], xmm1
  930.   004d9 f3 0f 10 52 18   movss   xmm2, DWORD PTR [edx+24]
  931.   004de f3 0f 10 88 54
  932.     01 00 00     movss   xmm1, DWORD PTR [eax+340]
  933.   004e6 f3 0f 10 5a 08   movss   xmm3, DWORD PTR [edx+8]
  934.   004eb 0f 5a d2     cvtps2pd xmm2, xmm2
  935.   004ee 0f 5a c9     cvtps2pd xmm1, xmm1
  936.   004f1 f2 0f 59 ca  mulsd   xmm1, xmm2
  937.   004f5 f3 0f 10 90 50
  938.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  939.   004fd 0f 5a d2     cvtps2pd xmm2, xmm2
  940.   00500 0f 5a db     cvtps2pd xmm3, xmm3
  941.   00503 f2 0f 59 d3  mulsd   xmm2, xmm3
  942.   00507 f3 0f 10 5a 28   movss   xmm3, DWORD PTR [edx+40]
  943.   0050c f2 0f 58 ca  addsd   xmm1, xmm2
  944.   00510 f3 0f 10 90 58
  945.     01 00 00     movss   xmm2, DWORD PTR [eax+344]
  946.   00518 0f 5a d2     cvtps2pd xmm2, xmm2
  947.   0051b 0f 5a db     cvtps2pd xmm3, xmm3
  948.   0051e f2 0f 59 d3  mulsd   xmm2, xmm3
  949.   00522 f2 0f 58 ca  addsd   xmm1, xmm2
  950.   00526 0f 5a c0     cvtps2pd xmm0, xmm0
  951.   00529 f2 0f 59 c8  mulsd   xmm1, xmm0
  952.   0052d f3 0f 10 81 04
  953.     01 00 00     movss   xmm0, DWORD PTR [ecx+260]
  954.   00535 0f 5a c0     cvtps2pd xmm0, xmm0
  955.   00538 f2 0f 58 c8  addsd   xmm1, xmm0
  956.   0053c 66 0f 5a c1  cvtpd2ps xmm0, xmm1
  957.   00540 f3 0f 11 81 04
  958.     01 00 00     movss   DWORD PTR [ecx+260], xmm0
  959.  
  960. ; 131  :
  961. ; 132  :            // other verticies
  962. ; 133  :            w = pVertexWeight[v].vec[2];
  963. ; 134  :            boneIndex = pVertexBones[v].vec[2];
  964. ; 135  :            boneTM = &pBoneTMList[boneIndex];
  965.  
  966.   00548 0f b6 57 2a  movzx   edx, BYTE PTR [edi+42]
  967.  
  968. ; 136  :            transformPointNormal4x3AddWeighted(*boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  969.  
  970.   0054c f3 0f 10 90 40
  971.     01 00 00     movss   xmm2, DWORD PTR [eax+320]
  972.   00554 f3 0f 10 98 44
  973.     01 00 00     movss   xmm3, DWORD PTR [eax+324]
  974.   0055c f3 0f 10 83 a8
  975.     00 00 00     movss   xmm0, DWORD PTR [ebx+168]
  976.   00564 0f 5a d2     cvtps2pd xmm2, xmm2
  977.   00567 c1 e2 06     shl     edx, 6
  978.   0056a f3 0f 10 0c 32   movss   xmm1, DWORD PTR [edx+esi]
  979.   0056f 03 d6        add     edx, esi
  980.   00571 0f 5a c9     cvtps2pd xmm1, xmm1
  981.   00574 f2 0f 59 ca  mulsd   xmm1, xmm2
  982.   00578 f3 0f 10 52 10   movss   xmm2, DWORD PTR [edx+16]
  983.   0057d 0f 5a d2     cvtps2pd xmm2, xmm2
  984.   00580 0f 5a db     cvtps2pd xmm3, xmm3
  985.   00583 f2 0f 59 d3  mulsd   xmm2, xmm3
  986.   00587 f3 0f 10 98 48
  987.     01 00 00     movss   xmm3, DWORD PTR [eax+328]
  988.   0058f f2 0f 58 ca  addsd   xmm1, xmm2
  989.   00593 f3 0f 10 52 20   movss   xmm2, DWORD PTR [edx+32]
  990.   00598 0f 5a d2     cvtps2pd xmm2, xmm2
  991.   0059b 0f 5a db     cvtps2pd xmm3, xmm3
  992.   0059e f2 0f 59 d3  mulsd   xmm2, xmm3
  993.   005a2 f2 0f 58 ca  addsd   xmm1, xmm2
  994.   005a6 f3 0f 10 52 30   movss   xmm2, DWORD PTR [edx+48]
  995.   005ab 0f 5a d2     cvtps2pd xmm2, xmm2
  996.   005ae f2 0f 58 ca  addsd   xmm1, xmm2
  997.   005b2 0f 5a d0     cvtps2pd xmm2, xmm0
  998.   005b5 f2 0f 59 ca  mulsd   xmm1, xmm2
  999.   005b9 f3 0f 10 91 f0
  1000.     00 00 00     movss   xmm2, DWORD PTR [ecx+240]
  1001.   005c1 0f 5a d2     cvtps2pd xmm2, xmm2
  1002.   005c4 f2 0f 58 ca  addsd   xmm1, xmm2
  1003.   005c8 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1004.   005cc f3 0f 11 89 f0
  1005.     00 00 00     movss   DWORD PTR [ecx+240], xmm1
  1006.   005d4 f3 0f 10 88 54
  1007.     01 00 00     movss   xmm1, DWORD PTR [eax+340]
  1008.   005dc f3 0f 10 52 10   movss   xmm2, DWORD PTR [edx+16]
  1009.   005e1 0f 5a d2     cvtps2pd xmm2, xmm2
  1010.   005e4 f3 0f 10 1a  movss   xmm3, DWORD PTR [edx]
  1011.   005e8 0f 5a c9     cvtps2pd xmm1, xmm1
  1012.   005eb f2 0f 59 ca  mulsd   xmm1, xmm2
  1013.   005ef f3 0f 10 90 50
  1014.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  1015.   005f7 0f 5a d2     cvtps2pd xmm2, xmm2
  1016.   005fa 0f 5a db     cvtps2pd xmm3, xmm3
  1017.   005fd f2 0f 59 d3  mulsd   xmm2, xmm3
  1018.   00601 f2 0f 58 ca  addsd   xmm1, xmm2
  1019.   00605 f3 0f 10 52 20   movss   xmm2, DWORD PTR [edx+32]
  1020.   0060a f3 0f 10 98 58
  1021.     01 00 00     movss   xmm3, DWORD PTR [eax+344]
  1022.   00612 0f 5a d2     cvtps2pd xmm2, xmm2
  1023.   00615 0f 5a db     cvtps2pd xmm3, xmm3
  1024.   00618 f2 0f 59 d3  mulsd   xmm2, xmm3
  1025.   0061c f2 0f 58 ca  addsd   xmm1, xmm2
  1026.   00620 0f 5a d0     cvtps2pd xmm2, xmm0
  1027.   00623 f2 0f 59 ca  mulsd   xmm1, xmm2
  1028.   00627 f3 0f 10 91 fc
  1029.     00 00 00     movss   xmm2, DWORD PTR [ecx+252]
  1030.   0062f 0f 5a d2     cvtps2pd xmm2, xmm2
  1031.   00632 f2 0f 58 ca  addsd   xmm1, xmm2
  1032.   00636 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1033.   0063a f3 0f 11 89 fc
  1034.     00 00 00     movss   DWORD PTR [ecx+252], xmm1
  1035.   00642 f3 0f 10 4a 04   movss   xmm1, DWORD PTR [edx+4]
  1036.   00647 f3 0f 10 90 40
  1037.     01 00 00     movss   xmm2, DWORD PTR [eax+320]
  1038.   0064f f3 0f 10 98 44
  1039.     01 00 00     movss   xmm3, DWORD PTR [eax+324]
  1040.   00657 0f 5a d2     cvtps2pd xmm2, xmm2
  1041.   0065a 0f 5a c9     cvtps2pd xmm1, xmm1
  1042.   0065d f2 0f 59 ca  mulsd   xmm1, xmm2
  1043.   00661 f3 0f 10 52 14   movss   xmm2, DWORD PTR [edx+20]
  1044.   00666 0f 5a d2     cvtps2pd xmm2, xmm2
  1045.   00669 0f 5a db     cvtps2pd xmm3, xmm3
  1046.   0066c f2 0f 59 d3  mulsd   xmm2, xmm3
  1047.   00670 f3 0f 10 5a 24   movss   xmm3, DWORD PTR [edx+36]
  1048.   00675 f2 0f 58 ca  addsd   xmm1, xmm2
  1049.   00679 f3 0f 10 90 48
  1050.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  1051.   00681 0f 5a d2     cvtps2pd xmm2, xmm2
  1052.   00684 0f 5a db     cvtps2pd xmm3, xmm3
  1053.   00687 f2 0f 59 d3  mulsd   xmm2, xmm3
  1054.   0068b f2 0f 58 ca  addsd   xmm1, xmm2
  1055.   0068f f3 0f 10 52 34   movss   xmm2, DWORD PTR [edx+52]
  1056.   00694 0f 5a d2     cvtps2pd xmm2, xmm2
  1057.   00697 f2 0f 58 ca  addsd   xmm1, xmm2
  1058.   0069b 0f 5a d0     cvtps2pd xmm2, xmm0
  1059.   0069e f2 0f 59 ca  mulsd   xmm1, xmm2
  1060.   006a2 f3 0f 10 91 f4
  1061.     00 00 00     movss   xmm2, DWORD PTR [ecx+244]
  1062.   006aa 0f 5a d2     cvtps2pd xmm2, xmm2
  1063.   006ad f2 0f 58 ca  addsd   xmm1, xmm2
  1064.   006b1 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1065.   006b5 f3 0f 11 89 f4
  1066.     00 00 00     movss   DWORD PTR [ecx+244], xmm1
  1067.   006bd f3 0f 10 88 54
  1068.     01 00 00     movss   xmm1, DWORD PTR [eax+340]
  1069.   006c5 f3 0f 10 52 14   movss   xmm2, DWORD PTR [edx+20]
  1070.   006ca f3 0f 10 5a 04   movss   xmm3, DWORD PTR [edx+4]
  1071.   006cf 0f 5a d2     cvtps2pd xmm2, xmm2
  1072.   006d2 0f 5a c9     cvtps2pd xmm1, xmm1
  1073.   006d5 f2 0f 59 ca  mulsd   xmm1, xmm2
  1074.   006d9 f3 0f 10 90 50
  1075.     01 00 00     movss   xmm2, DWORD PTR [eax+336]
  1076.   006e1 0f 5a d2     cvtps2pd xmm2, xmm2
  1077.   006e4 0f 5a db     cvtps2pd xmm3, xmm3
  1078.   006e7 f2 0f 59 d3  mulsd   xmm2, xmm3
  1079.   006eb f3 0f 10 5a 24   movss   xmm3, DWORD PTR [edx+36]
  1080.   006f0 f2 0f 58 ca  addsd   xmm1, xmm2
  1081.   006f4 f3 0f 10 90 58
  1082.     01 00 00     movss   xmm2, DWORD PTR [eax+344]
  1083.   006fc 0f 5a d2     cvtps2pd xmm2, xmm2
  1084.   006ff 0f 5a db     cvtps2pd xmm3, xmm3
  1085.   00702 f2 0f 59 d3  mulsd   xmm2, xmm3
  1086.   00706 f2 0f 58 ca  addsd   xmm1, xmm2
  1087.   0070a 0f 5a d0     cvtps2pd xmm2, xmm0
  1088.   0070d f2 0f 59 ca  mulsd   xmm1, xmm2
  1089.   00711 f3 0f 10 91 00
  1090.     01 00 00     movss   xmm2, DWORD PTR [ecx+256]
  1091.   00719 0f 5a d2     cvtps2pd xmm2, xmm2
  1092.   0071c f2 0f 58 ca  addsd   xmm1, xmm2
  1093.   00720 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1094.   00724 f3 0f 11 89 00
  1095.     01 00 00     movss   DWORD PTR [ecx+256], xmm1
  1096.   0072c f3 0f 10 4a 08   movss   xmm1, DWORD PTR [edx+8]
  1097.   00731 f3 0f 10 90 40
  1098.     01 00 00     movss   xmm2, DWORD PTR [eax+320]
  1099.   00739 f3 0f 10 98 44
  1100.     01 00 00     movss   xmm3, DWORD PTR [eax+324]
  1101.   00741 0f 5a d2     cvtps2pd xmm2, xmm2
  1102.   00744 0f 5a c9     cvtps2pd xmm1, xmm1
  1103.   00747 f2 0f 59 ca  mulsd   xmm1, xmm2
  1104.   0074b f3 0f 10 52 18   movss   xmm2, DWORD PTR [edx+24]
  1105.   00750 0f 5a d2     cvtps2pd xmm2, xmm2
  1106.   00753 0f 5a db     cvtps2pd xmm3, xmm3
  1107.   00756 f2 0f 59 d3  mulsd   xmm2, xmm3
  1108.   0075a f2 0f 58 ca  addsd   xmm1, xmm2
  1109.   0075e f3 0f 10 5a 28   movss   xmm3, DWORD PTR [edx+40]
  1110.   00763 f3 0f 10 90 48
  1111.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  1112.   0076b 0f 5a d2     cvtps2pd xmm2, xmm2
  1113.   0076e 0f 5a db     cvtps2pd xmm3, xmm3
  1114.   00771 f2 0f 59 d3  mulsd   xmm2, xmm3
  1115.   00775 f2 0f 58 ca  addsd   xmm1, xmm2
  1116.   00779 f3 0f 10 52 38   movss   xmm2, DWORD PTR [edx+56]
  1117.   0077e 0f 5a d2     cvtps2pd xmm2, xmm2
  1118.   00781 f2 0f 58 ca  addsd   xmm1, xmm2
  1119.   00785 0f 5a d0     cvtps2pd xmm2, xmm0
  1120.   00788 f2 0f 59 ca  mulsd   xmm1, xmm2
  1121.   0078c f3 0f 10 91 f8
  1122.     00 00 00     movss   xmm2, DWORD PTR [ecx+248]
  1123.   00794 0f 5a d2     cvtps2pd xmm2, xmm2
  1124.   00797 f2 0f 58 ca  addsd   xmm1, xmm2
  1125.   0079b 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1126.   0079f f3 0f 11 89 f8
  1127.     00 00 00     movss   DWORD PTR [ecx+248], xmm1
  1128.   007a7 f3 0f 10 52 08   movss   xmm2, DWORD PTR [edx+8]
  1129.   007ac f3 0f 10 88 50
  1130.     01 00 00     movss   xmm1, DWORD PTR [eax+336]
  1131.   007b4 f3 0f 10 5a 18   movss   xmm3, DWORD PTR [edx+24]
  1132.   007b9 0f 5a d2     cvtps2pd xmm2, xmm2
  1133.   007bc 0f 5a c9     cvtps2pd xmm1, xmm1
  1134.   007bf f2 0f 59 ca  mulsd   xmm1, xmm2
  1135.   007c3 f3 0f 10 90 54
  1136.     01 00 00     movss   xmm2, DWORD PTR [eax+340]
  1137.   007cb 0f 5a d2     cvtps2pd xmm2, xmm2
  1138.   007ce 0f 5a db     cvtps2pd xmm3, xmm3
  1139.   007d1 f2 0f 59 d3  mulsd   xmm2, xmm3
  1140.   007d5 f3 0f 10 5a 28   movss   xmm3, DWORD PTR [edx+40]
  1141.   007da f2 0f 58 ca  addsd   xmm1, xmm2
  1142.   007de f3 0f 10 90 58
  1143.     01 00 00     movss   xmm2, DWORD PTR [eax+344]
  1144.   007e6 0f 5a d2     cvtps2pd xmm2, xmm2
  1145.   007e9 0f 5a db     cvtps2pd xmm3, xmm3
  1146.   007ec f2 0f 59 d3  mulsd   xmm2, xmm3
  1147.   007f0 f2 0f 58 ca  addsd   xmm1, xmm2
  1148.   007f4 0f 5a c0     cvtps2pd xmm0, xmm0
  1149.   007f7 f2 0f 59 c8  mulsd   xmm1, xmm0
  1150.   007fb f3 0f 10 81 04
  1151.     01 00 00     movss   xmm0, DWORD PTR [ecx+260]
  1152.   00803 0f 5a c0     cvtps2pd xmm0, xmm0
  1153.   00806 f2 0f 58 c8  addsd   xmm1, xmm0
  1154.   0080a 66 0f 5a c1  cvtpd2ps xmm0, xmm1
  1155.   0080e f3 0f 11 81 04
  1156.     01 00 00     movss   DWORD PTR [ecx+260], xmm0
  1157.  
  1158. ; 137  :
  1159. ; 138  :            // other verticies
  1160. ; 139  :            w = pVertexWeight[v].vec[3];
  1161. ; 140  :            boneIndex = pVertexBones[v].vec[3];
  1162. ; 141  :            boneTM = &pBoneTMList[boneIndex];
  1163.  
  1164.   00816 0f b6 57 2b  movzx   edx, BYTE PTR [edi+43]
  1165.  
  1166. ; 142  :            transformPointNormal4x3AddWeighted(*boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  1167.  
  1168.   0081a f3 0f 10 88 44
  1169.     01 00 00     movss   xmm1, DWORD PTR [eax+324]
  1170.   00822 f3 0f 10 83 ac
  1171.     00 00 00     movss   xmm0, DWORD PTR [ebx+172]
  1172.   0082a 0f 5a c9     cvtps2pd xmm1, xmm1
  1173.   0082d c1 e2 06     shl     edx, 6
  1174.   00830 f3 0f 10 54 32
  1175.     10       movss   xmm2, DWORD PTR [edx+esi+16]
  1176.   00836 f3 0f 10 1c 32   movss   xmm3, DWORD PTR [edx+esi]
  1177.   0083b 0f 5a d2     cvtps2pd xmm2, xmm2
  1178.   0083e f2 0f 59 ca  mulsd   xmm1, xmm2
  1179.   00842 f3 0f 10 90 40
  1180.     01 00 00     movss   xmm2, DWORD PTR [eax+320]
  1181.   0084a 03 d6        add     edx, esi
  1182.   0084c 0f 5a d2     cvtps2pd xmm2, xmm2
  1183.   0084f 0f 5a db     cvtps2pd xmm3, xmm3
  1184.   00852 f2 0f 59 d3  mulsd   xmm2, xmm3
  1185.   00856 f3 0f 10 5a 20   movss   xmm3, DWORD PTR [edx+32]
  1186.   0085b f2 0f 58 ca  addsd   xmm1, xmm2
  1187.   0085f f3 0f 10 90 48
  1188.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  1189.   00867 0f 5a d2     cvtps2pd xmm2, xmm2
  1190.   0086a 0f 5a db     cvtps2pd xmm3, xmm3
  1191.   0086d f2 0f 59 d3  mulsd   xmm2, xmm3
  1192.   00871 f2 0f 58 ca  addsd   xmm1, xmm2
  1193.   00875 f3 0f 10 52 30   movss   xmm2, DWORD PTR [edx+48]
  1194.   0087a 0f 5a d2     cvtps2pd xmm2, xmm2
  1195.   0087d f2 0f 58 ca  addsd   xmm1, xmm2
  1196.   00881 0f 5a d0     cvtps2pd xmm2, xmm0
  1197.   00884 f2 0f 59 ca  mulsd   xmm1, xmm2
  1198.   00888 f3 0f 10 91 f0
  1199.     00 00 00     movss   xmm2, DWORD PTR [ecx+240]
  1200.   00890 0f 5a d2     cvtps2pd xmm2, xmm2
  1201.   00893 f2 0f 58 ca  addsd   xmm1, xmm2
  1202.   00897 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1203.   0089b f3 0f 11 89 f0
  1204.     00 00 00     movss   DWORD PTR [ecx+240], xmm1
  1205.   008a3 f3 0f 10 4a 10   movss   xmm1, DWORD PTR [edx+16]
  1206.   008a8 f3 0f 10 90 54
  1207.     01 00 00     movss   xmm2, DWORD PTR [eax+340]
  1208.   008b0 0f 5a d2     cvtps2pd xmm2, xmm2
  1209.   008b3 f3 0f 10 98 50
  1210.     01 00 00     movss   xmm3, DWORD PTR [eax+336]
  1211.   008bb 0f 5a c9     cvtps2pd xmm1, xmm1
  1212.   008be f2 0f 59 ca  mulsd   xmm1, xmm2
  1213.   008c2 f3 0f 10 12  movss   xmm2, DWORD PTR [edx]
  1214.   008c6 0f 5a d2     cvtps2pd xmm2, xmm2
  1215.   008c9 0f 5a db     cvtps2pd xmm3, xmm3
  1216.   008cc f2 0f 59 d3  mulsd   xmm2, xmm3
  1217.   008d0 f2 0f 58 ca  addsd   xmm1, xmm2
  1218.   008d4 f3 0f 10 90 58
  1219.     01 00 00     movss   xmm2, DWORD PTR [eax+344]
  1220.   008dc f3 0f 10 5a 20   movss   xmm3, DWORD PTR [edx+32]
  1221.   008e1 0f 5a d2     cvtps2pd xmm2, xmm2
  1222.   008e4 0f 5a db     cvtps2pd xmm3, xmm3
  1223.   008e7 f2 0f 59 d3  mulsd   xmm2, xmm3
  1224.   008eb f2 0f 58 ca  addsd   xmm1, xmm2
  1225.   008ef 0f 5a d0     cvtps2pd xmm2, xmm0
  1226.   008f2 f2 0f 59 ca  mulsd   xmm1, xmm2
  1227.   008f6 f3 0f 10 91 fc
  1228.     00 00 00     movss   xmm2, DWORD PTR [ecx+252]
  1229.   008fe 0f 5a d2     cvtps2pd xmm2, xmm2
  1230.   00901 f2 0f 58 ca  addsd   xmm1, xmm2
  1231.   00905 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1232.   00909 f3 0f 11 89 fc
  1233.     00 00 00     movss   DWORD PTR [ecx+252], xmm1
  1234.   00911 f3 0f 10 88 44
  1235.     01 00 00     movss   xmm1, DWORD PTR [eax+324]
  1236.   00919 f3 0f 10 52 14   movss   xmm2, DWORD PTR [edx+20]
  1237.   0091e f3 0f 10 98 40
  1238.     01 00 00     movss   xmm3, DWORD PTR [eax+320]
  1239.   00926 0f 5a d2     cvtps2pd xmm2, xmm2
  1240.   00929 0f 5a c9     cvtps2pd xmm1, xmm1
  1241.   0092c f2 0f 59 ca  mulsd   xmm1, xmm2
  1242.   00930 f3 0f 10 52 04   movss   xmm2, DWORD PTR [edx+4]
  1243.   00935 0f 5a d2     cvtps2pd xmm2, xmm2
  1244.   00938 0f 5a db     cvtps2pd xmm3, xmm3
  1245.   0093b f2 0f 59 d3  mulsd   xmm2, xmm3
  1246.   0093f f2 0f 58 ca  addsd   xmm1, xmm2
  1247.   00943 f3 0f 10 90 48
  1248.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  1249.   0094b f3 0f 10 5a 24   movss   xmm3, DWORD PTR [edx+36]
  1250.   00950 0f 5a d2     cvtps2pd xmm2, xmm2
  1251.   00953 0f 5a db     cvtps2pd xmm3, xmm3
  1252.   00956 f2 0f 59 d3  mulsd   xmm2, xmm3
  1253.   0095a f2 0f 58 ca  addsd   xmm1, xmm2
  1254.   0095e f3 0f 10 52 34   movss   xmm2, DWORD PTR [edx+52]
  1255.   00963 0f 5a d2     cvtps2pd xmm2, xmm2
  1256.   00966 f2 0f 58 ca  addsd   xmm1, xmm2
  1257.   0096a 0f 5a d0     cvtps2pd xmm2, xmm0
  1258.   0096d f2 0f 59 ca  mulsd   xmm1, xmm2
  1259.   00971 f3 0f 10 91 f4
  1260.     00 00 00     movss   xmm2, DWORD PTR [ecx+244]
  1261.   00979 0f 5a d2     cvtps2pd xmm2, xmm2
  1262.   0097c f2 0f 58 ca  addsd   xmm1, xmm2
  1263.   00980 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1264.   00984 f3 0f 11 89 f4
  1265.     00 00 00     movss   DWORD PTR [ecx+244], xmm1
  1266.   0098c f3 0f 10 4a 14   movss   xmm1, DWORD PTR [edx+20]
  1267.   00991 f3 0f 10 90 54
  1268.     01 00 00     movss   xmm2, DWORD PTR [eax+340]
  1269.   00999 f3 0f 10 98 50
  1270.     01 00 00     movss   xmm3, DWORD PTR [eax+336]
  1271.   009a1 0f 5a d2     cvtps2pd xmm2, xmm2
  1272.   009a4 0f 5a c9     cvtps2pd xmm1, xmm1
  1273.   009a7 f2 0f 59 ca  mulsd   xmm1, xmm2
  1274.   009ab f3 0f 10 52 04   movss   xmm2, DWORD PTR [edx+4]
  1275.   009b0 0f 5a d2     cvtps2pd xmm2, xmm2
  1276.   009b3 0f 5a db     cvtps2pd xmm3, xmm3
  1277.   009b6 f2 0f 59 d3  mulsd   xmm2, xmm3
  1278.   009ba f3 0f 10 5a 24   movss   xmm3, DWORD PTR [edx+36]
  1279.   009bf f2 0f 58 ca  addsd   xmm1, xmm2
  1280.   009c3 f3 0f 10 90 58
  1281.     01 00 00     movss   xmm2, DWORD PTR [eax+344]
  1282.   009cb 0f 5a d2     cvtps2pd xmm2, xmm2
  1283.   009ce 0f 5a db     cvtps2pd xmm3, xmm3
  1284.   009d1 f2 0f 59 d3  mulsd   xmm2, xmm3
  1285.   009d5 f2 0f 58 ca  addsd   xmm1, xmm2
  1286.   009d9 0f 5a d0     cvtps2pd xmm2, xmm0
  1287.   009dc f2 0f 59 ca  mulsd   xmm1, xmm2
  1288.   009e0 f3 0f 10 91 00
  1289.     01 00 00     movss   xmm2, DWORD PTR [ecx+256]
  1290.   009e8 0f 5a d2     cvtps2pd xmm2, xmm2
  1291.   009eb f2 0f 58 ca  addsd   xmm1, xmm2
  1292.   009ef 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1293.   009f3 f3 0f 11 89 00
  1294.     01 00 00     movss   DWORD PTR [ecx+256], xmm1
  1295.   009fb f3 0f 10 88 40
  1296.     01 00 00     movss   xmm1, DWORD PTR [eax+320]
  1297.   00a03 f3 0f 10 52 08   movss   xmm2, DWORD PTR [edx+8]
  1298.   00a08 0f 5a d2     cvtps2pd xmm2, xmm2
  1299.   00a0b 0f 5a c9     cvtps2pd xmm1, xmm1
  1300.   00a0e f2 0f 59 ca  mulsd   xmm1, xmm2
  1301.   00a12 f3 0f 10 90 44
  1302.     01 00 00     movss   xmm2, DWORD PTR [eax+324]
  1303.   00a1a f3 0f 10 5a 18   movss   xmm3, DWORD PTR [edx+24]
  1304.   00a1f 0f 5a d2     cvtps2pd xmm2, xmm2
  1305.   00a22 0f 5a db     cvtps2pd xmm3, xmm3
  1306.   00a25 f2 0f 59 d3  mulsd   xmm2, xmm3
  1307.   00a29 f3 0f 10 5a 28   movss   xmm3, DWORD PTR [edx+40]
  1308.   00a2e f2 0f 58 ca  addsd   xmm1, xmm2
  1309.   00a32 f3 0f 10 90 48
  1310.     01 00 00     movss   xmm2, DWORD PTR [eax+328]
  1311.   00a3a 0f 5a d2     cvtps2pd xmm2, xmm2
  1312.   00a3d 0f 5a db     cvtps2pd xmm3, xmm3
  1313.   00a40 f2 0f 59 d3  mulsd   xmm2, xmm3
  1314.   00a44 f2 0f 58 ca  addsd   xmm1, xmm2
  1315.   00a48 f3 0f 10 52 38   movss   xmm2, DWORD PTR [edx+56]
  1316.   00a4d 0f 5a d2     cvtps2pd xmm2, xmm2
  1317.   00a50 f2 0f 58 ca  addsd   xmm1, xmm2
  1318.   00a54 0f 5a d0     cvtps2pd xmm2, xmm0
  1319.   00a57 f2 0f 59 ca  mulsd   xmm1, xmm2
  1320.   00a5b f3 0f 10 91 f8
  1321.     00 00 00     movss   xmm2, DWORD PTR [ecx+248]
  1322.   00a63 0f 5a d2     cvtps2pd xmm2, xmm2
  1323.   00a66 f2 0f 58 ca  addsd   xmm1, xmm2
  1324.   00a6a 66 0f 5a c9  cvtpd2ps xmm1, xmm1
  1325.   00a6e f3 0f 11 89 f8
  1326.     00 00 00     movss   DWORD PTR [ecx+248], xmm1
  1327.   00a76 f3 0f 10 4a 18   movss   xmm1, DWORD PTR [edx+24]
  1328.   00a7b f3 0f 10 90 54
  1329.     01 00 00     movss   xmm2, DWORD PTR [eax+340]
  1330.   00a83 f3 0f 10 98 50
  1331.     01 00 00     movss   xmm3, DWORD PTR [eax+336]
  1332.   00a8b 0f 5a d2     cvtps2pd xmm2, xmm2
  1333.   00a8e 0f 5a c9     cvtps2pd xmm1, xmm1
  1334.   00a91 f2 0f 59 ca  mulsd   xmm1, xmm2
  1335.   00a95 f3 0f 10 52 08   movss   xmm2, DWORD PTR [edx+8]
  1336.   00a9a 0f 5a d2     cvtps2pd xmm2, xmm2
  1337.   00a9d 0f 5a db     cvtps2pd xmm3, xmm3
  1338.   00aa0 f2 0f 59 d3  mulsd   xmm2, xmm3
  1339.   00aa4 f3 0f 10 5a 28   movss   xmm3, DWORD PTR [edx+40]
  1340.   00aa9 f2 0f 58 ca  addsd   xmm1, xmm2
  1341.   00aad f3 0f 10 90 58
  1342.     01 00 00     movss   xmm2, DWORD PTR [eax+344]
  1343.   00ab5 0f 5a c0     cvtps2pd xmm0, xmm0
  1344.   00ab8 0f 5a d2     cvtps2pd xmm2, xmm2
  1345.   00abb 0f 5a db     cvtps2pd xmm3, xmm3
  1346.   00abe f2 0f 59 d3  mulsd   xmm2, xmm3
  1347.   00ac2 f2 0f 58 ca  addsd   xmm1, xmm2
  1348.   00ac6 f2 0f 59 c8  mulsd   xmm1, xmm0
  1349.   00aca f3 0f 10 81 04
  1350.     01 00 00     movss   xmm0, DWORD PTR [ecx+260]
  1351.   00ad2 0f 5a c0     cvtps2pd xmm0, xmm0
  1352.   00ad5 f2 0f 58 c8  addsd   xmm1, xmm0
  1353.   00ad9 66 0f 5a c1  cvtpd2ps xmm0, xmm1
  1354.   00add f3 0f 11 81 04
  1355.     01 00 00     movss   DWORD PTR [ecx+260], xmm0
  1356.   00ae5 5b       pop     ebx
  1357.  
  1358. ; 143  :        }
  1359. ; 144  :
  1360. ; 145  :        /*
  1361. ; 146  :        for(size_t i=1;i<wCount;i++)
  1362. ; 147  :        {
  1363. ; 148  :            // other verticies
  1364. ; 149  :            w = pVertexWeight[v].vec[i];
  1365. ; 150  :            boneIndex = &pVertexBones[v].vec[i];
  1366. ; 151  :            const Matrix44f& boneTM = pBoneTMList[boneIndex];
  1367. ; 152  :            transformPointNormal4x3AddWeighted(*boneTM,&pVerticiesNormals[v].pn[0],skinTempPN[v],w);
  1368. ; 153  :        }
  1369. ; 154  :        */
  1370. ; 155  :    }
  1371. ; 156  : }
  1372.  
  1373.   00ae6 c3       ret     0
  1374. ?ProcessVertex@@YAXIPBUPN4f@@PBUVec4f@@PBUVec4uc@@PBUMatrix44f@@PAUPN@@I@Z ENDP ; ProcessVertex
  1375. _TEXT   ENDS
  1376. PUBLIC  _wmain
  1377. ; Function compile flags: /Ogtpy
  1378. ; File e:\work\ttt2222\6666\6666\6666.cpp
  1379. ;   COMDAT _wmain
  1380. _TEXT   SEGMENT
  1381. _argc$ = 8                      ; size = 4
  1382. _argv$ = 12                     ; size = 4
  1383. _wmain  PROC                        ; COMDAT
  1384.  
  1385. ; 10   :    ProcessVertex(
  1386. ; 11   :        10,
  1387. ; 12   :        (const PN4f*) &argv,
  1388. ; 13   :        (const Vec4f*) &argv,
  1389. ; 14   :        (const Vec4uc*) &argv,
  1390. ; 15   :        (const Matrix44f*) &argv,
  1391. ; 16   :        (PN*) &argv,
  1392. ; 17   :        4);
  1393. ; 18   :
  1394. ; 19   :    return 0;
  1395.  
  1396.   00000 33 c0        xor     eax, eax
  1397.  
  1398. ; 20   : }
  1399.  
  1400.   00002 c3       ret     0
  1401. _wmain  ENDP
  1402. _TEXT   ENDS
  1403. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement