<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="52">
  <CheatEntries>
    <CheatEntry>
      <ID>126159</ID>
      <Description>"The First Descendant (Offline Version)"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>126160</ID>
      <Description>"Game Version: 1.4.10.773919，Steam Build 26892955"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>126157</ID>
      <Description>"------------------------------------------"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>126150</ID>
      <Description>"&lt;=== Auto attach to process "</Description>
      <Options moDeactivateChildrenAsWell="1"/>
      <Color>0000FF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
{$lua}
if syntaxcheck then return end

OpenProcess("M1-Win64-Shipping.exe")

{$asm}


[DISABLE]
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>126156</ID>
      <Description>"&lt;==== CompactMode"</Description>
      <Color>0000FF</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
LuaCall(function cycleFullCompact(sender,force) local state = not(compactmenuitem.Caption == 'Compact View Mode'); if force~=nil then state = not force end; compactmenuitem.Caption = state and 'Compact View Mode' or 'Full View Mode'; getMainForm().Splitter1.Visible = state; getMainForm().Panel4.Visible    = state; getMainForm().Panel5.Visible    = state; end; function addCompactMenu() if compactmenualreadyexists then return end; local parent = getMainForm().Menu.Items; compactmenuitem = createMenuItem(parent); parent.add(compactmenuitem); compactmenuitem.Caption = 'Compact View Mode'; compactmenuitem.OnClick = cycleFullCompact; compactmenualreadyexists = 'yes'; end; addCompactMenu(); cycleFullCompact(nil,true))

[DISABLE]
LuaCall(cycleFullCompact(nil,false))
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>126158</ID>
      <Description>"------------------------------------------"</Description>
      <GroupHeader>1</GroupHeader>
    </CheatEntry>
    <CheatEntry>
      <ID>126162</ID>
      <Description>"Infinite Ammo (No Reload)"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscanmodule(Ammo1,M1-Win64-Shipping.exe,89 87 F8 00 00 00 48 8B 87 98 00 00 00)
alloc(newmem,$100,Ammo1)
label(code)
label(return)
registersymbol(Ammo1)

newmem:
  mov eax,[rdi+000000FC]
code:
  mov [rdi+000000F8],eax
  jmp return
Ammo1:
  jmp newmem
  nop
return:

[DISABLE]
Ammo1:
  db 89 87 F8 00 00 00

unregistersymbol(*)
dealloc(*)

{
// ORIGINAL CODE - INJECTION POINT: "M1-Win64-Shipping.exe"+4E80C1A

"M1-Win64-Shipping.exe"+4E80BFE: CC                    - int 3 
"M1-Win64-Shipping.exe"+4E80BFF: CC                    - int 3 
"M1-Win64-Shipping.exe"+4E80C00: 48 89 5C 24 08        - mov [rsp+08],rbx
"M1-Win64-Shipping.exe"+4E80C05: 57                    - push rdi
"M1-Win64-Shipping.exe"+4E80C06: 48 83 EC 20           - sub rsp,20
"M1-Win64-Shipping.exe"+4E80C0A: 48 8B 01              - mov rax,[rcx]
"M1-Win64-Shipping.exe"+4E80C0D: 8B DA                 - mov ebx,edx
"M1-Win64-Shipping.exe"+4E80C0F: 48 8B F9              - mov rdi,rcx
"M1-Win64-Shipping.exe"+4E80C12: FF 90 00 05 00 00     - call qword ptr [rax+00000500]
"M1-Win64-Shipping.exe"+4E80C18: 03 C3                 - add eax,ebx
// ---------- INJECTING HERE ----------
"M1-Win64-Shipping.exe"+4E80C1A: 89 87 F8 00 00 00     - mov [rdi+000000F8],eax
// ---------- DONE INJECTING  ----------
"M1-Win64-Shipping.exe"+4E80C20: 48 8B 87 98 00 00 00  - mov rax,[rdi+00000098]
"M1-Win64-Shipping.exe"+4E80C27: 80 B8 08 01 00 00 03  - cmp byte ptr [rax+00000108],03
"M1-Win64-Shipping.exe"+4E80C2E: 75 11                 - jne "M1-Win64-Shipping.exe"+4E80C41
"M1-Win64-Shipping.exe"+4E80C30: 48 8B 87 B0 00 00 00  - mov rax,[rdi+000000B0]
"M1-Win64-Shipping.exe"+4E80C37: 48 8D 8F B0 00 00 00  - lea rcx,[rdi+000000B0]
"M1-Win64-Shipping.exe"+4E80C3E: FF 50 10              - call qword ptr [rax+10]
"M1-Win64-Shipping.exe"+4E80C41: 48 8B 07              - mov rax,[rdi]
"M1-Win64-Shipping.exe"+4E80C44: 48 8B CF              - mov rcx,rdi
"M1-Win64-Shipping.exe"+4E80C47: FF 90 48 05 00 00     - call qword ptr [rax+00000548]
"M1-Win64-Shipping.exe"+4E80C4D: 48 8B 07              - mov rax,[rdi]
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>3</ID>
      <Description>"No Recoil"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscanmodule(NoRecoil,M1-Win64-Shipping.exe,44 0F 28 C0 F3 0F 10 4C D8 04 E8 ** ** ** ** F3 0F 10 15 ** ** ** **)
registersymbol(NoRecoil NoRecoil_Save)
alloc(NoRecoil_Save,4,NoRecoil)

aobscanmodule(NoRecoil2,M1-Win64-Shipping.exe,0F 28 F0 77 ** 0F 28 C8 0F 54 CA 0F 2F CB)
registersymbol(NoRecoil2 NoRecoil2_Save)
alloc(NoRecoil2_Save,3,NoRecoil2)

NoRecoil_Save:
  readmem(NoRecoil,4)

NoRecoil2_Save:
  readmem(NoRecoil2,3)
//
NoRecoil:
  db 90 90 90 90

NoRecoil2:
  db 90 90 90

[DISABLE]
NoRecoil:
  readmem(NoRecoil_Save,4)

NoRecoil2:
  readmem(NoRecoil2_Save,3)

unregistersymbol(*)
dealloc(*)

{ NoRecoil (Vertical)
// ORIGINAL CODE - INJECTION POINT: "M1-Win64-Shipping.exe"+4E8372E

"M1-Win64-Shipping.exe"+4E8370C: 8D 43 FF                 - lea eax,[rbx-01]
"M1-Win64-Shipping.exe"+4E8370F: 99                       - cdq
"M1-Win64-Shipping.exe"+4E83710: F7 7D 30                 - idiv [rbp+30]
"M1-Win64-Shipping.exe"+4E83713: 48 8B 4D 28              - mov rcx,[rbp+28]
"M1-Win64-Shipping.exe"+4E83717: 48 63 DA                 - movsxd  rbx,edx
"M1-Win64-Shipping.exe"+4E8371A: F3 0F 10 0C D9           - movss xmm1,[rcx+rbx*8]
"M1-Win64-Shipping.exe"+4E8371F: 48 8B CE                 - mov rcx,rsi
"M1-Win64-Shipping.exe"+4E83722: E8 29 01 00 00           - call "M1-Win64-Shipping.exe"+4E83850
"M1-Win64-Shipping.exe"+4E83727: 48 8B 45 28              - mov rax,[rbp+28]
"M1-Win64-Shipping.exe"+4E8372B: 48 8B CE                 - mov rcx,rsi
// ---------- INJECTING HERE ----------
"M1-Win64-Shipping.exe"+4E8372E: 44 0F 28 C0              - movaps xmm8,xmm0
// ---------- DONE INJECTING  ----------
"M1-Win64-Shipping.exe"+4E83732: F3 0F 10 4C D8 04        - movss xmm1,[rax+rbx*8+04]
"M1-Win64-Shipping.exe"+4E83738: E8 13 01 00 00           - call "M1-Win64-Shipping.exe"+4E83850
"M1-Win64-Shipping.exe"+4E8373D: F3 0F 10 15 2B 51 F5 05  - movss xmm2,["M1-Win64-Shipping.exe"+ADD8870]
"M1-Win64-Shipping.exe"+4E83745: 41 0F 28 C8              - movaps xmm1,xmm8
"M1-Win64-Shipping.exe"+4E83749: F3 0F 10 1D BB F1 F4 05  - movss xmm3,["M1-Win64-Shipping.exe"+ADD290C]
"M1-Win64-Shipping.exe"+4E83751: 0F 54 CA                 - andps xmm1,xmm2
"M1-Win64-Shipping.exe"+4E83754: 0F 2F CB                 - comiss xmm1,xmm3
"M1-Win64-Shipping.exe"+4E83757: 0F 28 F0                 - movaps xmm6,xmm0
"M1-Win64-Shipping.exe"+4E8375A: 77 0F                    - ja "M1-Win64-Shipping.exe"+4E8376B
"M1-Win64-Shipping.exe"+4E8375C: 0F 28 C8                 - movaps xmm1,xmm0
}
{ NoRecoil2 (Horizontal)
// ORIGINAL CODE - INJECTION POINT: "M1-Win64-Shipping.exe"+4E83757

"M1-Win64-Shipping.exe"+4E83727: 48 8B 45 28              - mov rax,[rbp+28]
"M1-Win64-Shipping.exe"+4E8372B: 48 8B CE                 - mov rcx,rsi
"M1-Win64-Shipping.exe"+4E8372E: 44 0F 28 C0              - movaps xmm8,xmm0
"M1-Win64-Shipping.exe"+4E83732: F3 0F 10 4C D8 04        - movss xmm1,[rax+rbx*8+04]
"M1-Win64-Shipping.exe"+4E83738: E8 13 01 00 00           - call "M1-Win64-Shipping.exe"+4E83850
"M1-Win64-Shipping.exe"+4E8373D: F3 0F 10 15 2B 51 F5 05  - movss xmm2,["M1-Win64-Shipping.exe"+ADD8870]
"M1-Win64-Shipping.exe"+4E83745: 41 0F 28 C8              - movaps xmm1,xmm8
"M1-Win64-Shipping.exe"+4E83749: F3 0F 10 1D BB F1 F4 05  - movss xmm3,["M1-Win64-Shipping.exe"+ADD290C]
"M1-Win64-Shipping.exe"+4E83751: 0F 54 CA                 - andps xmm1,xmm2
"M1-Win64-Shipping.exe"+4E83754: 0F 2F CB                 - comiss xmm1,xmm3
// ---------- INJECTING HERE ----------
"M1-Win64-Shipping.exe"+4E83757: 0F 28 F0                 - movaps xmm6,xmm0
// ---------- DONE INJECTING  ----------
"M1-Win64-Shipping.exe"+4E8375A: 77 0F                    - ja "M1-Win64-Shipping.exe"+4E8376B
"M1-Win64-Shipping.exe"+4E8375C: 0F 28 C8                 - movaps xmm1,xmm0
"M1-Win64-Shipping.exe"+4E8375F: 0F 54 CA                 - andps xmm1,xmm2
"M1-Win64-Shipping.exe"+4E83762: 0F 2F CB                 - comiss xmm1,xmm3
"M1-Win64-Shipping.exe"+4E83765: 0F 86 B6 00 00 00        - jbe "M1-Win64-Shipping.exe"+4E83821
"M1-Win64-Shipping.exe"+4E8376B: 0F 57 C0                 - xorps xmm0,xmm0
"M1-Win64-Shipping.exe"+4E8376E: 0F 2F 86 0C 01 00 00     - comiss xmm0,[rsi+0000010C]
"M1-Win64-Shipping.exe"+4E83775: 72 18                    - jb "M1-Win64-Shipping.exe"+4E8378F
"M1-Win64-Shipping.exe"+4E83777: 48 85 FF                 - test rdi,rdi
"M1-Win64-Shipping.exe"+4E8377A: 74 13                    - je "M1-Win64-Shipping.exe"+4E8378F
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
