Rev 188 | Rev 200 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 188 | Rev 194 | ||
---|---|---|---|
Line 1269... | Line 1269... | ||
1269 | jne no_display_desnum |
1269 | jne no_display_desnum |
1270 | shr eax,16 |
1270 | shr eax,16 |
1271 | and eax,0x3f |
1271 | and eax,0x3f |
1272 | push eax |
1272 | push eax |
1273 | mov edi,esp |
1273 | mov edi,esp |
1274 | add edi,4+64 |
1274 | add edi,4+64-1 |
1275 | mov ecx,eax |
1275 | mov ecx,eax |
1276 | mov eax,ebx |
1276 | mov eax,ebx |
1277 | mov ebx,10 |
1277 | mov ebx,10 |
1278 | d_desnum: |
1278 | d_desnum: |
1279 | xor edx,edx |
1279 | xor edx,edx |
Line 1293... | Line 1293... | ||
1293 | jne no_display_hexnum |
1293 | jne no_display_hexnum |
1294 | shr eax,16 |
1294 | shr eax,16 |
1295 | and eax,0x3f |
1295 | and eax,0x3f |
1296 | push eax |
1296 | push eax |
1297 | mov edi,esp |
1297 | mov edi,esp |
1298 | add edi,4+64 |
1298 | add edi,4+64-1 |
1299 | mov ecx,eax |
1299 | mov ecx,eax |
1300 | mov eax,ebx |
1300 | mov eax,ebx |
1301 | mov ebx,16 |
1301 | mov ebx,16 |
1302 | d_hexnum: |
1302 | d_hexnum: |
1303 | xor edx,edx |
1303 | xor edx,edx |
Line 1318... | Line 1318... | ||
1318 | jne no_display_binnum |
1318 | jne no_display_binnum |
1319 | shr eax,16 |
1319 | shr eax,16 |
1320 | and eax,0x3f |
1320 | and eax,0x3f |
1321 | push eax |
1321 | push eax |
1322 | mov edi,esp |
1322 | mov edi,esp |
1323 | add edi,4+64 |
1323 | add edi,4+64-1 |
1324 | mov ecx,eax |
1324 | mov ecx,eax |
1325 | mov eax,ebx |
1325 | mov eax,ebx |
1326 | mov ebx,2 |
1326 | mov ebx,2 |
1327 | d_binnum: |
1327 | d_binnum: |
1328 | xor edx,edx |
1328 | xor edx,edx |
Line 1359... | Line 1359... | ||
1359 | ; rol eax,16 |
1359 | ; rol eax,16 |
1360 | ; add ax,word[edi+0x80000+APPDATA.wnd_clientbox.left] |
1360 | ; add ax,word[edi+0x80000+APPDATA.wnd_clientbox.left] |
1361 | ; rol eax,16 |
1361 | ; rol eax,16 |
Line 1362... | Line 1362... | ||
1362 | 1362 | ||
1363 | mov edx,eax |
1363 | mov edx,eax |
1364 | mov ecx,65 |
1364 | mov ecx,64+4 |
1365 | sub ecx,eax |
1365 | sub ecx,eax |
1366 | add ecx,esp |
- | |
1367 | add ecx,4 |
1366 | add ecx,esp |
1368 | mov eax,[esp+64+32-8+4] |
1367 | mov eax,[esp+64+32-8+4] |
1369 | push edx ; add window start x & y |
1368 | push edx ; add window start x & y |
1370 | mov edx,[0x3010] |
1369 | mov edx,[0x3010] |
1371 | mov ebx,[edx-twdw+WDATA.box.left] |
1370 | mov ebx,[edx-twdw+WDATA.box.left] |
Line 1376... | Line 1375... | ||
1376 | add eax,ebx |
1375 | add eax,ebx |
1377 | pop edx |
1376 | pop edx |
1378 | mov ebx,[esp+64+32-12+4] |
1377 | mov ebx,[esp+64+32-12+4] |
1379 | and ebx, not 0x80000000 ; force counted string |
1378 | and ebx, not 0x80000000 ; force counted string |
1380 | mov esi, [esp+64+4+4] |
1379 | mov esi, [esp+64+4+4] |
1381 | xor edi,edi |
1380 | mov edi, [esp+64+4] |
1382 | jmp dtext |
1381 | jmp dtext |
Line 1383... | Line 1382... | ||
1383 | 1382 | ||
Line 1384... | Line 1383... | ||
1384 | read_string: |
1383 | read_string: |