Rev 4336 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4336 | Rev 8942 | ||
---|---|---|---|
Line 66... | Line 66... | ||
66 | xor al,al |
66 | xor al,al |
67 | or ecx,-1 |
67 | or ecx,-1 |
68 | repne scasb |
68 | repne scasb |
69 | repne scasb |
69 | repne scasb |
70 | repne scasb |
70 | repne scasb |
71 | mov al,[edi] |
- | |
72 | cmp al,'9' |
- | |
73 | ja .PathToIcon |
71 | stdcall strToInt,edi |
74 | cmp al,'/' |
- | |
75 | jne .GetIconInd |
- | |
76 | .PathToIcon: |
- | |
77 | mov al,30h ;§ £«ãèª !!!!!!!!!!!!! |
- | |
78 | mov byte[edi+1],0 |
- | |
79 | .GetIconInd: |
- | |
80 | ;int3 |
72 | |
81 | sub al,30h |
- | |
82 | cmp byte[edi+1],0 |
- | |
83 | je @f |
- | |
84 | shl eax,1 |
- | |
85 | lea eax,[eax*4+eax] |
- | |
86 | xor edx,edx |
- | |
87 | mov dl,[edi+1] |
- | |
88 | sub dl,30h |
- | |
89 | add eax,edx |
- | |
90 | @@: ;eax=num icon |
73 | @@: ;eax=num icon |
91 | cmp eax,[icon_count] |
74 | cmp eax,[icon_count] |
92 | jb @f |
75 | jb @f |
93 | xor eax,eax |
76 | xor eax,eax |
94 | @@: |
77 | @@: |