int
__fastcall dialog_140001340(HWND a1,
int
a2, unsigned __int16 a3)
{
/
/
delete some init code.
if
( !v6 )
{
DestroyWindow(v5);
return
sub_1400016E0((unsigned __int64)&v14 ^ v30);
}
v7
=
v6
-
256
;
if
( !v7 )
{
v11
=
LoadIconA(hInstance, (LPCSTR)
0x70
);
SendMessageA(v5,
0x80u
,
1ui64
, (LPARAM)v11);
SendDlgItemMessageA(v5,
1000
,
0xC5u
,
0x50ui64
,
0i64
);
v12
=
GetDlgItem(v5,
1000
);
SetFocus(v12);
return
sub_1400016E0((unsigned __int64)&v14 ^ v30);
}
if
( v7
=
=
1
)
{
if
( v4
=
=
1002
)
{
SendMessageA(v5,
0x10u
,
0i64
,
0i64
);
return
sub_1400016E0((unsigned __int64)&v14 ^ v30);
}
if
( v4 !
=
1013
)
{
if
( v4
=
=
1014
|| v4
=
=
40002
)
DialogBoxParamA(hInstance, (LPCSTR)
0x67
, v5, (DLGPROC)DialogFunc,
0i64
);
/
/
DialogBoxParam函数根据对话框模板资源创建一个模态的对话框
return
sub_1400016E0((unsigned __int64)&v14 ^ v30);
}
v8
=
GetDlgItemTextA(v5,
1000
, &String,
81
);
GetDlgItemTextA(v5,
1000
, &v23,
101
);
if
( v8 !
=
'\x06'
|| v23 !
=
'6'
|| v24 !
=
'E'
|| v25 !
=
'w'
|| v26 !
=
'i'
|| v27 !
=
'9'
)
{
v9
=
(CHAR
*
)&String1;
}
else
{
v9
=
(CHAR
*
)&String1;
if
( v28
=
=
'H'
)
{
v10
=
(CHAR
*
)&v19;
LABEL_19:
lstrcpyA(v9, v10);
DialogBoxParamA(hInstance, (LPCSTR)
0x79
, v5, sub_1400012E0,
0i64
);
return
sub_1400016E0((unsigned __int64)&v14 ^ v30);
}
}
v10
=
String2;
goto LABEL_19;
}
return
sub_1400016E0((unsigned __int64)&v14 ^ v30);
}