forked from grasmanek94/cheat-tables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraw2.CT
196 lines (187 loc) · 4.85 KB
/
graw2.CT
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="19">
<CheatEntries>
<CheatEntry>
<ID>0</ID>
<Description>"No description"</Description>
<LastState Value="41F80000" Activated="1" RealAddress="1AFFFC04"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>1AFFFC04</Address>
</CheatEntry>
<CheatEntry>
<ID>1</ID>
<Description>"No description"</Description>
<LastState Value="1106771968" RealAddress="1AFFFC04"/>
<VariableType>4 Bytes</VariableType>
<Address>1AFFFC04</Address>
</CheatEntry>
<CheatEntry>
<ID>2</ID>
<Description>"No description"</Description>
<LastState Value="16384" RealAddress="182D2082"/>
<VariableType>2 Bytes</VariableType>
<Address>182D2082</Address>
</CheatEntry>
<CheatEntry>
<ID>4</ID>
<Description>"No description"</Description>
<LastState Value="16864" RealAddress="1B013B5E"/>
<VariableType>2 Bytes</VariableType>
<Address>1B013B5E</Address>
</CheatEntry>
<CheatEntry>
<ID>5</ID>
<Description>"No description"</Description>
<LastState Value="16384" RealAddress="49B1F6A2"/>
<VariableType>2 Bytes</VariableType>
<Address>49B1F6A2</Address>
</CheatEntry>
<CheatEntry>
<ID>6</ID>
<Description>"No description"</Description>
<LastState Value="16256" RealAddress="1B013B46"/>
<VariableType>2 Bytes</VariableType>
<Address>1B013B46</Address>
</CheatEntry>
<CheatEntry>
<ID>7</ID>
<Description>"Auto Assemble script"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
mov eax,1106771968
originalcode:
push esi
mov esi,[esp+0C]
exit:
jmp returnhere
"GRAW2.exe"+38BE51:
jmp newmem
nop
nop
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"GRAW2.exe"+38BE51:
mov eax,[ecx+08]
push esi
mov esi,[esp+0C]
//Alt: db 8B 41 08 56 8B 74 24 0C
</AssemblerScript>
</CheatEntry>
</CheatEntries>
<CheatCodes>
<CodeEntry>
<Description>Code :mov eax,[ecx+08]</Description>
<Address>0078BE51</Address>
<ModuleName>GRAW2.exe</ModuleName>
<ModuleNameOffset>38BE51</ModuleNameOffset>
<Before>
<Byte>CC</Byte>
<Byte>CC</Byte>
<Byte>CC</Byte>
<Byte>CC</Byte>
<Byte>51</Byte>
</Before>
<Actual>
<Byte>8B</Byte>
<Byte>41</Byte>
<Byte>08</Byte>
</Actual>
<After>
<Byte>56</Byte>
<Byte>8B</Byte>
<Byte>74</Byte>
<Byte>24</Byte>
<Byte>0C</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Code :fstp dword ptr [esi+08]</Description>
<Address>0078BA22</Address>
<ModuleName>GRAW2.exe</ModuleName>
<ModuleNameOffset>38BA22</ModuleNameOffset>
<Before>
<Byte>11</Byte>
<Byte>50</Byte>
<Byte>FF</Byte>
<Byte>52</Byte>
<Byte>08</Byte>
</Before>
<Actual>
<Byte>D9</Byte>
<Byte>5E</Byte>
<Byte>08</Byte>
</Actual>
<After>
<Byte>5E</Byte>
<Byte>C2</Byte>
<Byte>04</Byte>
<Byte>00</Byte>
<Byte>CC</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Code :mov eax,[ecx+08]</Description>
<Address>0078BE51</Address>
<ModuleName>GRAW2.exe</ModuleName>
<ModuleNameOffset>38BE51</ModuleNameOffset>
<Before>
<Byte>CC</Byte>
<Byte>CC</Byte>
<Byte>CC</Byte>
<Byte>CC</Byte>
<Byte>51</Byte>
</Before>
<Actual>
<Byte>8B</Byte>
<Byte>41</Byte>
<Byte>08</Byte>
</Actual>
<After>
<Byte>56</Byte>
<Byte>8B</Byte>
<Byte>74</Byte>
<Byte>24</Byte>
<Byte>0C</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Code :fstp dword ptr [esi+08]</Description>
<Address>0078BA22</Address>
<ModuleName>GRAW2.exe</ModuleName>
<ModuleNameOffset>38BA22</ModuleNameOffset>
<Before>
<Byte>11</Byte>
<Byte>50</Byte>
<Byte>FF</Byte>
<Byte>52</Byte>
<Byte>08</Byte>
</Before>
<Actual>
<Byte>D9</Byte>
<Byte>5E</Byte>
<Byte>08</Byte>
</Actual>
<After>
<Byte>5E</Byte>
<Byte>C2</Byte>
<Byte>04</Byte>
<Byte>00</Byte>
<Byte>CC</Byte>
</After>
</CodeEntry>
</CheatCodes>
<UserdefinedSymbols/>
<Comments>Info about this table:
</Comments>
</CheatTable>