-
Notifications
You must be signed in to change notification settings - Fork 5
/
hacks_GTA-CW_ULUS10490.ini.db
230 lines (229 loc) · 8.66 KB
/
hacks_GTA-CW_ULUS10490.ini.db
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
_S ULUS10490
_G GTA: CW [USA]
//
_C1 Speedup apps
// V1. Imperfect but works
// menu
//08BB3BEC:0E26277D
//08BB3BF0:00002825
//08BB3BF4:8E0401EC
//08BB3BF8:10800003
// can shellcode 08BB3BF8 .. 08BB3C0C
_L 0xE006277D 0x003B3BEC // check 1/4, 1/2
_L 0xE0050E26 0x003B3BEE // check 1/4, 2/2
_L 0xE0042825 0x003B3BF0 // check 2/4, 1/2 (2/2 skipped for perf)
_L 0xE0038E04 0x003B3BF6 // check 3/4, 2/2 (1/2 skipped for vers)
_L 0xE0020003 0x003B3BF8 // check 4/4, 1/2
_L 0xE0011080 0x003B3BFA // check 4/4, 2/2
_L 0x203B3BF4 0x34040001 // "li a0, 1"
// email
//08BB6DB4:0E26277D
//08BB6DB8:00002825
//08BB6DBC:8E0405B4
//08BB6DC0:10800003
//similar shellcode possible
_L 0xE006277D 0x003B6DB4 // check 1/4, 1/2
_L 0xE0050E26 0x003B6DB6 // check 1/4, 2/2
_L 0xE0042825 0x003B6DB8 // check 2/4, 1/2 (2/2 skipped for perf)
_L 0xE0038E04 0x003B6DBE // check 3/4, 2/2 (1/2 skipped for vers)
_L 0xE0020003 0x003B6DC0 // check 4/4, 1/2
_L 0xE0011080 0x003B6DC2 // check 4/4, 2/2
_L 0x203B6DBC 0x34040001 // "li a0, 1"
// gps (Google maps)
//similar shellcode possible
// 08BBC9C0:0E26277D
// 08BBC9C4:00002825
// 08BBC9C8:8E0406DC
// 08BBC9CC:10800003
_L 0xE006277D 0x003BC9C0 // check 1/4, 1/2
_L 0xE0050E26 0x003BC9C2 // check 1/4, 2/2
_L 0xE0042825 0x003BC9C4 // check 2/4, 1/2 (2/2 skipped for perf)
_L 0xE0038E04 0x003BC9CA // check 3/4, 2/2 (1/2 skipped for vers)
_L 0xE0020003 0x003BC9CC // check 4/4, 1/2
_L 0xE0011080 0x003BC9CE // check 4/4, 2/2
_L 0x203BC9C8 0x34040001 // "li a0, 1"
//
// Original by [abc123210]( https://web.archive.org/web/20170701165027/http://gtaforums.com/topic/864596-nintendo-ds-top-health-bar-in-pspiosandroid-version/ )
// Tipped off by [Frog1/Clouder11]( https://github.com/Clouder11 )
// Converted to CWCheat later
// Requires interface/complete restart (aka S.Restart, aka soft restart), go to menu and then go back
_C0 Enable undocumented DS bars [S.Restart]
_L 0x00554A14 0x00000001
_C0 Disable undocumented DS bars [Default;S.Restart]
_L 0x00554A14 0x00000000
//
// 60 FPS patch by theboy181
// For further discussion, feel free to contact at PPSSPP Discord -> patches-textures-mods
_C0 60 FPS (beta)
_L 0x2010D694 0x00000000 //60FPS
//
_C0 UnPatch cam angle [Default]
_L 0xE0018604 0x000559DA // check, instr canary, 100%
_L 0x200559D8 0x8604012C // 2
//
_C0 Patch cam angle
_L 0xE0018604 0x000559DA // check, instr canary, 100%
_L 0x200559D8 0x860401FE // 2
//
//since address unused, hack commented out until further need
//_C0 UnSet patched cam angle value [Default]
//_L 0xD0F836EA 0x003007FF // check cam2 ptr head (LE)
//_L 0x60F836E8 0x00000000 // value
//_L 0x00010001 0x000001FE // +510 - new. 512 - 2
//
_C0 Set patched cam angle value
_L 0xD0F836EA 0x003007FF // check cam2 ptr head (LE)
_L 0x60F836E8 0x0000E890 // value
_L 0x00010001 0x000001FE // +510 - new. 512 - 2
//
_C0 UnPatch cam Z [Default]
_L 0xD0F836EA 0x003007FF // check cam2 ptr head (LE)
//
_L 0x20054D60 0xAC850108 // Map Load
_L 0x200CC370 0xAE240108 // Camera switching - 1
_L 0x200CC388 0xAE240108 // Camera switching - 2
_L 0x200CC694 0xAE040108 // Camera switching - 3
_L 0x200CC6C4 0xAE040108 // Camera switching - 4
_L 0x20053EBC 0xAE040108 // Camera switching - 5
_L 0x2013DF20 0xAE040108 // Small camera correction
_L 0x200CDC8C 0xAE040108 // On foot - 1
_L 0x200CCDAC 0xAE040108 // On food - 2
_L 0x200CA400 0xAE040108 // Entering car - 1
_L 0x200CA410 0xAE040108 // Entering car - 2
_L 0x200CBFB0 0xAEC40108 // Driving car
_L 0x200C9000 0xAE040108 // Entering boat - 1
_L 0x200C9024 0xAE040108 // Entering boat - 2
_L 0x200C9158 0xAE050108 // Entering boat - 3
_L 0x200CA140 0xAE440108 // Piloting boat
_L 0x20075CB4 0xAE040108 // Exiting taxi
_L 0x20053D54 0xAE040108 // Big bang - 1 (+)
_L 0x20053BF4 0xAE040108 // Big bang - 2 (-)
_L 0x2013D828 0xAE240108 // Interact. event
_L 0x20052160 0xAC850000 // Cinematic camera - 1
_L 0x20075C1C 0xAE040108 // Cinematic camera - 2
_L 0x20074934 0xAE240108 // Cinematic camera - 3
_L 0x200745E0 0xAE240108 // Cinematic camera - chopper
_L 0x20074BC8 0xAE240108 // Cinematic camera - side view 1
_L 0x2007474C 0xAE240108 // Cinematic camera - side view 2
_L 0x200521B0 0xAC850000 // Cinematic camera - hovering around
_L 0x202714B8 0xAE050108 // Mission - 1
_L 0x20272050 0xAE040108 // Mission - 2
_L 0x20272208 0xAE040108 // Mission - 3
_L 0x20271408 0xAE040108 // Mission - 4
_L 0x2020C258 0xACC50108 // Mission - 5
_L 0x20271FBC 0xAE050108 // Mission - 6
_L 0x20272194 0xAE050108 // Mission - 7
_L 0x200CC5C8 0xAE040108 // Buildings/Garages/Missions - 1
_L 0x20053640 0xAE040108 // Buildings/Garages/Missions - 2
_L 0x20271320 0xAE050108 // Gas station/Shooting range
_L 0x20074E10 0xAE240108 // Unique stunt
_L 0x20135234 0xAE240108 // Ad destruction - 1
// Ad destruction - 2 -> Cinematic camera - hovering around
_L 0x20135B04 0xAE040108 // Ad destruction - 3
_L 0x200CA55C 0xAE050108 // Ad destruction - 4
_L 0x200440FC 0xAE040108 // Arrested - 1
_L 0x20044160 0xAE040108 // Arrested - 2
_L 0x200442C0 0xAE260108 // Arrested - 3
_L 0x200988A8 0xAE040108 // Wasted - 1
_L 0x200988C0 0xAE040108 // Wasted - 2
// nightly
_L 0xE0020000 0x0006F600 // check,
_L 0xE0010000 0x0006F602 // check,
_L 0x2006F600 0x682F7B4A
// 00000886F600 - Entering car/mission - can cause crashes if NOPed
//
//
_C0 Patch cam Z
_L 0xD0F836EA 0x003007FF // check cam2 ptr head (LE)
//
_L 0x20054D60 0x00000000 // Map Load
_L 0x200CC370 0x00000000 // Camera switching - 1
_L 0x200CC388 0x00000000 // Camera switching - 2
_L 0x200CC694 0x00000000 // Camera switching - 3
_L 0x200CC6C4 0x00000000 // Camera switching - 4
_L 0x20053EBC 0x00000000 // Camera switching - 5
_L 0x2013DF20 0x00000000 // Small camera correction
_L 0x200CDC8C 0x00000000 // On foot - 1
_L 0x200CCDAC 0x00000000 // On food - 2
_L 0x200CA400 0x00000000 // Entering car - 1
_L 0x200CA410 0x00000000 // Entering car - 2
_L 0x200CBFB0 0x00000000 // Driving car
_L 0x200C9000 0x00000000 // Entering boat - 1
_L 0x200C9024 0x00000000 // Entering boat - 2
_L 0x200C9158 0x00000000 // Entering boat - 3
_L 0x200CA140 0x00000000 // Piloting boat
_L 0x20075CB4 0x00000000 // Exiting taxi
_L 0x20053D54 0x00000000 // Big bang - 1 (+)
_L 0x20053BF4 0x00000000 // Big bang - 2 (-)
_L 0x2013D828 0x00000000 // Interact. event
_L 0x20052160 0x00000000 // Cinematic camera - 1
_L 0x20075C1C 0x00000000 // Cinematic camera - 2
_L 0x20074934 0x00000000 // Cinematic camera - 3
_L 0x200745E0 0x00000000 // Cinematic camera - chopper
_L 0x20074BC8 0x00000000 // Cinematic camera - side view 1
_L 0x2007474C 0x00000000 // Cinematic camera - side view 2
_L 0x200521B0 0x00000000 // Cinematic camera - hovering around
_L 0x202714B8 0x00000000 // Mission - 1
_L 0x20272050 0x00000000 // Mission - 2
_L 0x20272208 0x00000000 // Mission - 3
_L 0x20271408 0x00000000 // Mission - 4
_L 0x2020C258 0x00000000 // Mission - 5
_L 0x20271FBC 0x00000000 // Mission - 6
_L 0x20272194 0x00000000 // Mission - 7
_L 0x200CC5C8 0x00000000 // Buildings/Garages/Missions - 1
_L 0x20053640 0x00000000 // Buildings/Garages/Missions - 2
_L 0x20271320 0x00000000 // Gas station/Shooting range
_L 0x20074E10 0x00000000 // Unique stunt
_L 0x20135234 0x00000000 // Ad destruction - 1
// Ad destruction - 2 -> Cinematic camera - hovering around
_L 0x20135B04 0x00000000 // Ad destruction - 3
_L 0x200CA55C 0x00000000 // Ad destruction - 4
_L 0x200440FC 0x00000000 // Arrested - 1
_L 0x20044160 0x00000000 // Arrested - 2
_L 0x200442C0 0x00000000 // Arrested - 3
_L 0x200988A8 0x00000000 // Wasted - 1
_L 0x200988C0 0x00000000 // Wasted - 2
//
_C0 Patch cam Z (Nightly)
_L 0xE002682F 0x0006F600 // check,
_L 0xE0017B4A 0x0006F602 // check,
_L 0x2006F600 0x00000000
//
_C0 Set Z to arbitrary value
_L 0xD0F836EA 0x003007FF // check cam2 ptr head (LE)
_L 0x60F836E8 0x0000EA60 // value. I pick 60,000
_L 0x00020001 0x00000108 // 264
//
// # pointers in standard format
//
// Camera 1: 000008B542E0 + 0
// Camera 2: 0000097836E8 + 0
// Target: 00000978376C + 0 -> 000008BF2048 + 582/993
// Vehicle: 000009EA6B64 + 0
// Ammo-nation truck: 000009EA476C + 0
// Drug van: 000009EA48B0 + 0
// Garage: 000008BC8220 + 2208
// Auto-merchant: 000008D56950 + 0 -> X + 0
//
// Weapon - Type: 00000958E428
// Weapon - Fist: 0000097829B4
// Weapon - Melee: 0000097829B8
// Weapon - Pistol: 0000097829BC
// Weapon - Shotgun: 0000097829C0
// Weapon - SMG: 0000097829C4
// Weapon - Carbine: 0000097829C8
// Weapon - Heavy: 0000097829CC
// Weapon - Secret: 0000097829D0
// Weapon - Grenade: 0000097829D4
//
_C0 Unlock undocumented cars at car dealership
// Essentially removes the upper bound from the car option id
// orig
//08B8B118:14E60002
//08B8B120:AC8003F4
//mod
//08B8B120:00000000
//can shellcode at least 08B8B114 .. 08B8B120
_L 0xE00207FF 0x30556952 // check, merchant ptr head (LE)
_L 0xE00114E6 0x0038B11A // check, chk before correction, 2/2 (1/2 skipped for perf)
_L 0x2038B120 0x20000000 // patch