<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="16">
  <CheatEntries>
    <CheatEntry>
      <ID>5</ID>
      <Description>"ACTIVATE"</Description>
      <Options moHideChildren="1" moAllowManualCollapseAndExpand="1"/>
      <Color>80000008</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(infinitehealth)
label(onehitkill)
label(enable_health)
label(enable_onehitkill)
registersymbol(enable_health)
registersymbol(enable_onehitkill)

newmem:
cmp [esi+34],1
je infinitehealth
cmp [esi+34],2
je onehitkill
jmp originalcode

onehitkill:
cmp [enable_onehitkill],1
jne originalcode
cmp [esi+0C],0
je originalcode
mov [esi+0C],0
jmp returnhere

infinitehealth:
cmp [enable_health],1
jne originalcode
push eax
mov eax,[esi+14]
mov [esi+0C],eax
pop eax
jmp returnhere

originalcode:
movss [esi+0C],xmm0
jmp returnhere

enable_health:
dd 0

enable_onehitkill:
dd 0

"prototype2engine.dll"+712CA0:
jmp newmem
returnhere:

[DISABLE]
dealloc(newmem)
"prototype2engine.dll"+712CA0:
movss [esi+0C],xmm0

//Alt: db F3 0F 11 46 0C

unregistersymbol(enable_health)
unregistersymbol(enable_onehitkill)
</AssemblerScript>
      <Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>112</Key>
          </Keys>
          <ID>0</ID>
        </Hotkey>
      </Hotkeys>
      <CheatEntries>
        <CheatEntry>
          <ID>14</ID>
          <Description>"INFINITE HEALTH"</Description>
          <Color>80000008</Color>
          <VariableType>4 Bytes</VariableType>
          <Address>enable_health</Address>
          <Hotkeys>
            <Hotkey>
              <Action>Set Value</Action>
              <Keys>
                <Key>116</Key>
              </Keys>
              <Value>1</Value>
              <ID>0</ID>
            </Hotkey>
            <Hotkey>
              <Action>Set Value</Action>
              <Keys>
                <Key>117</Key>
              </Keys>
              <Value>0</Value>
              <ID>1</ID>
            </Hotkey>
          </Hotkeys>
        </CheatEntry>
        <CheatEntry>
          <ID>15</ID>
          <Description>"ONE-HIT KILL"</Description>
          <Color>80000008</Color>
          <VariableType>4 Bytes</VariableType>
          <Address>enable_onehitkill</Address>
          <Hotkeys>
            <Hotkey>
              <Action>Set Value</Action>
              <Keys>
                <Key>118</Key>
              </Keys>
              <Value>1</Value>
              <ID>0</ID>
            </Hotkey>
            <Hotkey>
              <Action>Set Value</Action>
              <Keys>
                <Key>119</Key>
              </Keys>
              <Value>0</Value>
              <ID>1</ID>
            </Hotkey>
          </Hotkeys>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
