outputflash.cod
来自「模拟电梯程序」· COD 代码 · 共 1,756 行 · 第 1/4 页
COD
1,756 行
; 35 : DrawLine(2.2, 0);
00146 6a 00 push 0
00148 6a 00 push 0
0014a 68 99 99 01 40 push 1073846681 ; 40019999H
0014f 68 9a 99 99 99 push -1717986918 ; 9999999aH
00154 e8 00 00 00 00 call _DrawLine
00159 83 c4 10 add esp, 16 ; 00000010H
; 36 : DrawLine(0, 10);
0015c 68 00 00 24 40 push 1076101120 ; 40240000H
00161 6a 00 push 0
00163 6a 00 push 0
00165 6a 00 push 0
00167 e8 00 00 00 00 call _DrawLine
0016c 83 c4 10 add esp, 16 ; 00000010H
; 37 : DrawLine(-2.2, 0);
0016f 6a 00 push 0
00171 6a 00 push 0
00173 68 99 99 01 c0 push -1073636967 ; c0019999H
00178 68 9a 99 99 99 push -1717986918 ; 9999999aH
0017d e8 00 00 00 00 call _DrawLine
00182 83 c4 10 add esp, 16 ; 00000010H
; 38 : for(i=1;i<=9;i++){
00185 c7 45 fc 01 00
00 00 mov DWORD PTR _i$[ebp], 1
0018c eb 09 jmp SHORT $L52974
$L52975:
0018e 8b 45 fc mov eax, DWORD PTR _i$[ebp]
00191 83 c0 01 add eax, 1
00194 89 45 fc mov DWORD PTR _i$[ebp], eax
$L52974:
00197 83 7d fc 09 cmp DWORD PTR _i$[ebp], 9
0019b 0f 8f c3 00 00
00 jg $L52976
; 39 : MovePen(1.1, 14-i*1.1+1);
001a1 db 45 fc fild DWORD PTR _i$[ebp]
001a4 dc 0d 00 00 00
00 fmul QWORD PTR __real@8@3fff8cccccccccccd000
001aa dc 2d 00 00 00
00 fsubr QWORD PTR __real@8@4002e000000000000000
001b0 dc 05 00 00 00
00 fadd QWORD PTR __real@8@3fff8000000000000000
001b6 83 ec 08 sub esp, 8
001b9 dd 1c 24 fstp QWORD PTR [esp]
001bc 68 99 99 f1 3f push 1072798105 ; 3ff19999H
001c1 68 9a 99 99 99 push -1717986918 ; 9999999aH
001c6 e8 00 00 00 00 call _MovePen
001cb 83 c4 10 add esp, 16 ; 00000010H
; 40 : DrawLine(2.02, 0);
001ce 6a 00 push 0
001d0 6a 00 push 0
001d2 68 f5 28 00 40 push 1073752309 ; 400028f5H
001d7 68 29 5c 8f c2 push -1030792151 ; c28f5c29H
001dc e8 00 00 00 00 call _DrawLine
001e1 83 c4 10 add esp, 16 ; 00000010H
; 41 : DrawLine(0, -1);
001e4 68 00 00 f0 bf push -1074790400 ; bff00000H
001e9 6a 00 push 0
001eb 6a 00 push 0
001ed 6a 00 push 0
001ef e8 00 00 00 00 call _DrawLine
001f4 83 c4 10 add esp, 16 ; 00000010H
; 42 : DrawLine(-2.02, 0);
001f7 6a 00 push 0
001f9 6a 00 push 0
001fb 68 f5 28 00 c0 push -1073731339 ; c00028f5H
00200 68 29 5c 8f c2 push -1030792151 ; c28f5c29H
00205 e8 00 00 00 00 call _DrawLine
0020a 83 c4 10 add esp, 16 ; 00000010H
; 43 : DrawLine(0, 1);
0020d 68 00 00 f0 3f push 1072693248 ; 3ff00000H
00212 6a 00 push 0
00214 6a 00 push 0
00216 6a 00 push 0
00218 e8 00 00 00 00 call _DrawLine
0021d 83 c4 10 add esp, 16 ; 00000010H
; 44 : MovePen(2, 13.6-i*1.1+1);
00220 db 45 fc fild DWORD PTR _i$[ebp]
00223 dc 0d 00 00 00
00 fmul QWORD PTR __real@8@3fff8cccccccccccd000
00229 dc 2d 00 00 00
00 fsubr QWORD PTR __real@8@4002d999999999999800
0022f dc 05 00 00 00
00 fadd QWORD PTR __real@8@3fff8000000000000000
00235 83 ec 08 sub esp, 8
00238 dd 1c 24 fstp QWORD PTR [esp]
0023b 68 00 00 00 40 push 1073741824 ; 40000000H
00240 6a 00 push 0
00242 e8 00 00 00 00 call _MovePen
00247 83 c4 10 add esp, 16 ; 00000010H
; 45 : DrawString(&floor[9-i]);
0024a b9 09 00 00 00 mov ecx, 9
0024f 2b 4d fc sub ecx, DWORD PTR _i$[ebp]
00252 8d 54 8d d4 lea edx, DWORD PTR _floor$[ebp+ecx*4]
00256 52 push edx
00257 e8 00 00 00 00 call _DrawString
0025c 83 c4 04 add esp, 4
; 46 : }
0025f e9 2a ff ff ff jmp $L52975
$L52976:
; 47 : MovePen(0,3.8);
00264 68 66 66 0e 40 push 1074685542 ; 400e6666H
00269 68 66 66 66 66 push 1717986918 ; 66666666H
0026e 6a 00 push 0
00270 6a 00 push 0
00272 e8 00 00 00 00 call _MovePen
00277 83 c4 10 add esp, 16 ; 00000010H
; 48 : DrawBitmap("background2.bmp");
0027a 68 00 00 00 00 push OFFSET FLAT:??_C@_0BA@HOFL@background2?4bmp?$AA@ ; `string'
0027f e8 00 00 00 00 call _DrawBitmap
00284 83 c4 04 add esp, 4
; 49 : MovePen(5.2,14.9);
00287 68 cc cc 2d 40 push 1076743372 ; 402dccccH
0028c 68 cd cc cc cc push -858993459 ; cccccccdH
00291 68 cc cc 14 40 push 1075104972 ; 4014ccccH
00296 68 cd cc cc cc push -858993459 ; cccccccdH
0029b e8 00 00 00 00 call _MovePen
002a0 83 c4 10 add esp, 16 ; 00000010H
; 50 : DrawBitmap("millan.bmp");
002a3 68 00 00 00 00 push OFFSET FLAT:??_C@_0L@HKKC@millan?4bmp?$AA@ ; `string'
002a8 e8 00 00 00 00 call _DrawBitmap
002ad 83 c4 04 add esp, 4
; 51 : MovePen(7.2,14.9);
002b0 68 cc cc 2d 40 push 1076743372 ; 402dccccH
002b5 68 cd cc cc cc push -858993459 ; cccccccdH
002ba 68 cc cc 1c 40 push 1075629260 ; 401cccccH
002bf 68 cd cc cc cc push -858993459 ; cccccccdH
002c4 e8 00 00 00 00 call _MovePen
002c9 83 c4 10 add esp, 16 ; 00000010H
; 52 : DrawBitmap("beijing.bmp");
002cc 68 00 00 00 00 push OFFSET FLAT:??_C@_0M@ODON@beijing?4bmp?$AA@ ; `string'
002d1 e8 00 00 00 00 call _DrawBitmap
002d6 83 c4 04 add esp, 4
; 53 :
; 54 : for(i=1;i<=8;i++){
002d9 c7 45 fc 01 00
00 00 mov DWORD PTR _i$[ebp], 1
002e0 eb 09 jmp SHORT $L52980
$L52981:
002e2 8b 45 fc mov eax, DWORD PTR _i$[ebp]
002e5 83 c0 01 add eax, 1
002e8 89 45 fc mov DWORD PTR _i$[ebp], eax
$L52980:
002eb 83 7d fc 08 cmp DWORD PTR _i$[ebp], 8
002ef 0f 8f dd 00 00
00 jg $L52982
; 55 : hEggs[i+2] = LayEgg();
002f5 e8 00 00 00 00 call _LayEgg
002fa 8b 4d fc mov ecx, DWORD PTR _i$[ebp]
002fd 89 04 8d 08 00
00 00 mov DWORD PTR _hEggs[ecx*4+8], eax
; 56 : MovePen(3.5, 4.9+(i-1)*1.1);
00304 8b 55 fc mov edx, DWORD PTR _i$[ebp]
00307 83 ea 01 sub edx, 1
0030a 89 95 54 ff ff
ff mov DWORD PTR -172+[ebp], edx
00310 db 85 54 ff ff
ff fild DWORD PTR -172+[ebp]
00316 dc 0d 00 00 00
00 fmul QWORD PTR __real@8@3fff8cccccccccccd000
0031c dc 05 00 00 00
00 fadd QWORD PTR __real@8@40019cccccccccccd000
00322 83 ec 08 sub esp, 8
00325 dd 1c 24 fstp QWORD PTR [esp]
00328 68 00 00 0c 40 push 1074528256 ; 400c0000H
0032d 6a 00 push 0
0032f e8 00 00 00 00 call _MovePen
00334 83 c4 10 add esp, 16 ; 00000010H
; 57 : DrawBitmap("direction1.bmp");
00337 68 00 00 00 00 push OFFSET FLAT:??_C@_0P@KOMN@direction1?4bmp?$AA@ ; `string'
0033c e8 00 00 00 00 call _DrawBitmap
00341 83 c4 04 add esp, 4
; 58 : SetActiveEgg(hEggs[i+2]);
00344 8b 45 fc mov eax, DWORD PTR _i$[ebp]
00347 8b 0c 85 08 00
00 00 mov ecx, DWORD PTR _hEggs[eax*4+8]
0034e 51 push ecx
0034f e8 00 00 00 00 call _SetActiveEgg
00354 83 c4 04 add esp, 4
; 59 : ShowEgg (1);
00357 6a 01 push 1
00359 e8 00 00 00 00 call _ShowEgg
0035e 83 c4 04 add esp, 4
; 60 :
; 61 : hEggs[i+10] = LayEgg();
00361 e8 00 00 00 00 call _LayEgg
00366 8b 55 fc mov edx, DWORD PTR _i$[ebp]
00369 89 04 95 28 00
00 00 mov DWORD PTR _hEggs[edx*4+40], eax
; 62 : MovePen(3.5, 4.9+(i-1)*1.1);
00370 8b 45 fc mov eax, DWORD PTR _i$[ebp]
00373 83 e8 01 sub eax, 1
00376 89 85 50 ff ff
ff mov DWORD PTR -176+[ebp], eax
0037c db 85 50 ff ff
ff fild DWORD PTR -176+[ebp]
00382 dc 0d 00 00 00
00 fmul QWORD PTR __real@8@3fff8cccccccccccd000
00388 dc 05 00 00 00
00 fadd QWORD PTR __real@8@40019cccccccccccd000
0038e 83 ec 08 sub esp, 8
00391 dd 1c 24 fstp QWORD PTR [esp]
00394 68 00 00 0c 40 push 1074528256 ; 400c0000H
00399 6a 00 push 0
0039b e8 00 00 00 00 call _MovePen
003a0 83 c4 10 add esp, 16 ; 00000010H
; 63 : DrawBitmap("direction3.bmp");
003a3 68 00 00 00 00 push OFFSET FLAT:??_C@_0P@OOIH@direction3?4bmp?$AA@ ; `string'
003a8 e8 00 00 00 00 call _DrawBitmap
003ad 83 c4 04 add esp, 4
; 64 : SetActiveEgg(hEggs[i+10]);
003b0 8b 4d fc mov ecx, DWORD PTR _i$[ebp]
003b3 8b 14 8d 28 00
00 00 mov edx, DWORD PTR _hEggs[ecx*4+40]
003ba 52 push edx
003bb e8 00 00 00 00 call _SetActiveEgg
003c0 83 c4 04 add esp, 4
; 65 : ShowEgg (0);
003c3 6a 00 push 0
003c5 e8 00 00 00 00 call _ShowEgg
003ca 83 c4 04 add esp, 4
; 66 :
; 67 : }
003cd e9 10 ff ff ff jmp $L52981
$L52982:
; 68 :
; 69 : for(i=1;i<=8;i++){
003d2 c7 45 fc 01 00
00 00 mov DWORD PTR _i$[ebp], 1
003d9 eb 09 jmp SHORT $L52985
$L52986:
003db 8b 45 fc mov eax, DWORD PTR _i$[ebp]
003de 83 c0 01 add eax, 1
003e1 89 45 fc mov DWORD PTR _i$[ebp], eax
$L52985:
003e4 83 7d fc 08 cmp DWORD PTR _i$[ebp], 8
003e8 0f 8f dd 00 00
00 jg $L52987
; 70 : hEggs[i+18] = LayEgg();
003ee e8 00 00 00 00 call _LayEgg
003f3 8b 4d fc mov ecx, DWORD PTR _i$[ebp]
003f6 89 04 8d 48 00
00 00 mov DWORD PTR _hEggs[ecx*4+72], eax
; 71 : MovePen(4.5, 5.9+(i-1)*1.1);
003fd 8b 55 fc mov edx, DWORD PTR _i$[ebp]
00400 83 ea 01 sub edx, 1
00403 89 95 4c ff ff
ff mov DWORD PTR -180+[ebp], edx
00409 db 85 4c ff ff
ff fild DWORD PTR -180+[ebp]
0040f dc 0d 00 00 00
00 fmul QWORD PTR __real@8@3fff8cccccccccccd000
00415 dc 05 00 00 00
00 fadd QWORD PTR __real@8@4001bcccccccccccd000
0041b 83 ec 08 sub esp, 8
0041e dd 1c 24 fstp QWORD PTR [esp]
00421 68 00 00 12 40 push 1074921472 ; 40120000H
00426 6a 00 push 0
00428 e8 00 00 00 00 call _MovePen
0042d 83 c4 10 add esp, 16 ; 00000010H
; 72 : DrawBitmap("direction2.bmp");
00430 68 00 00 00 00 push OFFSET FLAT:??_C@_0P@EOKC@direction2?4bmp?$AA@ ; `string'
00435 e8 00 00 00 00 call _DrawBitmap
0043a 83 c4 04 add esp, 4
; 73 : SetActiveEgg(hEggs[i+18]);
0043d 8b 45 fc mov eax, DWORD PTR _i$[ebp]
00440 8b 0c 85 48 00
00 00 mov ecx, DWORD PTR _hEggs[eax*4+72]
00447 51 push ecx
00448 e8 00 00 00 00 call _SetActiveEgg
0044d 83 c4 04 add esp, 4
; 74 : ShowEgg (1);
00450 6a 01 push 1
00452 e8 00 00 00 00 call _ShowEgg
00457 83 c4 04 add esp, 4
; 75 :
; 76 : hEggs[i+26] = LayEgg();
0045a e8 00 00 00 00 call _LayEgg
0045f 8b 55 fc mov edx, DWORD PTR _i$[ebp]
00462 89 04 95 68 00
00 00 mov DWORD PTR _hEggs[edx*4+104], eax
; 77 : MovePen(4.5, 5.9+(i-1)*1.1);
00469 8b 45 fc mov eax, DWORD PTR _i$[ebp]
0046c 83 e8 01 sub eax, 1
0046f 89 85 48 ff ff
ff mov DWORD PTR -184+[ebp], eax
00475 db 85 48 ff ff
ff fild DWORD PTR -184+[ebp]
0047b dc 0d 00 00 00
00 fmul QWORD PTR __real@8@3fff8cccccccccccd000
00481 dc 05 00 00 00
00 fadd QWORD PTR __real@8@4001bcccccccccccd000
00487 83 ec 08 sub esp, 8
0048a dd 1c 24 fstp QWORD PTR [esp]
0048d 68 00 00 12 40 push 1074921472 ; 40120000H
00492 6a 00 push 0
00494 e8 00 00 00 00 call _MovePen
00499 83 c4 10 add esp, 16 ; 00000010H
; 78 : DrawBitmap("direction4.bmp");
0049c 68 00 00 00 00 push OFFSET FLAT:??_C@_0P@IOHN@direction4?4bmp?$AA@ ; `string'
004a1 e8 00 00 00 00 call _DrawBitmap
004a6 83 c4 04 add esp, 4
; 79 : SetActiveEgg(hEggs[i+26]);
004a9 8b 4d fc mov ecx, DWORD PTR _i$[ebp]
004ac 8b 14 8d 68 00
00 00 mov edx, DWORD PTR _hEggs[ecx*4+104]
004b3 52 push edx
004b4 e8 00 00 00 00 call _SetActiveEgg
004b9 83 c4 04 add esp, 4
; 80 : ShowEgg (0);
004bc 6a 00 push 0
004be e8 00 00 00 00 call _ShowEgg
004c3 83 c4 04 add esp, 4
; 81 : }
004c6 e9 10 ff ff ff jmp $L52986
$L52987:
; 82 :
; 83 :
; 84 : hEggs[66] = LayEgg();
004cb e8 00 00 00 00 call _LayEgg
004d0 a3 08 01 00 00 mov DWORD PTR _hEggs+264, eax
; 85 : MovePen(5.5, 12.5);
004d5 68 00 00 29 40 push 1076428800 ; 40290000H
004da 6a 00 push 0
004dc 68 00 00 16 40 push 1075183616 ; 40160000H
004e1 6a 00 push 0
004e3 e8 00 00 00 00 call _MovePen
004e8 83 c4 10 add esp, 16 ; 00000010H
; 86 : DrawBitmap("background.bmp");
004eb 68 00 00 00 00 push OFFSET FLAT:??_C@_0P@JFGK@background?4bmp?$AA@ ; `string'
004f0 e8 00 00 00 00 call _DrawBitmap
004f5 83 c4 04 add esp, 4
; 87 :
; 88 : for (i=1; i!=10; i++){
004f8 c7 45 fc 01 00
00 00 mov DWORD PTR _i$[ebp], 1
004ff eb 09 jmp SHORT $L52991
$L52992:
00501 8b 45 fc mov eax, DWORD PTR _i$[ebp]
00504 83 c0 01 add eax, 1
00507 89 45 fc mov DWORD PTR _i$[ebp], eax
$L52991:
0050a 83 7d fc 0a cmp DWORD PTR _i$[ebp], 10 ; 0000000aH
0050e 74 6b je SHORT $L52993
; 89 : sprintf(filePath, "%db.bmp", i);
00510 8b 4d fc mov ecx, DWORD PTR _i$[ebp]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?