|
https://tieba.baidu.com/p/5170388435
作者:G仔童鞋
原来军师技的效果代码不是在SO文件里,而是在EXE里,这就意味着要改变军师技效果是轻而易举的事情了,下面贴出部分代码,有兴趣的先研究,函数=00483CD4
00483CD4 /$ 55 PUSH EBP ; ****军师技效果函数
00483CD5 |. 8BEC MOV EBP,ESP
00483CD7 |. 6A FF PUSH -1
00483CD9 |. 68 519B4F00 PUSH Sango3.004F9B51 ; SE 处理程序安装
00483CDE |. 64:A1 00000000 MOV EAX,DWORD PTR FS:[0]
00483CE4 |. 50 PUSH EAX
00483CE5 |. 64:8925 00000000 MOV DWORD PTR FS:[0],ESP
00483CEC |. 81EC 4C020000 SUB ESP,24C
00483CF2 |. 898D BCFDFFFF MOV DWORD PTR SS:[EBP-244],ECX
00483CF8 |. 8B85 BCFDFFFF MOV EAX,DWORD PTR SS:[EBP-244]
00483CFE |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00483D01 |. 8948 20 MOV DWORD PTR DS:[EAX+20],ECX
00483D04 |. 8B95 BCFDFFFF MOV EDX,DWORD PTR SS:[EBP-244]
00483D0A |. 8B4A 08 MOV ECX,DWORD PTR DS:[EDX+8]
00483D0D |. E8 9E1AF8FF CALL Sango3.004057B0
00483D12 |. 8985 ECFDFFFF MOV DWORD PTR SS:[EBP-214],EAX
00483D18 |. 8B85 BCFDFFFF MOV EAX,DWORD PTR SS:[EBP-244]
00483D1E |. 8B48 0C MOV ECX,DWORD PTR DS:[EAX+C]
00483D21 |. E8 8A1AF8FF CALL Sango3.004057B0
00483D26 |. 8985 E0FDFFFF MOV DWORD PTR SS:[EBP-220],EAX
00483D2C |. 6A 01 PUSH 1 ; /Arg2 = 00000001
00483D2E |. 8B8D BCFDFFFF MOV ECX,DWORD PTR SS:[EBP-244] ; |
00483D34 |. 8B51 18 MOV EDX,DWORD PTR DS:[ECX+18] ; |
00483D37 |. 52 PUSH EDX ; |Arg1
00483D38 |. 8B85 BCFDFFFF MOV EAX,DWORD PTR SS:[EBP-244] ; |
00483D3E |. 8B48 0C MOV ECX,DWORD PTR DS:[EAX+C] ; |
00483D41 |. E8 E5C4FFFF CALL Sango3.0048022B ; \Sango3.0048022B
00483D46 |. 8B8D BCFDFFFF MOV ECX,DWORD PTR SS:[EBP-244]
00483D4C |. 8B51 18 MOV EDX,DWORD PTR DS:[ECX+18] ; 获取施放的军师技序号
00483D4F |. 8995 B8FDFFFF MOV DWORD PTR SS:[EBP-248],EDX
00483D55 |. 8B85 B8FDFFFF MOV EAX,DWORD PTR SS:[EBP-248]
00483D5B |. 83E8 01 SUB EAX,1
00483D5E |. 8985 B8FDFFFF MOV DWORD PTR SS:[EBP-248],EAX
00483D64 |. 83BD B8FDFFFF 16 CMP DWORD PTR SS:[EBP-248],16
00483D6B |. 0F87 32050000 JA Sango3.004842A3
00483D71 |. 8B8D B8FDFFFF MOV ECX,DWORD PTR SS:[EBP-248]
00483D77 |. FF248D B3424800 JMP DWORD PTR DS:[ECX*4+4842B3]
00483D7E |> 6A 01 PUSH 1 ; /--这里起是【撥雲見日】
00483D80 |. 8B0D 0CAD5100 MOV ECX,DWORD PTR DS:[51AD0C] ; |
00483D86 |. E8 0F8F0000 CALL Sango3.0048CC9A ; \Sango3.0048CC9A
00483D8B |. E9 13050000 JMP Sango3.004842A3
00483D90 |> 6A 02 PUSH 2 ; /--这里起是【風雲變色】
00483D92 |. 8B0D 0CAD5100 MOV ECX,DWORD PTR DS:[51AD0C] ; |
00483D98 |. E8 FD8E0000 CALL Sango3.0048CC9A ; \Sango3.0048CC9A
00483D9D |. E9 01050000 JMP Sango3.004842A3
00483DA2 |> 8B95 BCFDFFFF MOV EDX,DWORD PTR SS:[EBP-244] ; --这里起是【降敵士氣】
00483DA8 |. 8B42 20 MOV EAX,DWORD PTR DS:[EDX+20]
00483DAB |. F7D8 NEG EAX ; 取反---即减少
00483DAD |. 50 PUSH EAX ; /Arg1
00483DAE |. 8B8D E0FDFFFF MOV ECX,DWORD PTR SS:[EBP-220] ; |
00483DB4 |. E8 7746FBFF CALL Sango3.00438430 ; \Sango3.00438430
00483DB9 |. E9 E5040000 JMP Sango3.004842A3
00483DBE |> 8B8D BCFDFFFF MOV ECX,DWORD PTR SS:[EBP-244] ; --这里起是【鼓舞士氣】
00483DC4 |. 8B51 20 MOV EDX,DWORD PTR DS:[ECX+20]
00483DC7 |. 52 PUSH EDX ; /Arg1
00483DC8 |. 8B8D E0FDFFFF MOV ECX,DWORD PTR SS:[EBP-220] ; |
00483DCE |. E8 5D46FBFF CALL Sango3.00438430 ; \Sango3.00438430
00483DD3 |. E9 CB040000 JMP Sango3.004842A3
00483DD8 |> 8B85 BCFDFFFF MOV EAX,DWORD PTR SS:[EBP-244] ; --这里起是【增強行軍】
00483DDE |. 8B48 20 MOV ECX,DWORD PTR DS:[EAX+20]
00483DE1 |. 51 PUSH ECX ; /Arg1
00483DE2 |. 8B95 BCFDFFFF MOV EDX,DWORD PTR SS:[EBP-244] ; |
00483DE8 |. 8B4A 0C MOV ECX,DWORD PTR DS:[EDX+C] ; |
00483DEB |. E8 30090000 CALL Sango3.00484720 ; \Sango3.00484720
00483DF0 |. E9 AE040000 JMP Sango3.004842A3
00483DF5 |> 6A 01 PUSH 1 ; /--这里起是【亂敵陣形】
00483DF7 |. 6A 01 PUSH 1 ; |Arg1 = 00000001
00483DF9 |. 8B8D E0FDFFFF MOV ECX,DWORD PTR SS:[EBP-220] ; |
00483DFF |. E8 B776FCFF CALL Sango3.0044B4BB ; \Sango3.0044B4BB
00483E04 |. E9 9A040000 JMP Sango3.004842A3
|
|