From 8642446c4220bf265355b88026354e5efc104b32 Mon Sep 17 00:00:00 2001 From: iostream Date: Tue, 21 Apr 2020 14:36:30 +0700 Subject: [PATCH] try avoid false positive --- README.md | 2 +- src/HookApi.cpp | 5 +++++ src/HookApi.h | 32 ++++++++++++++++---------------- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index f2d7a0b1..33f7659d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

A multi-purpose adblocker and skip bypass for the Windows Spotify Desktop Application.

Please support Spotify by purchasing premium

- Last updated: 1 April 2020
+ Last updated: 21 April 2020
Last tested version: 1.1.30.658.gf13cde74

Important Notice(s)

diff --git a/src/HookApi.cpp b/src/HookApi.cpp index d500a132..eafa310c 100644 --- a/src/HookApi.cpp +++ b/src/HookApi.cpp @@ -1,5 +1,10 @@ /* ////////////////////////////////////////////////////////////////////////// +HookApi 0.7 UNOFFICIAL +by MrPond +2020.04.21 +Windows defender detect it as virus fak it. +////////////////////////////////////////////////////////////////////////// HookApi 0.6 thanks to xIkUg ,sucsor diff --git a/src/HookApi.h b/src/HookApi.h index a9af0867..d5569876 100644 --- a/src/HookApi.h +++ b/src/HookApi.h @@ -45,22 +45,22 @@ BOOL __stdcall UnInstallHookApi(PHOOKENVIRONMENT pHookEnv); ////////////////////////////////////////////////////////////////////////// //ÁíÒ»¸öLDX32 -#define C_ERROR 0xFFFFFFFF -#define C_PREFIX 0x00000001 -#define C_66 0x00000002 -#define C_67 0x00000004 -#define C_DATA66 0x00000008 -#define C_DATA1 0x00000010 -#define C_DATA2 0x00000020 -#define C_DATA4 0x00000040 -#define C_MEM67 0x00000080 -#define C_MEM1 0x00000100 -#define C_MEM2 0x00000200 -#define C_MEM4 0x00000400 -#define C_MODRM 0x00000800 -#define C_DATAW0 0x00001000 -#define C_FUCKINGTEST 0x00002000 -#define C_TABLE_0F 0x00004000 +constexpr auto C_ERROR = 0xFFFFFFFF; +constexpr auto C_PREFIX = 0x00000001; +constexpr auto C_66 = 0x00000002; +constexpr auto C_67 = 0x00000004; +constexpr auto C_DATA66 = 0x00000008; +constexpr auto C_DATA1 = 0x00000010; +constexpr auto C_DATA2 = 0x00000020; +constexpr auto C_DATA4 = 0x00000040; +constexpr auto C_MEM67 = 0x00000080; +constexpr auto C_MEM1 = 0x00000100; +constexpr auto C_MEM2 = 0x00000200; +constexpr auto C_MEM4 = 0x00000400; +constexpr auto C_MODRM = 0x00000800; +constexpr auto C_DATAW0 = 0x00001000; +constexpr auto C_FUCKINGTEST = 0x00002000; +constexpr auto C_TABLE_0F = 0x00004000; static int table_1[256] = {