<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="46">
  <CheatEntries>
    <CheatEntry>
      <ID>2092</ID>
      <Description>"CHAOS CODE -NEW SIGN OF CATASTROPHE-"</Description>
      <Options moHideChildren="1" moActivateChildrenAsWell="1" moDeactivateChildrenAsWell="1"/>
      <Color>C08000</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(One,ChaosCode.exe,8B 8A 38 07 00 00)
aobscanmodule(Two,ChaosCode.exe,8B 80 38 07 00 00 A3 40)
aobscanmodule(Three,ChaosCode.exe,0F B7 87 1C 2D 01 00)
aobscanmodule(Four,ChaosCode.exe,0F B7 82 1C 2D 01 00)
aobscanmodule(Five,ChaosCode.exe,8B 82 40 07 00 00 89)
aobscanmodule(Six,ChaosCode.exe,56 8B 81 40 07 00 00)

alloc(newmemOne,$1000)
alloc(newmemTwo,$1000)
alloc(newmemThree,$1000)
alloc(newmemFour,$1000)
alloc(newmemFive,$1000)
alloc(newmemSix,$1000)
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,1)
alloc(Eighteen,1)
alloc(Nineteen,1)
alloc(Twenty,1)

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)
registersymbol(Eighteen)
registersymbol(Nineteen)
registersymbol(Twenty)

label(codeOne)
label(codeTwo)
label(codeThree)
label(codeFour)
label(codeFive)
label(codeSix)
label(codeSeven)
label(codeEight)
label(codeNine)
label(codeTen)
label(codeEleven)
label(codeTwelve)
label(codeThirteen)
label(codeFourteen)
label(codeFifteen)
label(codeSixteen)
label(codeSeventeen)
label(codeEighteen)
label(codeNineteen)
label(codeTwenty)
label(returnOne)
label(returnTwo)
label(returnThree)
label(returnFour)
label(returnFive)
label(returnSix)

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:
  db 0

Eighteen:
  db 0

Nineteen:
  db 0

Twenty:
  db 0

newmemOne:
  cmp byte ptr [Seven],1
  je codeOne
  cmp byte ptr [Eight],1
  je codeTwo
  cmp byte ptr [Nine],1
  je codeThree
  jmp codeFour

codeOne:
  mov eax,[edx+0000073C]
  mov [edx+00000738],eax
  jmp returnOne

codeTwo:
  xor ecx,ecx
  mov [edx+00000738],ecx
  jmp returnOne

codeThree:
  cmp dword ptr [edx+00000738],1
  jbe codeFour
  mov dword ptr [edx+00000738],1

codeFour:
  mov ecx,[edx+00000738]
  jmp returnOne

One:
  jmp newmemOne
  nop

returnOne:

newmemTwo:
  cmp byte ptr [Ten],1
  je codeFive
  cmp byte ptr [Eleven],1
  je codeSix
  cmp byte ptr [Twelve],1
  je codeSeven
  jmp codeEight

codeFive:
  mov edx,[eax+0000073C]
  mov [eax+00000738],edx
  mov eax,[eax+00000738]
  jmp returnTwo

codeSix:
  xor edx,edx
  mov [eax+00000738],edx
  mov eax, [eax+00000738]
  jmp returnTwo

codeSeven:
  cmp dword ptr [eax+00000738],1
  jbe codeEight
  mov dword ptr [eax+00000738],1

codeEight:
  mov eax,[eax+00000738]
  jmp returnTwo

Two:
  jmp newmemTwo
  nop

returnTwo:

newmemThree:
  cmp byte ptr [Thirteen],1
  je codeNine
  cmp byte ptr [Fourteen],1
  je codeTen
  jmp codeEleven

codeNine:
  mov word ptr [edi+00012D1C],3
  movzx eax,word ptr [edi+00012D1C]
  jmp returnThree

codeTen:
  xor ax,ax
  mov word ptr [edi+00012D1C],ax
  jmp returnThree

codeEleven:
  movzx eax,word ptr [edi+00012D1C]
  jmp returnThree

Three:
  jmp newmemThree
  nop 2

returnThree:

newmemFour:
  cmp byte ptr [Fifteen],1
  je codeTwelve
  cmp byte ptr [Sixteen],1
  je codeThirteen
  jmp codeFourteen

codeTwelve:
  mov word ptr [edx+00012D1C],3
  movzx eax,word ptr [edx+00012D1C]
  jmp returnFour

codeThirteen:
  xor ax,ax
  mov word ptr [edx+00012D1C],ax
  jmp returnFour

codeFourteen:
  movzx eax,word ptr [edx+00012D1C]
  jmp returnFour

Four:
  jmp newmemFour
  nop 2

returnFour:

newmemFive:
  cmp byte ptr [Seventeen],1
  je codeFifteen
  cmp byte ptr [Eighteen],1
  je codeSixteen
  jmp codeSeventeen

codeFifteen:
  xor eax,eax
  mov [edx+00000740],eax
  jmp returnFive

codeSixteen:
  mov dword ptr [edx+00000740],64
  mov eax,[edx+00000740]
  jmp returnFive

codeSeventeen:
  mov eax,[edx+00000740]
  jmp returnFive

Five:
  jmp newmemFive
  nop

returnFive:

newmemSix:
  cmp byte ptr [Nineteen],1
  je codeEighteen
  cmp byte ptr [Twenty],1
  je codeNineteen
  jmp codeTwenty

codeEighteen:
  xor eax,eax
  mov [ecx+00000740],eax
  jmp returnSix

codeNineteen:
  mov dword ptr [ecx+00000740],64
  mov eax,[ecx+00000740]
  jmp returnSix

codeTwenty:
  mov eax,[ecx+00000740]
  jmp returnSix

Six+01:
  jmp newmemSix
  nop

returnSix:

[DISABLE]

One:
  db 8B 8A 38 07 00 00

Two:
  db 8B 80 38 07 00 00

Three:
  db 0F B7 87 1C 2D 01 00

Four:
  db 0F B7 82 1C 2D 01 00

Five:
  db 8B 82 40 07 00 00

Six+01:
  db 8B 81 40 07 00 00

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)
unregistersymbol(Eighteen)
unregistersymbol(Nineteen)
unregistersymbol(Twenty)

dealloc(newmemOne)
dealloc(newmemTwo)
dealloc(newmemThree)
dealloc(newmemFour)
dealloc(newmemFive)
dealloc(newmemSix)
dealloc(Seven)
dealloc(Eight)
dealloc(Nine)
dealloc(Ten)
dealloc(Eleven)
dealloc(Twelve)
dealloc(Thirteen)
dealloc(Fourteen)
dealloc(Fifteen)
dealloc(Sixteen)
dealloc(Seventeen)
dealloc(Eighteen)
dealloc(Nineteen)
dealloc(Twenty)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>29</ID>
          <Description>"==== Player 1 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>56</ID>
              <Description>"Infinite Health"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Seven:
  db 1

[DISABLE]

Seven:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>475</ID>
              <Description>"Infinite Chaos"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Thirteen:
  db 1

[DISABLE]

Thirteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>57</ID>
              <Description>"Instant Win"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Eleven:
  db 1

[DISABLE]

Eleven:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>61</ID>
              <Description>"Quick Win"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Twelve:
  db 1

[DISABLE]

Twelve:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>537</ID>
              <Description>"Zero Stun"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Seventeen:
  db 1

[DISABLE]

Seventeen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2098</ID>
              <Description>"Opponent Zero Chaos"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Sixteen:
  db 1

[DISABLE]

Sixteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2103</ID>
              <Description>"Opponent Maximum Stun"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Twenty:
  db 1

[DISABLE]

Twenty:
  db 0
</AssemblerScript>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>30</ID>
          <Description>"==== Player 2 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>58</ID>
              <Description>"Infinite Health"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Ten:
  db 1

[DISABLE]

Ten:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>478</ID>
              <Description>"Infinite Chaos"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Fifteen:
  db 1

[DISABLE]

Fifteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>59</ID>
              <Description>"Instant Win"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Eight:
  db 1

[DISABLE]

Eight:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>60</ID>
              <Description>"Quick Win"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Nine:
  db 1

[DISABLE]

Nine:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>535</ID>
              <Description>"Zero Stun"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Nineteen:
  db 1

[DISABLE]

Nineteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2095</ID>
              <Description>"Opponent Zero Chaos"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Fourteen:
  db 1

[DISABLE]

Fourteen:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2101</ID>
              <Description>"Opponent Maximum Stun"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Eighteen:
  db 1

[DISABLE]

Eighteen:
  db 0
</AssemblerScript>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>532</ID>
          <Description>"== CPU vs CPU ==="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>2104</ID>
              <Description>"Player 1"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if player1 == nil then
  local addr = getAddress("ChaosCode.exe+3C8790")
  player1 = createTimer(nil,false)
  player1.Interval = 1000
  player1.OnTimer = function()
  writeInteger(addr,1)
  end
  player1.setEnabled(true)
  end
{$asm}

[DISABLE]

{$lua}
  if player1 ~= nil then
  local addr = getAddress("ChaosCode.exe+3C8790")
  writeInteger(addr,0)
  player1.setEnabled(false)
  player1.destroy()
  player1 = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2105</ID>
              <Description>"Player 2"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if player2 == nil then
  local addr = getAddress("ChaosCode.exe+3DC8F8")
  player2 = createTimer(nil,false)
  player2.Interval = 1000
  player2.OnTimer = function()
  writeInteger(addr,1)
  end
  player2.setEnabled(true)
  end
{$asm}

[DISABLE]

{$lua}
  if player2 ~= nil then
  local addr = getAddress("ChaosCode.exe+3DC8F8")
  writeInteger(addr,0)
  player2.setEnabled(false)
  player2.destroy()
  player2 = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>64</ID>
              <Description>"⬆You may need to change difficulty level in the game options."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
            <CheatEntry>
              <ID>2106</ID>
              <Description>"⬆You will need to start a match with the CPU on the left, then on the right, before the CPU level is applied to both players."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <Comments>Created by: Outrun
https://opencheattables.com</Comments>
</CheatTable>
