From e14b66ca98687c0006add33fe445e6d874d8bc9c Mon Sep 17 00:00:00 2001 From: lzwdgc Date: Mon, 12 Feb 2024 21:45:35 +0300 Subject: [PATCH] Misc. --- examples/mods/aim1_community_fix/aim.exe.fixes.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/examples/mods/aim1_community_fix/aim.exe.fixes.h b/examples/mods/aim1_community_fix/aim.exe.fixes.h index 2ec6993..9a63b16 100644 --- a/examples/mods/aim1_community_fix/aim.exe.fixes.h +++ b/examples/mods/aim1_community_fix/aim.exe.fixes.h @@ -42,19 +42,6 @@ enum class glider_id : uint32_t { finder2 = 0x1A, }; -#define NOP1 __asm { nop } -#define NOP2 NOP1 NOP1 -#define NOP4 NOP2 NOP2 -#define NOP8 NOP4 NOP4 -#define NOP16 NOP8 NOP8 -#define NOP32 NOP16 NOP16 -#define NOP64 NOP32 NOP32 -#define NOP128 NOP64 NOP64 -#define NOP256 NOP128 NOP128 -#define NOP512 NOP256 NOP256 -#define NOP1024 NOP512 NOP512 -#define NOP4K NOP1024 NOP1024 NOP1024 NOP1024 - bool __stdcall strequ(const char *s1, const char *s2) { do { if (*s1 != *s2) { @@ -84,8 +71,6 @@ __declspec(naked) void fix_script_function__ISGLIDER() { inc esi jmp label_cmp end: - cmp al, cl - jne bad popad ; push some regs as required by success branch push ebx