<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="42">
  <CheatEntries>
    <CheatEntry>
      <ID>173</ID>
      <Description>"Enable me and press 'C' to cheat...ehrm update"</Description>
      <Options moHideChildren="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{$lua}
LaunchMonoDataCollector()
{$asm}

define(address,CharacterSheetLevelPoint:setPoints+1c)
define(bytes,83 38 00 48 63 81 C0 00 00 00)

[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,CharacterSheetLevelPoint:setPoints+1c)

label(code)
label(return)
label(player)

newmem:
  mov [player],rax
code:
  cmp dword ptr [rax],00
  movsxd  rax,dword ptr [rcx+000000C0]
  jmp return

player:
  dq deadbeef

address:
  jmp newmem
  nop 5
return:

registersymbol(player)
[DISABLE]

address:
  db bytes
  // cmp dword ptr [rax],00
  // movsxd  rax,dword ptr [rcx+000000C0]

dealloc(newmem)
unregistersymbol(player)
{
// ORIGINAL CODE - INJECTION POINT: CharacterSheetLevelPoint:setPoints+1c

2962B72169E: 00 00                 - add [rax],al
CharacterSheetLevelPoint:setPoints: 55                    - push rbp
CharacterSheetLevelPoint:setPoints+1: 48 8B EC              - mov rbp,rsp
CharacterSheetLevelPoint:setPoints+4: 56                    - push rsi
CharacterSheetLevelPoint:setPoints+5: 41 56                 - push r14
CharacterSheetLevelPoint:setPoints+7: 48 83 EC 10           - sub rsp,10
CharacterSheetLevelPoint:setPoints+b: 48 8B F1              - mov rsi,rcx
CharacterSheetLevelPoint:setPoints+e: 48 8B 46 18           - mov rax,[rsi+18]
CharacterSheetLevelPoint:setPoints+12: 48 8B 88 40 04 00 00  - mov rcx,[rax+00000440]
CharacterSheetLevelPoint:setPoints+19: 48 8B C1              - mov rax,rcx
// ---------- INJECTING HERE ----------
CharacterSheetLevelPoint:setPoints+1c: 83 38 00              - cmp dword ptr [rax],00
// ---------- DONE INJECTING  ----------
CharacterSheetLevelPoint:setPoints+1f: 48 63 81 C0 00 00 00  - movsxd  rax,dword ptr [rcx+000000C0]
CharacterSheetLevelPoint:setPoints+26: 48 63 89 D0 00 00 00  - movsxd  rcx,dword ptr [rcx+000000D0]
CharacterSheetLevelPoint:setPoints+2d: 3B C1                 - cmp eax,ecx
CharacterSheetLevelPoint:setPoints+2f: 40 0F 9C C0           - setl al
CharacterSheetLevelPoint:setPoints+33: 48 0F B6 C0           - movzx rax,al
CharacterSheetLevelPoint:setPoints+37: 85 C0                 - test eax,eax
CharacterSheetLevelPoint:setPoints+39: 74 20                 - je CharacterSheetLevelPoint:setPoints+5b
CharacterSheetLevelPoint:setPoints+3b: 48 8B 46 18           - mov rax,[rsi+18]
CharacterSheetLevelPoint:setPoints+3f: 48 63 80 80 04 00 00  - movsxd  rax,dword ptr [rax+00000480]
CharacterSheetLevelPoint:setPoints+46: 83 F8 02              - cmp eax,02
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>174</ID>
          <Description>"PlayerStructure (Characterstats)"</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <GroupHeader>1</GroupHeader>
          <Address>player</Address>
          <Offsets>
            <Offset>0</Offset>
          </Offsets>
          <CheatEntries>
            <CheatEntry>
              <ID>175</ID>
              <Description>"Name"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>String</VariableType>
              <Length>128</Length>
              <Unicode>1</Unicode>
              <CodePage>0</CodePage>
              <ZeroTerminate>1</ZeroTerminate>
              <Address>+10</Address>
              <Offsets>
                <Offset>14</Offset>
              </Offsets>
            </CheatEntry>
            <CheatEntry>
              <ID>176</ID>
              <Description>"m_currentHealth"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>0000FF</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>+128</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>177</ID>
              <Description>"m_currentSanity"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>FF0000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>+12C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>178</ID>
              <Description>"m_currentActionPoint"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+130</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>179</ID>
              <Description>"m_Experience"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+B4</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>180</ID>
              <Description>"RemainingSkillPoints"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+C4</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>181</ID>
              <Description>"Level"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+D0</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>182</ID>
              <Description>"m_PlayerANGST"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+D4</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>183</ID>
              <Description>"m_AgeType"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+F0</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>184</ID>
              <Description>"m_GenderType"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+F4</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>185</ID>
              <Description>"m_archetype"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+F8</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>186</ID>
              <Description>"m_beliefSystem"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+FC</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>192</ID>
              <Description>"RawHealth"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+11C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>193</ID>
              <Description>"RawSanity"</Description>
              <ShowAsSigned>0</ShowAsSigned>
              <VariableType>4 Bytes</VariableType>
              <Address>+120</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <LuaScript>
</LuaScript>
</CheatTable>
