Code cleanup
This commit is contained in:
@@ -1757,14 +1757,14 @@ EXTSYM SystemTimewSecond
|
||||
|
||||
NEWSYM GetTimeInSeconds
|
||||
call GetLocalTime
|
||||
movzx eax,word [SystemTimewHour]
|
||||
movzx eax,word[SystemTimewHour]
|
||||
mov ebx,60
|
||||
mul ebx
|
||||
movzx ebx,word [SystemTimewMinute]
|
||||
movzx ebx,word[SystemTimewMinute]
|
||||
add eax,ebx
|
||||
mov ebx,60
|
||||
mul ebx
|
||||
movzx ebx,word [SystemTimewSecond]
|
||||
movzx ebx,word[SystemTimewSecond]
|
||||
add eax,ebx
|
||||
ret
|
||||
|
||||
|
||||
@@ -2030,14 +2030,14 @@ NEWSYM GotoHomepage
|
||||
NEWSYM GetTimeInSeconds
|
||||
push dword SystemTime
|
||||
call [_imp__GetLocalTime@4]
|
||||
movzx eax,word [SystemTime.wHour]
|
||||
movzx eax,word[SystemTime.wHour]
|
||||
mov ebx,60
|
||||
mul ebx
|
||||
movzx ebx,word [SystemTime.wMinute]
|
||||
movzx ebx,word[SystemTime.wMinute]
|
||||
add eax,ebx
|
||||
mov ebx,60
|
||||
mul ebx
|
||||
movzx ebx,word [SystemTime.wSecond]
|
||||
movzx ebx,word[SystemTime.wSecond]
|
||||
add eax,ebx
|
||||
ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user