6.2修正版【修改人物显示界面】166号对话框
00478748 |> \FF2485 20894700 JMP DWORD PTR DS:[EAX*4+478920]
00478902 |> \8B4D 90 MOV ECX,DWORD PTR SS:[EBP-70]
00478905 |. 890D 280E5000 MOV DWORD PTR DS:[500E28],ECX
0047890B |. 6A 00 PUSH 0 ; /Arg4 = 00000000
0047890D |. 6A 00 PUSH 0 ; |Arg3 = 00000000
0047890F |. 6A 00 PUSH 0 ; |Arg2 = 00000000
00478911 |. 8D55 04 LEA EDX,DWORD PTR SS:[EBP+4] ; |
00478914 |. 52 PUSH EDX ; |Arg1
00478915 |. E8 1888F8FF CALL Ekd5.00401132 ; \Ekd5.00401132
0047891A |. 8BE5 MOV ESP,EBP
0047891C |. 5D POP EBP
0047891D \. C2 0400 RETN 4
00478920 . 4F874700 DD Ekd5.0047874F ; 分支表 被用于 00478748
00478924 . 56874700 DD Ekd5.00478756
00478928 . 5D874700 DD Ekd5.0047875D
0047892C . 5D874700 DD Ekd5.0047875D
8B 4D 90 89 0D 28 0E 50 00 6A 00 6A 00 6A 00 8D 55 04 52 E8 18 88 F8 FF 8B E5 5D C2 04 00 4F 87
47 00 56 87 47 00 5D 87 47 00 5D 87 47 00
00478521 |. B8 F2030000 |MOV EAX,3F2 ; |
00478788 |> \8B4D 90 MOV ECX,DWORD PTR SS:[EBP-70]
0047878B |. FF75 08 PUSH DWORD PTR SS:[EBP+8] ; /Arg1
0047878E |. E8 2791FDFF CALL Ekd5.004518BA ; \Ekd5.004518BA
00478793 |. 90 NOP
00478794 |. 90 NOP
00478795 |. 90 NOP
00478796 |. 90 NOP
00478797 |. 90 NOP
00478798 |. 90 NOP
00478799 |. 90 NOP
0047879A |. 90 NOP
0047879B |. 90 NOP
0047879C |. 90 NOP
0047879D |. 90 NOP
0047879E |. 90 NOP
0047879F |. 90 NOP
004787A0 |. 90 NOP
004787A1 |. 90 NOP
004787A2 |. 90 NOP
004787A3 |. 90 NOP
004787A4 |. 90 NOP
004787A5 |. 90 NOP
004787A6 |. 90 NOP
004787A7 |. 90 NOP
004787A8 |. 90 NOP
004787A9 |. 90 NOP
004518BA /$ 55 PUSH EBP
004518BB |. 8BEC MOV EBP,ESP
004518BD |. 51 PUSH ECX
004518BE |. 0FB641 2B MOVZX EAX,BYTE PTR DS:[ECX+2B]
004518C2 |. E8 53F8FAFF CALL Ekd5.0040111A
004518C7 |. 50 PUSH EAX ; /Text
004518C8 |. 68 F8030000 PUSH 3F8 ; |/ControlID = 3F8 (1016.)
004518CD |. FF75 08 PUSH DWORD PTR SS:[EBP+8] ; ||hWnd
004518D0 |. FF15 DC624800 CALL DWORD PTR DS:[<&USER32.GetDlgItem>] ; |\GetDlgItem
004518D6 |. 50 PUSH EAX ; |hWnd
004518D7 |. FF15 60634800 CALL DWORD PTR DS:[<&USER32.SetWindowTex>; \SetWindowTextA
004518DD |. 8B4D FC MOV ECX,DWORD PTR SS:[EBP-4]
004518E0 |. 0FB641 2B MOVZX EAX,BYTE PTR DS:[ECX+2B]
004518E4 |. 0FB680 817840>MOVZX EAX,BYTE PTR DS:[EAX+407881]
004518EB |. 90 NOP
004518EC |. 90 NOP
004518ED |. 90 NOP
004518EE |. 90 NOP
004518EF |. 3E:8B0485 901>MOV EAX,DWORD PTR DS:[EAX*4+451990]
004518F7 |. 50 PUSH EAX ; /Text
004518F8 |. 68 FA030000 PUSH 3FA ; |/ControlID = 3FA (1018.)
004518FD |. FF75 08 PUSH DWORD PTR SS:[EBP+8] ; ||hWnd
00451900 |. FF15 DC624800 CALL DWORD PTR DS:[<&USER32.GetDlgItem>] ; |\GetDlgItem
00451906 |. 50 PUSH EAX ; |hWnd
00451907 |. FF15 60634800 CALL DWORD PTR DS:[<&USER32.SetWindowTex>; \SetWindowTextA
0045190D |. 8BE5 MOV ESP,EBP
0045190F |. 5D POP EBP
00451910 \. C2 0400 RETN 4
55 8B EC 51 0F B6 41 2B E8 53 F8 FA FF 50 68 F8 03 00 00 FF 75 08 FF 15 DC 62 48 00 50 FF 15 60
63 48 00 8B 4D FC 0F B6 41 2B 0F B6 80 81 78 40 00 90 90 90 90 3E 8B 04 85 90 19 45 00 50 68 FA
03 00 00 FF 75 08 FF 15 DC 62 48 00 50 FF 15 60 63 48 00 8B E5 5D C2 04 00
00451990 . /BA194500 DD Ekd5.004519BA
00451994 |CB0C5000 DD Ekd5.00500CCB
00451998 |D00C5000 DD Ekd5.00500CD0
0045199C |BFBF4800 DD Ekd5.0048BFBF
004519A0 |D50C5000 DD Ekd5.00500CD5
004519A4 |DA0C5000 DD Ekd5.00500CDA
004519A8 |BFBF4800 DD Ekd5.0048BFBF
004519AC |DF0C5000 DD Ekd5.00500CDF
004519B0 |BFBF4800 DD Ekd5.0048BFBF
004519B4 |00 DB 00
004519B5 |00 DB 00
004519B6 |00 DB 00
004519B7 |00 DB 00
004519B8 |00 DB 00
004519B9 |00 DB 00
004519BA \CE DB CE
004519BB DE DB DE
004519BC 00 DB 00
004519BD 00 DB 00
004519BE 00 DB 00
004519BF 00 DB 00
BA 19 45 00 CB 0C 50 00 D0 0C 50 00 BF BF 48 00 D5 0C 50 00 DA 0C 50 00 BF BF 48 00 DF 0C 50 00
BF BF 48 00 00 00 00 00 00 00 CE DE 00 00 00 00
004793C6 E8 B5980500 CALL Ekd5.004D2C80
004D2C80 55 PUSH EBP
004D2C81 8BEC MOV EBP,ESP
004D2C83 83EC 08 SUB ESP,8
004D2C86 6A 08 PUSH 8
004D2C88 FF15 64634800 CALL DWORD PTR DS:[<&USER32.GetSysColor>>; USER32.GetSysColor
004D2C8E 8945 F8 MOV DWORD PTR SS:[EBP-8],EAX
004D2C91 6A 0F PUSH 0F
004D2C93 FF15 64634800 CALL DWORD PTR DS:[<&USER32.GetSysColor>>; USER32.GetSysColor
004D2C99 8945 FC MOV DWORD PTR SS:[EBP-4],EAX
004D2C9C FF75 0C PUSH DWORD PTR SS:[EBP+C]
004D2C9F FF15 94634800 CALL DWORD PTR DS:[<&USER32.GetDlgCtrlID>; USER32.GetDlgCtrlID
004D2CA5 3D F2030000 CMP EAX,3F2
004D2CAA 72 29 JB SHORT Ekd5.004D2CD5
004D2CAC 3D F6030000 CMP EAX,3F6
004D2CB1 77 22 JA SHORT Ekd5.004D2CD5
004D2CB3 2D F2030000 SUB EAX,3F2
004D2CB8 05 440E5000 ADD EAX,Ekd5.00500E44 ; ASCII "[++++"
004D2CBD 8038 2B CMP BYTE PTR DS:[EAX],2B
004D2CC0 75 07 JNZ SHORT Ekd5.004D2CC9
004D2CC2 B8 FF000000 MOV EAX,0FF
004D2CC7 EB 0E JMP SHORT Ekd5.004D2CD7
004D2CC9 8038 3B CMP BYTE PTR DS:[EAX],3B
004D2CCC 75 07 JNZ SHORT Ekd5.004D2CD5
004D2CCE B8 0000FF00 MOV EAX,0FF0000
004D2CD3 EB 02 JMP SHORT Ekd5.004D2CD7
004D2CD5 33C0 XOR EAX,EAX
004D2CD7 85C0 TEST EAX,EAX
004D2CD9 74 03 JE SHORT Ekd5.004D2CDE
004D2CDB 8945 F8 MOV DWORD PTR SS:[EBP-8],EAX
004D2CDE FF75 14 PUSH DWORD PTR SS:[EBP+14]
004D2CE1 FF75 10 PUSH DWORD PTR SS:[EBP+10]
004D2CE4 FF75 F8 PUSH DWORD PTR SS:[EBP-8]
004D2CE7 FF75 FC PUSH DWORD PTR SS:[EBP-4]
004D2CEA FF75 0C PUSH DWORD PTR SS:[EBP+C]
004D2CED FF75 08 PUSH DWORD PTR SS:[EBP+8]
004D2CF0 E8 C5E8F9FF CALL Ekd5.004715BA
004D2CF5 8BE5 MOV ESP,EBP
004D2CF7 5D POP EBP
004D2CF8 C2 1000 RETN 10
55 8B EC 83 EC 08 6A 08 FF 15 64 63 48 00 89 45 F8 6A 0F FF 15 64 63 48 00 89 45 FC FF 75 0C FF
15 94 63 48 00 3D F2 03 00 00 72 29 3D F6 03 00 00 77 22 2D F2 03 00 00 05 44 0E 50 00 80 38 2B
75 07 B8 FF 00 00 00 EB 0E 80 38 3B 75 07 B8 00 00 FF 00 EB 02 33 C0 85 C0 74 03 89 45 F8 FF 75
14 FF 75 10 FF 75 F8 FF 75 FC FF 75 0C FF 75 08 E8 C5 E8 F9 FF 8B E5 5D C2 10 00
使用RS修改166号对话框
166 DIALOGEX 360, 10, 327, 247
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "武将情报"
LANGUAGE LANG_CHINESE, 0x2
FONT 9, "微软雅黑"
{
CONTROL "确定", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 277, 231, 48, 13 , 0x00000020
CONTROL "上一武将", 1027, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 191, 231, 40, 13
CONTROL "下一武将", 1028, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 232, 231, 40, 13
CONTROL "Tab1", 1029, "SysTabControl32", TCS_TABS | TCS_MULTILINE | TCS_OWNERDRAWFIXED | TCS_FOCUSNEVER | WS_CHILD | WS_VISIBLE, 191, 2, 134, 223
CONTROL "N", 1002, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 3, 85, 40, 8
CONTROL "B", 1015, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 47, 85, 36, 8
CONTROL "", 1076, STATIC, SS_ENHMETAFILE | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 5, 3, 80, 80
CONTROL "部队属性", -1, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 2, 98, 86, 40
CONTROL "穿透范围", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 45, 98, 32, 8
CONTROL "Att", 1016, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 108, 32, 8
CONTROL "Btt", 1018, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 45, 108, 22, 8
CONTROL "9", 1017, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 15, 122, 13, 8
CONTROL "Lv", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 6, 122, 8, 8
CONTROL "", 1381, STATIC, SS_WHITERECT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 45, 122, 38, 8
CONTROL "Exp", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 31, 122, 12, 8
CONTROL "状态", -1, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 2, 139, 86, 55
CONTROL "", 1376, STATIC, SS_WHITERECT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 22, 153, 61, 8
CONTROL "HP", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 7, 153, 10, 8
CONTROL "", 1380, STATIC, SS_WHITERECT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 22, 166, 61, 8
CONTROL "MP", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 7, 166, 10, 8
CONTROL "S", 1443, STATIC, SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 2, 199, 186, 25
CONTROL "现金", 1323, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 2, 225, 34, 20
CONTROL "1", 1074, STATIC, SS_RIGHT | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 234, 28, 8
CONTROL "Rubi", 1003, STATIC, SS_LEFT | WS_CHILD | WS_GROUP, 122, 282, 35, 8
CONTROL "SP", 0, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 179, 10, 9
CONTROL "", 1445, STATIC, SS_WHITERECT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 22, 179, 61, 8
CONTROL "基本能力", -1, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 91, 1, 97, 45
CONTROL "0", 1010, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 117, 12, 12, 8 , 0x00001000
CONTROL "武力", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 97, 12, 17, 8
CONTROL "0", 1011, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 117, 23, 12, 8 , 0x00001000
CONTROL "统率", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 97, 23, 17, 8
CONTROL "0", 1012, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 117, 34, 12, 8 , 0x00001000
CONTROL "智力", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 97, 34, 17, 8
CONTROL "0", 1013, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 165, 12, 12, 8 , 0x00001000
CONTROL "敏捷", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 145, 12, 17, 8
CONTROL "0", 1014, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 165, 23, 12, 8 , 0x00001000
CONTROL "运气", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 145, 23, 17, 8
CONTROL "", 1446, STATIC, SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 91, 49, 97, 75
CONTROL "??战 ??胜 ??败", 1486, STATIC, SS_RIGHT | WS_CHILD | WS_VISIBLE | WS_GROUP, 40, 232, 147, 10
CONTROL "", 1235, LISTBOX, LBS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 91, 125, 97, 75
}
[ 本帖最后由 59054695 于 2021-6-21 15:46 编辑 ]
图片附件:
1.png (2021-6-18 17:21, 98.43 K)
图片附件:
2.png (2021-6-18 17:21, 102.12 K)
图片附件:
3.png (2021-6-18 17:21, 85.85 K)
图片附件:
4.png (2021-6-18 17:21, 93.71 K)
|