<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="45">
  <CheatEntries>
    <CheatEntry>
      <ID>1</ID>
      <Description>"[ACTIVATE]"</Description>
      <Options moHideChildren="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>// Original Code by G40sty.
[ENABLE]
{$lua}
local gameName = "Tomb Raider 4"
local gameProcess = "tomb4.exe"
if getProcessIDFromProcessName(gameProcess) ~= nil then
   if readInteger(process) == nil then
      openProcess(gameProcess)
   else
       if readInteger(process) ~= readInteger(gameProcess) then
          openProcess(gameProcess)
      end
   end
else
    beep() error(showMessage(string.format("%s is not running.",gameName)))
end
--; Auto Attach Process For User
if syntaxcheck then return end
if messageDialog([[
Copyright © 2022 OpenCheatTables.com
Table Creator: Marcus101RR
Would you like to read additional information?
]],mtInformation,mbYes,mbNo) == mrYes then
messageDialog("This information has been added to deter users of FRF (Fearless Revolution Forums) to violate the GPL License. You are hereby informed that use of this table is strictly forbidden from distribution, upload, or alterations with or without consent from this author on FRF. All other sources are allowed with permission.")
else
end


[DISABLE]

</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>2</ID>
          <Description>"[POINTERS]"</Description>
          <Options moHideChildren="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>13</ID>
              <Description>"Health"</Description>
              <ShowAsSigned>1</ShowAsSigned>
              <VariableType>2 Bytes</VariableType>
              <Address>"tomb4.exe"+0040E13C</Address>
              <Offsets>
                <Offset>22</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>14</ID>
              <Description>"Stamina"</Description>
              <ShowAsSigned>1</ShowAsSigned>
              <VariableType>2 Bytes</VariableType>
              <Address>tomb4.exe+40E13A</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>24</ID>
              <Description>"Weapons"</Description>
              <Options moHideChildren="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>25</ID>
                  <Description>"Have Pistols"</Description>
                  <DropDownListLink>listBool</DropDownListLink>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E0F2</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>33</ID>
                  <Description>"Have Uzi"</Description>
                  <DropDownListLink>listBool</DropDownListLink>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E0F3</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>29</ID>
                  <Description>"Have Shotgun"</Description>
                  <DropDownListLink>listBool</DropDownListLink>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E0F4</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>34</ID>
                  <Description>"Have Crossbow"</Description>
                  <DropDownListLink>listBool</DropDownListLink>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E0F5</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>30</ID>
                  <Description>"Have Grenade Gun"</Description>
                  <DropDownListLink>listBool</DropDownListLink>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E0F6</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>3</ID>
              <Description>"Inventory"</Description>
              <Options moHideChildren="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>9</ID>
                  <Description>"Medipacks (Small)"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E119</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>8</ID>
                  <Description>"Medipacks (Large)"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E11B</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>7</ID>
                  <Description>"Flares"</Description>
                  <VariableType>Byte</VariableType>
                  <Address>tomb4.exe+40E11D</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>0</ID>
                  <Description>"Mini SMG Clips"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E121</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>23</ID>
                  <Description>"Revolver Ammo"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E123</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>16</ID>
                  <Description>"Normal Shotgun Bullets"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E125</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>15</ID>
                  <Description>"Wide Shot Shotgun Bullets"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E127</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>17</ID>
                  <Description>"Grenadegun Normal Ammo"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E129</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>19</ID>
                  <Description>"Grenadegun Super Ammo"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E12B</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>18</ID>
                  <Description>"Grenadegun Flash Ammo"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E12D</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>20</ID>
                  <Description>"Crossbow Normal Ammo"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E12F</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>22</ID>
                  <Description>"Crossbow Poison Ammo"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E131</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>21</ID>
                  <Description>"Crossbow Explosive Ammo"</Description>
                  <ShowAsSigned>0</ShowAsSigned>
                  <VariableType>2 Bytes</VariableType>
                  <Address>tomb4.exe+40E133</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>26</ID>
          <Description>"[DEBUG]"</Description>
          <Options moHideChildren="1"/>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>27</ID>
              <Description>"DEFINITIONS"</Description>
              <Options moHideChildren="1"/>
              <GroupHeader>1</GroupHeader>
              <CheatEntries>
                <CheatEntry>
                  <ID>28</ID>
                  <Description>"listBool"</Description>
                  <DropDownList ReadOnly="1" DisplayValueAsItem="1">0:No
9:Yes
</DropDownList>
                  <GroupHeader>1</GroupHeader>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols>
    <SymbolEntry>
      <Name>Toggler</Name>
      <Address>08D80500</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>pRefill</Name>
      <Address>02713B80</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>pRefil1</Name>
      <Address>019E8A1C</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>dwRefillPlayerHealth</Name>
      <Address>019DA330</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>SetForTeleport</Name>
      <Address>17AD00AA</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>MarkerAddress</Name>
      <Address>015F99B0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>XYZAddress</Name>
      <Address>0047A109</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>GetPlayerCoordinatesHook</Name>
      <Address>0AC50059</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>PlayerCoordsPtr</Name>
      <Address>0AC500FE</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>SetForObjectTeleport</Name>
      <Address>0AC50116</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>SetForTargetTeleport</Name>
      <Address>0AC5011A</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>TargetCoordinateX</Name>
      <Address>0AC50102</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>TargetCoordinateY</Name>
      <Address>0AC50106</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>TargetCoordinateZ</Name>
      <Address>0AC5010A</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>MapCoordinateX</Name>
      <Address>0AC5010E</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>MapCoordinateY</Name>
      <Address>0AC50112</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>luainit</Name>
      <Address>08730000</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>LuaFunctionCall</Name>
      <Address>08730080</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>luaserverinitialized</Name>
      <Address>08730100</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>luaservername</Name>
      <Address>08730110</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>FreeRunningJump</Name>
      <Address>140EF6A00</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ResetConflict</Name>
      <Address>140EF6DB0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>DecreaseNotoriety</Name>
      <Address>140EF6170</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>IncreaseNotoriety</Name>
      <Address>140EF69E0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>UnfogMap</Name>
      <Address>140EF7720</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>UnlockAllWorldUpgrades</Name>
      <Address>140EF77E0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>Invisible</Name>
      <Address>140EF6DD0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>SetMaxAssassinRank</Name>
      <Address>140EF6EA0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>UnlockAllCompanionRewards</Name>
      <Address>140EF7760</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ShowGearStatModifier</Name>
      <Address>140EF6F30</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>CycleForwardSkillsTreePreset</Name>
      <Address>140EF6080</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>CycleBackwardSkillsTreePreset</Name>
      <Address>140EF5FD0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ShowSkillsTreePreset</Name>
      <Address>140EF7020</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>TeleportLanternNearPlayer</Name>
      <Address>140EF7410</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>EnableAssassinCollisionWithTriggerZones</Name>
      <Address>140EF7420</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>UnlockAndGainAllWorldUpgrades</Name>
      <Address>140EF78A0</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>ToggleFullProgressTrackerUnlock</Name>
      <Address>140EF7680</Address>
    </SymbolEntry>
    <SymbolEntry>
      <Name>LockAllWorldUpgrades</Name>
      <Address>140EF6A20</Address>
    </SymbolEntry>
  </UserdefinedSymbols>
  <Comments>1.0
- Initial Release GOG</Comments>
</CheatTable>
