<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="52">
  <CheatEntries>
    <CheatEntry>
      <ID>1</ID>
      <Description>"SHOCK TROOPERS 2nd Squad"</Description>
      <Options moHideChildren="1" moActivateChildrenAsWell="1" moDeactivateChildrenAsWell="1"/>
      <Color>C08000</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(One,shocktr2.exe,0F BF 04 01 5D)

alloc(newmem,$1000,One)
alloc(Two,4)
alloc(Three,1)

registersymbol(One)
registersymbol(Two)
registersymbol(Three)

label(codeOne)
label(codeTwo)
label(return)

Two:
  dd 0

Three:
  db 0

newmem:
  cmp ecx,1B4
  je codeOne
  cmp ecx,21B4
  je codeOne
  jmp codeThree

codeOne:
  mov dword ptr [Two],eax
  cmp byte ptr [Three],1
  jne codeThree
  mov word ptr [ecx+eax],40
  jmp codeThree

codeTwo:
  cmp byte ptr [Three],1
  jne codeThree
  mov word ptr [ecx+eax],40

codeThree:
  movsx eax,word ptr [ecx+eax]
  pop ebp
  jmp return

One:
  jmp newmem

return:

[DISABLE]

One:
  db 0F BF 04 01 5D

unregistersymbol(One)
unregistersymbol(Two)
unregistersymbol(Three)

dealloc(newmem)
dealloc(Two)
dealloc(Three)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>85</ID>
          <Description>"==== General ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>3</ID>
              <Description>"Infinite Health"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

Three:
  db 1

[DISABLE]

Three:
  db 0
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>91</ID>
              <Description>"Untouchable"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

aobscanmodule(Four,shocktr2.exe,81 E6 FF FF 00 00 0F BE 04 06 5E 5D)
alloc(newmem,$1000,Four)

label(codeOne)
label(codeTwo)
label(return)

newmem:
  cmp esi,904B
  je codeOne
  cmp esi,914B
  je codeOne
  jmp codeTwo

codeOne:
  mov byte ptr [esi+eax],3

codeTwo:
  movsx eax,byte ptr [esi+eax]
  pop esi
  jmp return

Four+06:
  jmp newmem

return:
registersymbol(Four)

[DISABLE]

Four+06:
  db 0F BE 04 06 5E

unregistersymbol(Four)
dealloc(newmem)
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>92</ID>
              <Description>"⬆Blinks continuously."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>86</ID>
          <Description>"==== Player 1 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>98</ID>
              <Description>"Credits"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <ShowAsHex>1</ShowAsHex>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>Byte</VariableType>
              <Address>[Two]+1003C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>95</ID>
              <Description>"Lives"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>Byte</VariableType>
              <Address>[Two]+905A</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>2</ID>
              <Description>"Health"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
64:Maximum
</DropDownList>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>2 Bytes</VariableType>
              <Address>[Two]+1B4</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>87</ID>
          <Description>"==== Player 2 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>99</ID>
              <Description>"Credits"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <ShowAsHex>1</ShowAsHex>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>Byte</VariableType>
              <Address>[Two]+1003D</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>96</ID>
              <Description>"Lives"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>Byte</VariableType>
              <Address>[Two]+915A</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>89</ID>
              <Description>"Health"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
64:Maximum
</DropDownList>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>2 Bytes</VariableType>
              <Address>[Two]+21B4</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
