mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
Misc.
This commit is contained in:
parent
faa38eebee
commit
e14b66ca98
1 changed files with 0 additions and 15 deletions
|
|
@ -42,19 +42,6 @@ enum class glider_id : uint32_t {
|
||||||
finder2 = 0x1A,
|
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) {
|
bool __stdcall strequ(const char *s1, const char *s2) {
|
||||||
do {
|
do {
|
||||||
if (*s1 != *s2) {
|
if (*s1 != *s2) {
|
||||||
|
|
@ -84,8 +71,6 @@ __declspec(naked) void fix_script_function__ISGLIDER() {
|
||||||
inc esi
|
inc esi
|
||||||
jmp label_cmp
|
jmp label_cmp
|
||||||
end:
|
end:
|
||||||
cmp al, cl
|
|
||||||
jne bad
|
|
||||||
popad
|
popad
|
||||||
; push some regs as required by success branch
|
; push some regs as required by success branch
|
||||||
push ebx
|
push ebx
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue