GTA2 memory addresses

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Logofero
Serial Killer
Serial Killer
Posts: 227
Joined: Wed Dec 09, 2015 2:18 pm
GH nick: Logofero

Re: GTA2 memory addresses

Post by Logofero » Wed May 29, 2019 4:18 pm

Sector, I am not responsible for the reliability and decency of the people who came to gtamp through the links of my social networks.

I want to warn all members of the gtamp community to always be vigilant with new users and not to accept and run their applications on their PC without making sure that this is not a malicious program.
Last edited by Logofero on Thu May 30, 2019 9:29 am, edited 2 times in total.

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Wed May 29, 2019 4:31 pm

My skills in disassembly are zero.. Just coded in assembler several basic projects many years ago and I have knowledge of C\C++, tried to use IDA Pro without success in the past. But using the Ghidra for a month and now I am feeling like a pro :)

Try it, awesome product, really... Hope they will send me bucks or two for sales :)))

Ok, I tried reversing of GTA just for learning Ghidra, but now I am feeling that I able to make something more than just understand the code, what do you suggest me to do, mouse + strafe, extend SCR commands or maybe something else?
Make GTA Great Again: https://discord.gg/H7tBftD

User avatar
Sektor
Boss
Boss
Posts: 1366
Joined: Tue Mar 04, 2008 6:51 am
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 memory addresses

Post by Sektor » Wed May 29, 2019 4:56 pm

Maybe I will try it.

Know anything about fixing crashes?

Speedrunners found a crash bug with trailer kill frenzies, if a cop can see the player at the same time they finish the frenzy then the game crashes. I’ll make an easy script for replicating that crash.

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Wed May 29, 2019 5:02 pm

Send me a script please or give me an address of crash (EIP) and details, I'll be able to debug it...

BTW checked the mail, Ghidra-server guys have opened me a repo, so if someone wants to reverse it together, just PM me.
Make GTA Great Again: https://discord.gg/H7tBftD

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Fri May 31, 2019 1:11 pm

Here we go. Mouse support :)



In the next post will add details regarding memory locations
Make GTA Great Again: https://discord.gg/H7tBftD

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Fri May 31, 2019 2:58 pm



Sorry, but this is super fun :)))
Make GTA Great Again: https://discord.gg/H7tBftD

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Fri May 31, 2019 6:06 pm

A first try to make strafe is failed.



Not enough to change coordinates, need to trigger redraw and check for collisions. So the proper way:

1) rotate bed to the needed direction of strafe
2) step forward
3) rotate ped back.
Make GTA Great Again: https://discord.gg/H7tBftD

BeepBoop
Car Jacker
Car Jacker
Posts: 44
Joined: Fri Oct 14, 2016 1:32 am
GH nick: BeepBoop

Re: GTA2 memory addresses

Post by BeepBoop » Fri May 31, 2019 8:10 pm

Very cool that you got mouse support on this old game. It's something that I have wanted since I started playing this game and would make aiming a lot easier. :) Do you happen to have any experience with a program called Cheat Engine? I have a bunch of cheat engine addresses that could maybe help you find what you are looking for.
Attachments
Screenshot (31).png

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Fri May 31, 2019 8:25 pm

Many thanks, BeepBoop, I downloaded your table from another thread on this forum before a week or so. This helps me a loooooooooooooooot!

Because of CheatEngine's great feature "Find out what read\writes to this address". So I jump directly to needed function into the assembly which saves so many time. Also, it helps to find pointers to structs, so this is my favorite tool for now :)

BTW, on your table, you have "getInAsPassanger" or something similar to, what this does when this happens?

Here is my current working table (With the virus inside to steal all of your money :) )

[mis]
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>273</ID>
<Description>"s25 -> oldest ped"</Description>
<LastState Value="06D93248" RealAddress="06D90900"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005e5bbc</Address>
<Offsets>
<Offset>0</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>194</ID>
<Description>"s25 -> lastPed"</Description>
<LastState Value="06D97A78" RealAddress="06D90904"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005e5bbc</Address>
<Offsets>
<Offset>4</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>252</ID>
<Description>"s25 -> getInAsPassanger"</Description>
<LastState Value="1" RealAddress="06D90B50"/>
<VariableType>4 Bytes</VariableType>
<Address>005e5bbc</Address>
<Offsets>
<Offset>250</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>195</ID>
<Description>"s25 -> getInAsPassanger"</Description>
<LastState Value="25" RealAddress="06D90B4C"/>
<VariableType>4 Bytes</VariableType>
<Address>005e5bbc</Address>
<Offsets>
<Offset>24c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>260</ID>
<Description>"s25"</Description>
<LastState Value="06D90900" RealAddress="005E5BBC"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005e5bbc</Address>
</CheatEntry>
<CheatEntry>
<ID>186</ID>
<Description>"ptrToWeaponRelStruct -> 788"</Description>
<LastState Value="0000" RealAddress="06DB6E88"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>2 Bytes</VariableType>
<Address>00673944</Address>
<Offsets>
<Offset>788</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>184</ID>
<Description>"ptrToWeaponRelStruct"</Description>
<LastState Value="06DB6700" RealAddress="00673944"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>00673944</Address>
</CheatEntry>
<CheatEntry>
<ID>268</ID>
<Description>"playerPedX"</Description>
<LastState Value="1859584" RealAddress="0066A480"/>
<VariableType>4 Bytes</VariableType>
<Address>gta2.segments.fixed.exe+27A480</Address>
</CheatEntry>
<CheatEntry>
<ID>274</ID>
<Description>"nextSpriteId"</Description>
<LastState Value="4910" RealAddress="0066A3BC"/>
<VariableType>4 Bytes</VariableType>
<Address>0066a3bc</Address>
</CheatEntry>
<CheatEntry>
<ID>261</ID>
<Description>"nextPedId"</Description>
<LastState Value="5300" RealAddress="00591E84"/>
<VariableType>4 Bytes</VariableType>
<Address>00591e84</Address>
</CheatEntry>
<CheatEntry>
<ID>164</ID>
<Description>"get_all_weapon"</Description>
<LastState Value="0" RealAddress="005EAD74"/>
<VariableType>Byte</VariableType>
<Address>005ead74</Address>
</CheatEntry>
<CheatEntry>
<ID>177</ID>
<Description>"game > firstSaveSlot -> ped -> health"</Description>
<LastState Value="68" RealAddress="06D90B1E"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>216</Offset>
<Offset>C4</Offset>
<Offset>4</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>175</ID>
<Description>"game > firstSaveSlot -> ped -> armour"</Description>
<LastState Value="0" RealAddress="06D91002"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>6fa</Offset>
<Offset>C4</Offset>
<Offset>4</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>7</ID>
<Description>"game > firstSaveSlot -> ped"</Description>
<LastState Value="06D90908" RealAddress="001EB4BC"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>C4</Offset>
<Offset>4</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>6</ID>
<Description>"game > firstSaveSlot"</Description>
<LastState Value="001EB3F8" RealAddress="001E063C"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>4</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>231</ID>
<Description>"game > currentSaveSlot"</Description>
<LastState Value="001EB3F8" RealAddress="001E0670"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>180</ID>
<Description>"game > currentSaveSlot-> ped"</Description>
<LastState Value="06D90908" RealAddress="001EB4BC"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>230</ID>
<Description>"game > currentSaveSlot-> ped -> selected weapon"</Description>
<LastState Value="00000000" RealAddress="06D90A78"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>170</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>233</ID>
<Description>"game > currentSaveSlot-> ped -> selected weapon > ammo"</Description>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0</Offset>
<Offset>170</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>234</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons arr"</Description>
<LastState Value="001EB3F8" RealAddress="06D90A64"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>250</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #9 silenced smg > ammo"</Description>
<LastState Value="0" RealAddress="06DB68B8"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*9</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>249</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #8 Flamethrower > ammo"</Description>
<LastState Value="0" RealAddress="06DB6888"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*8</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>248</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #7 ElectroBaton!!!!! > ammo"</Description>
<LastState Value="0" RealAddress="06DB6858"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*7</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>247</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #6 shotgun > ammo"</Description>
<LastState Value="0" RealAddress="06DB6828"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*6</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>246</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #5 grenade > ammo"</Description>
<LastState Value="0" RealAddress="06DB67F8"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*5</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>245</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #4 molotov > ammo"</Description>
<LastState Value="0" RealAddress="06DB67C8"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*4</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>243</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #3 shocker > ammo"</Description>
<LastState Value="0" RealAddress="06DB6798"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*3</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>244</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #2 rocket > ammo"</Description>
<LastState Value="0" RealAddress="06DB6768"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*2</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>237</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #1 smg > ammo"</Description>
<LastState Value="0" RealAddress="06DB6738"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*1</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>251</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #0 pistol > time to reload"</Description>
<LastState Value="0" RealAddress="06DB670A"/>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>2</Offset>
<Offset>718+4*0</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>236</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #0 pistol > ammo"</Description>
<LastState Value="0" RealAddress="06DB6708"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*0</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>235</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr"</Description>
<LastState Value="06DB6708" RealAddress="001EBB10"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>718</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>11</ID>
<Description>"game > currentSaveSlot -> ped -> x / 16384"</Description>
<LastState Value="1859584" RealAddress="06D90AB4"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>1ac</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>182</ID>
<Description>"game > currentSaveSlot -> ped -> state3"</Description>
<LastState Value="00000007" RealAddress="06D90B88"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>280</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>257</ID>
<Description>"game > currentSaveSlot -> ped -> state2"</Description>
<LastState Value="00000013" RealAddress="06D90B84"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>27c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>10</ID>
<Description>"game > currentSaveSlot -> ped -> state"</Description>
<LastState Value="00000008" RealAddress="06D90B80"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>278</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>339</ID>
<Description>"game > currentSaveSlot -> ped -> sprite"</Description>
<LastState Value="07014B04" RealAddress="06D90A70"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>340</ID>
<Description>"game > currentSaveSlot -> ped -> sprite -> actual position"</Description>
<LastState Value="06FC9314" RealAddress="07014B84"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>80</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>341</ID>
<Description>"game > currentSaveSlot -> ped -> sprite -> actual position -> z"</Description>
<LastState Value="4175310623" RealAddress="06FC9330"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>1c</Offset>
<Offset>80</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Decrease Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>10000</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
<CheatEntry>
<ID>342</ID>
<Description>"game > currentSaveSlot -> ped -> sprite -> actual position -> y"</Description>
<LastState Value="2043084" RealAddress="06FC932C"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>18</Offset>
<Offset>80</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>343</ID>
<Description>"game > currentSaveSlot -> ped -> sprite -> actual position -> x"</Description>
<LastState Value="1859584" RealAddress="06FC9328"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>14</Offset>
<Offset>80</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>344</ID>
<Description>"game > currentSaveSlot -> ped -> sprite -> actual position -> read only rotation"</Description>
<LastState Value="52" RealAddress="06FC9314"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0</Offset>
<Offset>80</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Decrease Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>10000</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>345</ID>
<Description>"game > currentSaveSlot -> ped -> sprite -> unknownIdleTimer"</Description>
<LastState Value="0" RealAddress="07014B4E"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>4a</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>347</ID>
<Description>"game > currentSaveSlot -> ped -> sprite -> bit1"</Description>
<LastState Value="0" RealAddress="07014B5C"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>58</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>349</ID>
<Description>"game > currentSaveSlot -> ped -> sprite ->rotation"</Description>
<LastState Value="52" RealAddress="07014B44"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>40</Offset>
<Offset>168</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>25</ID>
<Description>"game > currentSaveSlot -> ped -> ocupation"</Description>
<LastState Value="00000000" RealAddress="06D90B48"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>240</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>13</ID>
<Description>"game > currentSaveSlot -> ped -> kind of cop level"</Description>
<LastState Value="0" RealAddress="06D90B12"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>20a</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>338</ID>
<Description>"game > currentSaveSlot -> ped -> id"</Description>
<LastState Value="1" RealAddress="06D90B08"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>200</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>346</ID>
<Description>"game > currentSaveSlot -> ped -> somePedId"</Description>
<LastState Value="0" RealAddress="06D90B0C"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>204</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>21</ID>
<Description>"game > currentSaveSlot -> ped -> health"</Description>
<LastState Value="68" RealAddress="06D90B1E"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>216</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>24</ID>
<Description>"game > currentSaveSlot -> ped -> fieldZero (0-1440)"</Description>
<LastState Value="0" RealAddress="06D90908"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>23</ID>
<Description>"game > currentSaveSlot -> ped -> car"</Description>
<LastState Value="00000000" RealAddress="06D90A74"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>259</ID>
<Description>"game > currentSaveSlot -> ped -> car ->driverPedId"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>70</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>193</ID>
<Description>"game > currentSaveSlot -> ped -> car -> sprite -> field0"</Description>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0</Offset>
<Offset>50</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>192</ID>
<Description>"game > currentSaveSlot -> ped -> car -> sprite"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>50</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>18</ID>
<Description>"game > currentSaveSlot -> ped -> car -> model"</Description>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>84</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>277</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
<CheatEntries>
<CheatEntry>
<ID>280</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine -> ptrToSomeWhere"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>5c</Offset>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
<CheatEntry>
<ID>278</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine -> IsAccelerateForward"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>93</Offset>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
<CheatEntry>
<ID>279</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine -> IsAccelerateBackward"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>94</Offset>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>15</ID>
<Description>"game > currentSaveSlot -> ped -> car -> lights and doors state"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>8</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>281</ID>
<Description>"game > currentSaveSlot -> ped -> car -> horn key pressed"</Description>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>a7</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>276</ID>
<Description>"game > currentSaveSlot -> ped -> car -> engineState"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>9c</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>17</ID>
<Description>"game > currentSaveSlot -> ped -> car -> emergency siren"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>a4</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>258</ID>
<Description>"game > currentSaveSlot -> ped -> car -> driver (will point to myself of course)"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>54</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>191</ID>
<Description>"game > currentSaveSlot -> ped -> car -> damageTaken"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>74</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>197</ID>
<Description>"game > currentSaveSlot -> ped -> car -> bitmask2"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>24</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>183</ID>
<Description>"game > currentSaveSlot -> ped -> bitState2"</Description>
<LastState Value="00000002" RealAddress="06D90B40"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>238</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>181</ID>
<Description>"game > currentSaveSlot -> ped -> bitState1"</Description>
<LastState Value="00000001" RealAddress="06D90B24"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>21c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>262</ID>
<Description>"game > currentSaveSlot -> ped -> 290"</Description>
<LastState Value="0" RealAddress="06D90B98"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>290</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>282</ID>
<Description>"game > currentSaveSlot-> ped"</Description>
<LastState Value="06D90908" RealAddress="001EB4BC"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>300</ID>
<Description>"game > currentSaveSlot-> ped -> selected weapon"</Description>
<LastState Value="00000000" RealAddress="06D90A78"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>170</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>301</ID>
<Description>"game > currentSaveSlot-> ped -> selected weapon > ammo"</Description>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0</Offset>
<Offset>170</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>302</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons arr"</Description>
<LastState Value="001EB3F8" RealAddress="06D90A64"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>348</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> field 8"</Description>
<LastState Value="0" RealAddress="001EB400"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>8</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>314</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #9 silenced smg > ammo"</Description>
<LastState Value="0" RealAddress="06DB68B8"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*9</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>313</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #8 Flamethrower > ammo"</Description>
<LastState Value="0" RealAddress="06DB6888"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*8</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>312</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #7 ElectroBaton!!!!! > ammo"</Description>
<LastState Value="0" RealAddress="06DB6858"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*7</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>311</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #6 shotgun > ammo"</Description>
<LastState Value="0" RealAddress="06DB6828"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*6</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>310</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #5 grenade > ammo"</Description>
<LastState Value="0" RealAddress="06DB67F8"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*5</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>309</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #4 molotov > ammo"</Description>
<LastState Value="0" RealAddress="06DB67C8"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*4</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>308</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #3 shocker > ammo"</Description>
<LastState Value="0" RealAddress="06DB6798"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*3</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>307</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #2 rocket > ammo"</Description>
<LastState Value="0" RealAddress="06DB6768"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*2</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>306</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #1 smg > ammo"</Description>
<LastState Value="0" RealAddress="06DB6738"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*1</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>305</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #0 pistol > time to reload"</Description>
<LastState Value="0" RealAddress="06DB670A"/>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>2</Offset>
<Offset>718+4*0</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>304</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr -> #0 pistol > ammo"</Description>
<LastState Value="0" RealAddress="06DB6708"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0+0</Offset>
<Offset>718+4*0</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>303</ID>
<Description>"game > currentSaveSlot-> ped -> player weapons -> weapons arr"</Description>
<LastState Value="06DB6708" RealAddress="001EBB10"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>718</Offset>
<Offset>15c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>286</ID>
<Description>"game > currentSaveSlot -> ped -> x / 16384"</Description>
<LastState Value="1859584" RealAddress="06D90AB4"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>1ac</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>287</ID>
<Description>"game > currentSaveSlot -> ped -> state3"</Description>
<LastState Value="00000007" RealAddress="06D90B88"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>280</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>285</ID>
<Description>"game > currentSaveSlot -> ped -> state2"</Description>
<LastState Value="00000013" RealAddress="06D90B84"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>27c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>288</ID>
<Description>"game > currentSaveSlot -> ped -> state"</Description>
<LastState Value="00000008" RealAddress="06D90B80"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>278</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>293</ID>
<Description>"game > currentSaveSlot -> ped -> ocupation"</Description>
<LastState Value="00000000" RealAddress="06D90B48"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>240</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>291</ID>
<Description>"game > currentSaveSlot -> ped -> kind of cop level"</Description>
<LastState Value="0" RealAddress="06D90B12"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>20a</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>283</ID>
<Description>"game > currentSaveSlot -> ped -> id"</Description>
<LastState Value="1" RealAddress="06D90B08"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>200</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>292</ID>
<Description>"game > currentSaveSlot -> ped -> health"</Description>
<LastState Value="68" RealAddress="06D90B1E"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>216</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>315</ID>
<Description>"game > currentSaveSlot -> ped -> car"</Description>
<LastState Value="00000000" RealAddress="06D90A74"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<CheatEntries>
<CheatEntry>
<ID>326</ID>
<Description>"game > currentSaveSlot -> ped -> car ->driverPedId"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>70</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>336</ID>
<Description>"game > currentSaveSlot -> ped -> car -> type"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>a0</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>335</ID>
<Description>"game > currentSaveSlot -> ped -> car -> sprite"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>50</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>318</ID>
<Description>"game > currentSaveSlot -> ped -> car -> model"</Description>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>84</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>327</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
<CheatEntries>
<CheatEntry>
<ID>330</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine -> ptrToSomeWhere"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>5c</Offset>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
<CheatEntry>
<ID>328</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine -> IsAccelerateForward"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>93</Offset>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
<CheatEntry>
<ID>329</ID>
<Description>"game > currentSaveSlot -> ped -> car -> maybe engine -> IsAccelerateBackward"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>94</Offset>
<Offset>58</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>71</Key>
</Keys>
<Value>7</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>321</ID>
<Description>"game > currentSaveSlot -> ped -> car -> lights and doors state"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>8</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>317</ID>
<Description>"game > currentSaveSlot -> ped -> car -> id"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>6c</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>319</ID>
<Description>"game > currentSaveSlot -> ped -> car -> horn key pressed"</Description>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>a7</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>320</ID>
<Description>"game > currentSaveSlot -> ped -> car -> engineState"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>9c</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>322</ID>
<Description>"game > currentSaveSlot -> ped -> car -> emergency siren"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>Byte</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>a4</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>325</ID>
<Description>"game > currentSaveSlot -> ped -> car -> driver (will point to myself of course)"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>54</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>323</ID>
<Description>"game > currentSaveSlot -> ped -> car -> damageTaken"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>74</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>324</ID>
<Description>"game > currentSaveSlot -> ped -> car -> bitmask2"</Description>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>24</Offset>
<Offset>16c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>290</ID>
<Description>"game > currentSaveSlot -> ped -> bitState2"</Description>
<LastState Value="00000002" RealAddress="06D90B40"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>238</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>289</ID>
<Description>"game > currentSaveSlot -> ped -> bitState1"</Description>
<LastState Value="00000001" RealAddress="06D90B24"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>21c</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>284</ID>
<Description>"game > currentSaveSlot -> ped -> 218"</Description>
<LastState Value="9999" RealAddress="06D90B20"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>218</Offset>
<Offset>C4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>332</ID>
<Description>"game > currentSaveSlot -> ped3"</Description>
<LastState Value="00000000" RealAddress="001EB408"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>10</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>333</ID>
<Description>"game > currentSaveSlot -> ped2"</Description>
<LastState Value="06D90908" RealAddress="001EB6BC"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>2c4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>196</ID>
<Description>"game > currentSaveSlot -> moneyMultiplier"</Description>
<LastState Value="1" RealAddress="001EBAB4"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>6bc</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>331</ID>
<Description>"game > currentSaveSlot -> money"</Description>
<LastState Value="0" RealAddress="001EB6CC"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>2d4</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>202</ID>
<Description>"game > currentSaveSlot -> lives -> value"</Description>
<LastState Value="5" RealAddress="001EBA7C"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>684+0</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>205</ID>
<Description>"game > currentSaveSlot -> lives -> unk2"</Description>
<LastState Value="7" RealAddress="001EBAAA"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>684+2e</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>203</ID>
<Description>"game > currentSaveSlot -> lives -> min"</Description>
<LastState Value="1" RealAddress="001EBAA8"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>684+2c</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>200</ID>
<Description>"game > currentSaveSlot -> lives -> max digits in value"</Description>
<LastState Value="2" RealAddress="001EBAA6"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>684+2a</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>204</ID>
<Description>"game > currentSaveSlot -> lives -> max"</Description>
<LastState Value="99" RealAddress="001EBAAC"/>
<VariableType>2 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>684+30</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>201</ID>
<Description>"game > currentSaveSlot -> deathReason (WASTED0 0, WASTED 1, FRIED 2, NICKED 3, SHOCKED 4)"</Description>
<LastState Value="0" RealAddress="001EB43C"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>44</Offset>
<Offset>38</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>5</ID>
<Description>"game"</Description>
<LastState Value="1" RealAddress="001E0638"/>
<VariableType>4 Bytes</VariableType>
<Address>005eb4fc</Address>
<Offsets>
<Offset>0</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>12</ID>
<Description>"do_show_ids"</Description>
<LastState Value="1" RealAddress="005EADA1"/>
<VariableType>Byte</VariableType>
<Address>0x5EADA1</Address>
</CheatEntry>
<CheatEntry>
<ID>172</ID>
<Description>"do_free_shoping (without restart)"</Description>
<LastState Value="0" RealAddress="001E0771"/>
<VariableType>Byte</VariableType>
<Address>005e4ca4</Address>
<Offsets>
<Offset>69</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>275</ID>
<Description>"defaultRotation"</Description>
<LastState Value="0" RealAddress="005E5C60"/>
<VariableType>2 Bytes</VariableType>
<Address>005e5c60</Address>
</CheatEntry>
<CheatEntry>
<ID>159</ID>
<Description>"Traffic Lights (Cycle)"</Description>
<VariableType>Byte</VariableType>
<Address>"GTA2.EXE"+002821CC</Address>
<Offsets>
<Offset>192</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>0</ID>
<Description>"Stats -> vehicles_hijacked"</Description>
<LastState Value="0" RealAddress="001EBA50"/>
<VariableType>4 Bytes</VariableType>
<Address>0x5E3CC4</Address>
<Offsets>
<Offset>50c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>2</ID>
<Description>"Stats -> civilians_run_down"</Description>
<LastState Value="0" RealAddress="001EBA54"/>
<VariableType>4 Bytes</VariableType>
<Address>0x5E3CC4</Address>
<Offsets>
<Offset>510</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>3</ID>
<Description>"Stats -> civilians_murdered"</Description>
<LastState Value="0" RealAddress="001EBA58"/>
<VariableType>4 Bytes</VariableType>
<Address>0x5E3CC4</Address>
<Offsets>
<Offset>514</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>1</ID>
<Description>"Stats -> auto_damage_cost"</Description>
<LastState Value="0" RealAddress="001EBA70"/>
<VariableType>4 Bytes</VariableType>
<Address>0x5E3CC4</Address>
<Offsets>
<Offset>52c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>334</ID>
<Description>"SomeMissionCarId"</Description>
<LastState Value="0" RealAddress="006644B4"/>
<VariableType>4 Bytes</VariableType>
<Address>006644b4</Address>
</CheatEntry>
<CheatEntry>
<ID>20</ID>
<Description>"SPolice -> copLevel"</Description>
<LastState Value="0" RealAddress="0709557C"/>
<VariableType>4 Bytes</VariableType>
<Address>0066b7a0</Address>
<Offsets>
<Offset>654</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>19</ID>
<Description>"SPolice"</Description>
<LastState Value="1966081" RealAddress="07094F28"/>
<VariableType>4 Bytes</VariableType>
<Address>0066b7a0</Address>
<Offsets>
<Offset>0</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>190</ID>
<Description>"S3 -> allCarsInfo-> totalCars"</Description>
<LastState Value="83" RealAddress="0716D1E0"/>
<VariableType>Byte</VariableType>
<Address>00670684</Address>
<Offsets>
<Offset>400</Offset>
<Offset>5c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>189</ID>
<Description>"S3 -> allCarsInfo-> cars[0] -> w"</Description>
<LastState Value="32" RealAddress="071ACCE2"/>
<VariableType>Byte</VariableType>
<Address>00670684</Address>
<Offsets>
<Offset>2</Offset>
<Offset>0</Offset>
<Offset>5c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>188</ID>
<Description>"S3 -> allCarsInfo-> cars[0] -> model"</Description>
<LastState Value="0" RealAddress="071ACCE0"/>
<VariableType>Byte</VariableType>
<Address>00670684</Address>
<Offsets>
<Offset>0</Offset>
<Offset>0</Offset>
<Offset>5c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>187</ID>
<Description>"S3 -> allCarsInfo"</Description>
<LastState Value="0716CDE0" RealAddress="001EBCBC"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>00670684</Address>
<Offsets>
<Offset>5c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>87</ID>
<Description>"Riot Mode"</Description>
<VariableType>Byte</VariableType>
<Address>"GTA2.EXE"+001F5BC0</Address>
<Offsets>
<Offset>7</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>4</ID>
<Description>"No description"</Description>
<LastState Value="0" RealAddress="005E202C"/>
<VariableType>4 Bytes</VariableType>
<Address>5E202C</Address>
</CheatEntry>
<CheatEntry>
<ID>337</ID>
<Description>"No description"</Description>
<LastState Value="4" RealAddress="00664E00"/>
<VariableType>4 Bytes</VariableType>
<Address>00664e00</Address>
</CheatEntry>
<CheatEntry>
<ID>209</ID>
<Description>"Main menu play sound (9 = cheat sound)"</Description>
<DropDownList>5
6
8

</DropDownList>
<LastState Value="0" RealAddress="005EAF50"/>
<VariableType>4 Bytes</VariableType>
<Address>005eaf50</Address>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>81</Key>
</Keys>
<Value>3</Value>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
<CheatEntry>
<ID>212</ID>
<Description>"GOREFAST"</Description>
<LastState Value="1" RealAddress="005EAD51"/>
<VariableType>Byte</VariableType>
<Address>005ead51</Address>
<CheatEntries>
<CheatEntry>
<ID>214</ID>
<Description>"VOLTFEST"</Description>
<LastState Value="0" RealAddress="005EAD70"/>
<VariableType>Byte</VariableType>
<Address>005ead70</Address>
</CheatEntry>
<CheatEntry>
<ID>229</ID>
<Description>"UKGAMER"</Description>
<LastState Value="0" RealAddress="005EAD5C"/>
<VariableType>Byte</VariableType>
<Address>005ead5c</Address>
</CheatEntry>
<CheatEntry>
<ID>228</ID>
<Description>"SEGARULZ"</Description>
<LastState Value="0" RealAddress="005EAD7B"/>
<VariableType>Byte</VariableType>
<Address>005ead7b</Address>
</CheatEntry>
<CheatEntry>
<ID>223</ID>
<Description>"RSJABBER"</Description>
<LastState Value="0" RealAddress="005EAD71"/>
<VariableType>Byte</VariableType>
<Address>005ead71</Address>
</CheatEntry>
<CheatEntry>
<ID>217</ID>
<Description>"NEKKID"</Description>
<LastState Value="0" RealAddress="005EADA0"/>
<VariableType>Byte</VariableType>
<Address>005eada0</Address>
</CheatEntry>
<CheatEntry>
<ID>215</ID>
<Description>"MADEMAN"</Description>
<LastState Value="0" RealAddress="005EAD8A"/>
<VariableType>Byte</VariableType>
<Address>005ead8a</Address>
</CheatEntry>
<CheatEntry>
<ID>216</ID>
<Description>"LASVEGAS"</Description>
<LastState Value="0" RealAddress="005EAD9F"/>
<VariableType>Byte</VariableType>
<Address>005ead9f</Address>
</CheatEntry>
<CheatEntry>
<ID>227</ID>
<Description>"IAMDAVEJ"</Description>
<LastState Value="0" RealAddress="005EADA6"/>
<VariableType>Byte</VariableType>
<Address>005eada6</Address>
</CheatEntry>
<CheatEntry>
<ID>222</ID>
<Description>"GODOFGTA"</Description>
<LastState Value="0" RealAddress="005EAD74"/>
<VariableType>Byte</VariableType>
<Address>005ead74</Address>
</CheatEntry>
<CheatEntry>
<ID>226</ID>
<Description>"FLAMEON"</Description>
<LastState Value="0" RealAddress="005EAD9B"/>
<VariableType>Byte</VariableType>
<Address>005ead9b</Address>
</CheatEntry>
<CheatEntry>
<ID>218</ID>
<Description>"EATSOUP"</Description>
<LastState Value="0" RealAddress="005EAD84"/>
<VariableType>Byte</VariableType>
<Address>005ead84</Address>
</CheatEntry>
<CheatEntry>
<ID>219</ID>
<Description>"DAVEMOON"</Description>
<LastState Value="0" RealAddress="005EAD6E"/>
<VariableType>Byte</VariableType>
<Address>005ead6e</Address>
</CheatEntry>
<CheatEntry>
<ID>224</ID>
<Description>"DANISGOD"</Description>
<LastState Value="0" RealAddress="005EAD97"/>
<VariableType>Byte</VariableType>
<Address>005ead97</Address>
</CheatEntry>
<CheatEntry>
<ID>220</ID>
<Description>"CUTIE1"</Description>
<LastState Value="0" RealAddress="005EAD8F"/>
<VariableType>Byte</VariableType>
<Address>005ead8f</Address>
</CheatEntry>
<CheatEntry>
<ID>225</ID>
<Description>"COCKTART"</Description>
<LastState Value="1" RealAddress="005EAD5D"/>
<VariableType>Byte</VariableType>
<Address>005ead5d</Address>
</CheatEntry>
<CheatEntry>
<ID>213</ID>
<Description>"BUCKFAST"</Description>
<LastState Value="0" RealAddress="005EAD93"/>
<VariableType>Byte</VariableType>
<Address>005ead93</Address>
</CheatEntry>
<CheatEntry>
<ID>221</ID>
<Description>"ARESTAR"</Description>
<LastState Value="0" RealAddress="005EAD9E"/>
<VariableType>Byte</VariableType>
<Address>005ead9e</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>211</ID>
<Description>"FrontEnd -> player name"</Description>
<ShowAsHex>1</ShowAsHex>
<VariableType>String</VariableType>
<Length>8</Length>
<Unicode>1</Unicode>
<CodePage>0</CodePage>
<ZeroTerminate>1</ZeroTerminate>
<Address>005eb160</Address>
<Offsets>
<Offset>c98c</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>210</ID>
<Description>"FrontEnd"</Description>
<LastState Value="00000000" RealAddress="005EB160"/>
<ShowAsHex>1</ShowAsHex>
<VariableType>4 Bytes</VariableType>
<Address>005eb160</Address>
</CheatEntry>
<CheatEntry>
<ID>14</ID>
<Description>"FramesFromGameStart"</Description>
<LastState Value="69729" RealAddress="001E0BD0"/>
<VariableType>4 Bytes</VariableType>
<Address>0x5E8108</Address>
<Offsets>
<Offset>0</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatTable>
[/mis]
Attachments
Screenshot 2019-05-31 23.17.25.png
Last edited by h0x91b on Fri May 31, 2019 8:49 pm, edited 1 time in total.
Make GTA Great Again: https://discord.gg/H7tBftD

BeepBoop
Car Jacker
Car Jacker
Posts: 44
Joined: Fri Oct 14, 2016 1:32 am
GH nick: BeepBoop

Re: GTA2 memory addresses

Post by BeepBoop » Fri May 31, 2019 8:45 pm

Glad you found use for them. I will probably upload a updated cheat table tomorrow. The Get in as Passenger cheat is to allow the player with the [/ + enter] keys to get in a vehicle as a passenger NOT as a driver.

0 = Get in as driver
1 = Get in as passenger

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Tue Jun 04, 2019 10:56 am

Sorry for no updates, was busy at work.

No luck yet with the strafing, cannot handle collisions.
But I want to show an example of how to call functions of GTA from DLL even if the function is not decoded completely, I still can use it.



"Decoded" code

Code: Select all

// ShowBigOnScreenLabel
void __thiscall ShowBigOnScreenLabel(void *this,WCHAR *txt,int timeToShow)
{
  if ((*(char *)this == 0) || (*(int *)((int)this + 0x1c4) <= timeToShow)) {
    *(int *)((int)this + 0x1c4) = timeToShow;
    FUN_004d6ac7((short *)((int)this + 2),txt);
    FUN_004c2250((short *)((int)this + 2));
    *(undefined *)this = 0x5a;
    FUN_004c5fe0((char *)this);
  }
  return;
}
In this case, I have no idea what is `this` but I know that its located at `s10->ptrToSomeStructRelToBIG_LABEL`, so I just pass it and it works!

DLL code:

Code: Select all

//void __thiscall ShowBigOnScreenLabel(void* this, WCHAR* txt, int timeToShow);
typedef void(__fastcall ShowBigOnScreenLabel)(void* ptr, DWORD edx, WCHAR* txt, int time);
ShowBigOnScreenLabel* fnShowBigOnScreenLabel = (ShowBigOnScreenLabel*)0x004c6060;

void ShowBigLabel() {
	Sleep(1000);
	S10* s10 = (S10*) * (DWORD*)0x00672f40;
	//s10-> ptrToSomeStructRelToBIG_LABEL - offset is +0x2854
	fnShowBigOnScreenLabel(&s10->ptrToSomeStructRelToBIG_LABEL, 0, (WCHAR*)L"Hello gtamp.com", 10);
	Sleep(4000);
	fnShowBigOnScreenLabel(&s10->ptrToSomeStructRelToBIG_LABEL, 0, (WCHAR*)L"From h0x91b!", 10);
}
Make GTA Great Again: https://discord.gg/H7tBftD

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Wed Jun 05, 2019 3:26 pm

This was hard, finally found how to spawn a car...



Function signature

Code: Select all

//void SpawnCar(int x, int y, int z, short rot, CAR_MODEL model)
typedef Car* (SpawnCar)(int x, int y, int z, short rot, CAR_MODEL model);
SpawnCar* fnSpawnCar = (SpawnCar*)0x00426e10;
Code to spawn

Code: Select all

DWORD WINAPI SpawnCarThread(void *data) {
	if (*(DWORD*)ptrToPedManager == 0) {
		AddLog(L"ptrToPedManager isn't set. Not in a game probably.");
		return 0;
	}

	Ped* playerPed = fnGetPedByID(1);

	if (!playerPed || playerPed->currentCar || !playerPed->pedSprite || !playerPed->pedSprite->actualPosition) {
		AddLog(L"Cannot find ped location");
		return 0;
	}

	AddLog(L"Player ped -> %08X", playerPed);
	AddLog(L"The car will be spawned in 3 secs on front of you");

	S10* s10 = (S10*) * (DWORD*)0x00672f40;
	fnShowBigOnScreenLabel(&s10->ptrToSomeStructRelToBIG_LABEL, 0, (WCHAR*)L"3!", 2);
	Sleep(1000);
	fnShowBigOnScreenLabel(&s10->ptrToSomeStructRelToBIG_LABEL, 0, (WCHAR*)L"2!", 2);
	Sleep(1000);
	fnShowBigOnScreenLabel(&s10->ptrToSomeStructRelToBIG_LABEL, 0, (WCHAR*)L"1!", 2);
	Sleep(1000);
	AddLog(L"Spawn");
	double nAngle = playerPed->pedSprite->actualPosition->rotation / 4.0 + 270.0;
	const double distance = 1;
	Car* car = fnSpawnCar(
		playerPed->pedSprite->actualPosition->x + cos(nAngle * (M_PI / 180.0)) * distance * 16384,
		playerPed->pedSprite->actualPosition->y - sin(nAngle * (M_PI / 180.0)) * distance * 16384,
		playerPed->pedSprite->actualPosition->z,
		180 * 4,
		(CAR_MODEL)(byte)data
	);
	if (car) {
		AddLog(L"The car spawned at 0x%08X", car);
		fnShowBigOnScreenLabel(&s10->ptrToSomeStructRelToBIG_LABEL, 0, (WCHAR*)L"Car is here!", 10);
	}
	return 0;
}

void SpawnTank() {
	CreateThread(NULL, 0, SpawnCarThread, (LPVOID)TANK, 0, NULL);
}

void SpawnAPC() {
	CreateThread(NULL, 0, SpawnCarThread, (LPVOID)APC, 0, NULL);
}
Enum of cars:

Code: Select all

typedef enum CAR_MODEL {
    ALFA=0,
    ALLARD=1,
    AMDB4=2,
    APC=3,
    BANKVAN=4,
    BMW=5,
    BOXCAR=6,
    BOXTRUCK=7,
    BUG=8,
    BUICK=10,
    BUS=11,
    CAR15=15,
    CAR20=20,
    CAR43=43,
    CAR9=9,
    COPCAR=12,
    DART=13,
    EDSEL=14,
    EDSELFBI=84,
    FIAT=16,
    FIRETRUK=17,
    GRAHAM=18,
    GT24640=19,
    GTRUCK=21,
    GUNJEEP=22,
    HOTDOG=23,
    HOTDOG_D1=24,
    HOTDOG_D2=25,
    HOTDOG_D3=26,
    HOTDOG_D4=85,
    ICECREAM=27,
    ISETLIMO=28,
    ISETTA=29,
    JEEP=30,
    JEFFREY=31,
    KRSNABUS=86,
    LIMO=32,
    LIMO2=33,
    MEDICAR=34,
    MERC=35,
    MESSER=36,
    MIURA=37,
    MONSTER=38,
    MORGAN=39,
    MORRIS=40,
    PICKUP=41,
    RTYPE=42,
    SPIDER=44,
    SPRITE=45,
    STINGRAY=46,
    STRATOS=47,
    STRATOSB=48,
    STRIPETB=49,
    STYPE=50,
    STYPECAB=51,
    SWATVAN=52,
    T2000GT=53,
    TANK=54,
    TANKER=55,
    TAXI=56,
    TBIRD=57,
    TOWTRUCK=58,
    TRAIN=59,
    TRAINCAB=60,
    TRAINFB=61,
    TRANCEAM=62,
    TRUKCAB1=63,
    TRUKCAB2=64,
    TRUKCONT=65,
    TRUKTRNS=66,
    TVVAN=67,
    VAN=68,
    VESPA=69,
    VTYPE=70,
    WBTWIN=71,
    WRECK0=72,
    WRECK1=73,
    WRECK2=74,
    WRECK3=75,
    WRECK4=76,
    WRECK5=77,
    WRECK6=78,
    WRECK7=79,
    WRECK8=80,
    WRECK9=81,
    XK120=82,
    ZCX5=83
} CAR_MODEL;
Make GTA Great Again: https://discord.gg/H7tBftD

User avatar
Sektor
Boss
Boss
Posts: 1366
Joined: Tue Mar 04, 2008 6:51 am
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 memory addresses

Post by Sektor » Sat Aug 17, 2019 2:22 pm

h0x91b, I think the forum broke your cheat engine table. Can you please attach it as a file?
error.gif
error.gif (8.34 KiB) Viewed 461 times

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Sat Aug 17, 2019 4:46 pm

I can not attach it, "The extension ct is not allowed."
Make GTA Great Again: https://discord.gg/H7tBftD

h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

Re: GTA2 memory addresses

Post by h0x91b » Sat Aug 17, 2019 4:47 pm

Change the file extension from TXT to CT
Attachments
GTA2.CT.txt
(280.38 KiB) Downloaded 11 times
Make GTA Great Again: https://discord.gg/H7tBftD

User avatar
Sektor
Boss
Boss
Posts: 1366
Joined: Tue Mar 04, 2008 6:51 am
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 memory addresses

Post by Sektor » Sat Aug 17, 2019 5:27 pm

Thanks. Problem wasn't with the file, it was because I was using Cheat Engine 6.4. I updated to 7.0 and it works now.

Is there a framerate address? I found fast forward (3x speed) address and an address to turn off the frame limiter but I don't know how to set the framerate to a specific number. There is a framerate address that matches framerate but it seems to be used just for display and changing it doesn't change the speed.

fast forward (same as the debug key but works with debug keys disabled: 5EB4FC = ptr + 30 = 0 for normal speed, 1 for 3x speed.

COUNTER framelimiter = 5853200 // 0x595010 0 or 1

This works during game for turning off frame limiter but the game freezes when you turn it back on until you click another window and then click GTA2 window again.

COUNTER dusknoon = 5853201 // 0x595011 0 or 1

This works if the game is started in dusk but there are some visual glitches like headlights driving with invisible cars.

5EAD6D FISHFLAP - mini cars cheat, switches on and off fine during gameplay
5EAD65 SCHURULZ - infinite double damage, doesn't work during gameplay, only works on level restart
5EAD8E HUNSRUS - infinite invisibility, doesn't work during gameplay, only works on level restart
5EAD71 RSJABBER - infinite invulnerability, doesn't work during gameplay, only works on level restart
5EAD98 OTIRWUD - unknown cheat, nothing seems to access this memory address

Copied from Word of Wind's chaos% thread:
5EAD55 = show counters (some useful)
5EAD59 = skip left textures
5EAD5B = no traffic car spawns
5EAD5E = no police/remove wanted levels
5EAD5F = skip top textures
5EAD61 = infinite lives
5EAD64 = disable HUD
5EAD67 = skip right textures
5EAD69 = no pedestrian spawns
5EAD6D = mini cars!!
5EAD72 = no audio
5EAD78 = skip slopes
5EAD79 = show fps
5EAD7F = show car horn
5EAD81 = show a lot of random counters
5EAD82 = show camera info
5EAD85 = show vehicle stuff inside car
5EAD87 = debug keys
5EAD88 = freeze screen + insane speed
5EAD89 = junction ID
5EAD8C = skip bottom? textures
5EAD8D = show number of peds
5EAD90 = skip textures
5EADA0 = nekkid peds
5EADB2 = all arrows

Post Reply