forked from BlackHeart-TF/GMSScriptBank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
x3 No Delay
67 lines (57 loc) · 1.29 KB
/
x3 No Delay
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//175.1
//Updated by Randomcity2 - Sometimes useful IMO.
[ENABLE]
alloc(DelayHook,128)
label(Return)
label(DH_Reset)
alloc(Counter,4)
alloc(AttackHook,128)
label(Return2)
label(AH_Original)
Counter:
dd 0
DelayHook:
inc [Counter]
cmp [Counter],3
jae DH_Reset
ret 0014
DH_Reset:
mov [Counter],0
push -01 // Original Opcode
push 01CC6778// Original Opcode
jmp Return
AttackHook:
push [esp+4]
mov ecx,esi
call AH_Original
push [esp+4]
mov ecx,esi
call AH_Original
push [esp+4]
mov ecx,esi
call AH_Original
ret 0004
AH_Original:
push -01 // Original Opcode
push 01CD26A8 // Original Opcode
jmp Return2
016DB5E0:
jmp DelayHook
nop
nop
Return:
01759890:
jmp AttackHook
nop
nop
Return2:
[DISABLE]
016DB5E0: // 6A FF 68 ?? ?? ?? ?? 64 A1 00 00 00 00 50 83 EC ?? 53 55 56 57 A1 ?? ?? ?? ?? 33 C4 50 8D 44 24 ?? 64 A3 00 00 00 00 8B D9 83 BB ?? ?? ?? ?? 00 8B 7C 24 ?? 0F 84
push -01
push 01CC6778 // new AOB?!? - 6A FF 68 ? ? ? ? 64 A1 00 00 00 00 50 83 EC ? 53 55 56 57 A1 ? ? ? ? 33 C4 50 8D 44 24 ? 64 A3 00 00 00 00 8B D9 83 BB ? ? ? ? 00 8B 74 24 ? 0F 84
01759890: // 6A FF 68 ? ? ? ? 64 A1 00 00 00 00 50 83 ? ? 53 55 56 57 A1 ? ? ? ? 33 C4 50 8D ? ? ? 64 A3 00 00 00 00 8B F1 8B ? ? ? ? ? 6A 00 68 ? ? ? ? 8B ? 89 [Third Result]
push -01
push 01CD26A8
dealloc(DelayHook)
dealloc(Counter)
dealloc(AttackHook)