<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="46">
  <CheatEntries>
    <CheatEntry>
      <ID>65</ID>
      <Description>"THE KING OF FIGHTERS XIV STEAM EDITION"</Description>
      <Options moHideChildren="1" moActivateChildrenAsWell="1" moDeactivateChildrenAsWell="1"/>
      <Color>C08000</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(One,kofxiv.exe,29 BB 54 04 00 00)
aobscanmodule(Two,kofxiv.exe,29 BB 78 04 00 00)
aobscanmodule(Three,kofxiv.exe,0F BF 81 5E 04 00 00)
aobscanmodule(Four,kofxiv.exe,42 83 BC 38 8C C1 03 00 01)

alloc(newmemOne,$1000,One)
alloc(newmemTwo,$1000,Two)
alloc(newmemThree,$1000,Three)
alloc(newmemFour,$1000,Four)
alloc(Five,1)
alloc(Six,1)
alloc(Seven,1)
alloc(Eight,1)
alloc(Nine,1)
alloc(Ten,1)
alloc(Eleven,1)
alloc(Twelve,1)
alloc(Thirteen,1)
alloc(Fourteen,1)
alloc(Fifteen,1)
alloc(Sixteen,1)
alloc(Seventeen,8)

registersymbol(One)
registersymbol(Two)
registersymbol(Three)
registersymbol(Four)
registersymbol(Five)
registersymbol(Six)
registersymbol(Seven)
registersymbol(Eight)
registersymbol(Nine)
registersymbol(Ten)
registersymbol(Eleven)
registersymbol(Twelve)
registersymbol(Thirteen)
registersymbol(Fourteen)
registersymbol(Fifteen)
registersymbol(Sixteen)
registersymbol(Seventeen)

label(codeOne)
label(codeTwo)
label(codeThree)
label(codeFour)
label(codeFive)
label(codeSix)
label(codeSeven)
label(codeEight)
label(codeNine)
label(codeTen)
label(codeEleven)
label(returnOne)
label(returnTwo)
label(returnThree)
label(returnFour)

Five:
  db 0

Six:
  db 0

Seven:
  db 0

Eight:
  db 0

Nine:
  db 0

Ten:
  db 0

Eleven:
  db 0

Twelve:
  db 0

Thirteen:
  db 0

Fourteen:
  db 0

Fifteen:
  db 0

Sixteen:
  db 0

Seventeen:
  dq 0

newmemOne:
  cmp dword ptr [rbx+1C],0
  jne codeOne
  cmp byte ptr [Five],1
  je returnOne
  cmp byte ptr [Seven],1
  je codeTwo
  jmp codeThree

codeOne:
  cmp byte ptr [Six],1
  je returnOne
  cmp byte ptr [Eight],1
  je codeTwo
  jmp codeThree

codeTwo:
  xor edi,edi
  mov [rbx+00000454],edi
  jmp returnOne

codeThree:
  sub [rbx+00000454],edi
  jmp returnOne

One:
  jmp newmemOne
  nop

returnOne:

newmemTwo:
  cmp dword ptr [rbx+1C],0
  jne codeFour
  cmp byte ptr [Nine],1
  je returnTwo
  cmp byte ptr [Eleven],1
  je codeFive
  jmp codeSix

codeFour:
  cmp byte ptr [Ten],1
  je returnTwo
  cmp byte ptr [Twelve],1
  je codeFive
  jmp codeSix

codeFive:
  xor edi,edi
  mov [rbx+00000478],edi
  jmp returnTwo

codeSix:
  sub [rbx+00000478],edi
  jmp returnTwo

Two:
  jmp newmemTwo
  nop

returnTwo:

newmemThree:
  cmp dword ptr [rcx+1C],0
  jne codeSeven
  cmp byte ptr [Thirteen],1
  je codeEight
  cmp byte ptr [Fifteen],1
  je codeNine
  jmp codeTen

codeSeven:
  cmp byte ptr [Fourteen],1
  je codeEight
  cmp byte ptr [Sixteen],1
  je codeNine
  jmp codeTen

codeEight:
  mov word ptr [rcx+0000045E],1388
  movsx eax,word ptr [rcx+0000045E]
  jmp returnThree

codeNine:
  xor eax,eax
  mov word ptr [rcx+0000045E],ax
  jmp returnThree

codeTen:
  movsx eax,word ptr [rcx+0000045E]
  jmp returnThree

Three:
  jmp newmemThree
  nop 2

returnThree:

newmemFour:
  cmp dword ptr [rsi+1C],0
  jne codeEleven
  mov [Seventeen],r15

codeEleven:
  cmp dword ptr [rax+r15+0003C18C],01
  jmp returnFour

Four:
  jmp newmemFour
  nop 4

returnFour:

[DISABLE]

One:
  db 29 BB 54 04 00 00

Two:
  db 29 BB 78 04 00 00

Three:
  db 0F BF 81 5E 04 00 00

Four:
  db 42 83 BC 38 8C C1 03 00 01

unregistersymbol(One)
unregistersymbol(Two)
unregistersymbol(Three)
unregistersymbol(Four)
unregistersymbol(Five)
unregistersymbol(Six)
unregistersymbol(Seven)
unregistersymbol(Eight)
unregistersymbol(Nine)
unregistersymbol(Ten)
unregistersymbol(Eleven)
unregistersymbol(Twelve)
unregistersymbol(Thirteen)
unregistersymbol(Fourteen)
unregistersymbol(Fifteen)
unregistersymbol(Sixteen)
unregistersymbol(Seventeen)

dealloc(newmemOne)
dealloc(newmemTwo)
dealloc(newmemThree)
dealloc(newmemFour)
dealloc(Five)
dealloc(Six)
dealloc(Seven)
dealloc(Eight)
dealloc(Nine)
dealloc(Ten)
dealloc(Eleven)
dealloc(Twelve)
dealloc(Thirteen)
dealloc(Fourteen)
dealloc(Fifteen)
dealloc(Sixteen)
dealloc(Seventeen)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>36</ID>
          <Description>"==== Player 1 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>4</ID>
              <Description>"Freeze Time"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

aobscanmodule(Twenty,kofxiv.exe,83 41 10 FF 8B 41 10)
registersymbol(Twenty)

kofxiv.exe+237A15:
  db 90 90 90 90

[DISABLE]

Twenty:
  db 83 41 10 FF

unregistersymbol(Twenty)
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>66</ID>
              <Description>"Infinite Health"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Five:
  db 1

[DISABLE]

Six:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>48</ID>
              <Description>"Infinite Guard"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Nine:
  db 1

[DISABLE]

Nine:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>42</ID>
              <Description>"Infinite Power"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Thirteen:
  db 1

[DISABLE]

Thirteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>43</ID>
              <Description>"Opponent Zero Power"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Sixteen:
  db 1

[DISABLE]

Sixteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>49</ID>
              <Description>"Opponent Zero Guard"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Twelve:
  db 1

[DISABLE]

Twelve:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>69</ID>
              <Description>"Quick Win"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Eight:
  db 1

[DISABLE]

Eight:
  db 0
</AssemblerScript>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>37</ID>
          <Description>"==== Player 2 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>67</ID>
              <Description>"Infinite Health"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Six:
  db 1

[DISABLE]

Six:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>50</ID>
              <Description>"Infinite Guard"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Ten:
  db 1

[DISABLE]

Ten:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>44</ID>
              <Description>"Infinite Power"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Fourteen:
  db 1

[DISABLE]

Fourteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>45</ID>
              <Description>"Opponent Zero Power"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Fifteen:
  db 1

[DISABLE]

Fifteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>51</ID>
              <Description>"Opponent Zero Guard"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Eleven:
  db 1

[DISABLE]

Eleven:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>68</ID>
              <Description>"Quick Win"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Seven:
  db 1

[DISABLE]

Seven:
  db 0
</AssemblerScript>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>212</ID>
          <Description>"== CPU vs CPU ==="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>2165</ID>
              <Description>"Player 1"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if playerOne ~= nil then
  playerOne.destroy()
  playerOne = nil
  end
  local proc = getOpenedProcessID()
  playerOne = createTimer()
  playerOne.Interval = 1000
  playerOne.OnTimer = function()
  if getOpenedProcessID() ~= proc then
  playerOne.destroy()
  playerOne = nil
  return
  end
  pcall(function()
  local a = getAddress('Seventeen')
  if a then
  local base = readQword(a)
  if base ~= 0 then
  writeInteger(base+0x3C18C,1)
  end
  end
  end)
  end
{$asm}

[DISABLE]

{$lua}
  if playerOne ~= nil then
  playerOne.destroy()
  playerOne = nil
  end
  pcall(function()
  local a = getAddress('Seventeen')
  if a then
  local base = readQword(a)
  if base ~= 0 then
  writeInteger(base+0x3C18C,0)
  end
  end
  end)
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2166</ID>
              <Description>"Player 2"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if playerTwo ~= nil then
  playerTwo.destroy()
  playerTwo = nil
  end
  local proc = getOpenedProcessID()
  playerTwo = createTimer()
  playerTwo.Interval = 1000
  playerTwo.OnTimer = function()
  if getOpenedProcessID() ~= proc then
  playerTwo.destroy()
  playerTwo = nil
  return
  end
  pcall(function()
  local a = getAddress('Seventeen')
  if a then
  local base = readQword(a)
  if base ~= 0 then
  writeInteger(base+0x3C234,1)
  end
  end
  end)
  end
{$asm}

[DISABLE]

{$lua}
  if playerTwo ~= nil then
  playerTwo.destroy()
  playerTwo = nil
  end
  pcall(function()
  local a = getAddress('Seventeen')
  if a then
  local base = readQword(a)
  if base ~= 0 then
  writeInteger(base+0x3C234,0)
  end
  end
  end)
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>213</ID>
              <Description>"⬆You may need to change difficulty level in the game options."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <Comments>Created by: Outrun
https://opencheattables.com</Comments>
</CheatTable>
