<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="29">
  <CheatEntries>
    <CheatEntry>
      <ID>55</ID>
      <Description>"F1: Never lose lifes"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscanmodule(Lifelost,popcapgame1.exe,83 86 EC 00 00 00 FF) // should be unique
Lifelost:
  db 90 90 90 90 90 90 90

[DISABLE]

Lifelost:
  db 83 86 EC 00 00 00 FF

{
// ORIGINAL CODE - INJECTION POINT: "popcapgame1.exe"+28383

"popcapgame1.exe"+28360: 8B 0B                          -  mov ecx,[ebx]
"popcapgame1.exe"+28362: E8 B9 08 FE FF                 -  call popcapgame1.exe+8C20
"popcapgame1.exe"+28367: 83 C7 01                       -  add edi,01
"popcapgame1.exe"+2836A: 83 C3 04                       -  add ebx,04
"popcapgame1.exe"+2836D: 3B BE B8 00 00 00              -  cmp edi,[esi+000000B8]
"popcapgame1.exe"+28373: 7C EB                          -  jl popcapgame1.exe+28360
"popcapgame1.exe"+28375: 5B                             -  pop ebx
"popcapgame1.exe"+28376: 8B 8E AC 00 00 00              -  mov ecx,[esi+000000AC]
"popcapgame1.exe"+2837C: 6A 01                          -  push 01
"popcapgame1.exe"+2837E: E8 FD A5 FD FF                 -  call popcapgame1.exe+2980
// ---------- INJECTING HERE ----------
"popcapgame1.exe"+28383: 83 86 EC 00 00 00 FF           -  add dword ptr [esi+000000EC],-01
// ---------- DONE INJECTING  ----------
"popcapgame1.exe"+2838A: 83 BE EC 00 00 00 00           -  cmp dword ptr [esi+000000EC],00
"popcapgame1.exe"+28391: C7 86 F4 00 00 00 02 00 00 00  -  mov [esi+000000F4],00000002
"popcapgame1.exe"+2839B: C7 86 F0 00 00 00 00 00 00 00  -  mov [esi+000000F0],00000000
"popcapgame1.exe"+283A5: 7F 22                          -  jg popcapgame1.exe+283C9
"popcapgame1.exe"+283A7: DD 05 80 D3 54 00              -  fld qword ptr [popcapgame1.exe+14D380]
"popcapgame1.exe"+283AD: 8B 8E E0 00 00 00              -  mov ecx,[esi+000000E0]
"popcapgame1.exe"+283B3: 83 EC 08                       -  sub esp,08
"popcapgame1.exe"+283B6: DD 1C 24                       -  fstp qword ptr [esp]
"popcapgame1.exe"+283B9: 6A 00                          -  push 00
"popcapgame1.exe"+283BB: 6A 27                          -  push 27
}
</AssemblerScript>
      <Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>112</Key>
          </Keys>
          <ID>0</ID>
          <ActivateSound>Activate</ActivateSound>
          <DeactivateSound>Deactivate</DeactivateSound>
        </Hotkey>
      </Hotkeys>
    </CheatEntry>
    <CheatEntry>
      <ID>74</ID>
      <Description>"F2: Levels are instantly done"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>define(address,"popcapgame1.exe"+28919)
define(bytes,3B D7 75 0F 6A 00)

[ENABLE]
assert(address,bytes)
address:
  cmp edx,edx

[DISABLE]
address:
  db 3b d7
</AssemblerScript>
      <Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>113</Key>
          </Keys>
          <ID>0</ID>
          <ActivateSound TTS="EN">on</ActivateSound>
          <DeactivateSound TTS="EN">off</DeactivateSound>
        </Hotkey>
      </Hotkeys>
    </CheatEntry>
    <CheatEntry>
      <ID>64</ID>
      <Description>"Pointers"</Description>
      <LastState Value="" RealAddress="00000000"/>
      <GroupHeader>1</GroupHeader>
      <CheatEntries>
        <CheatEntry>
          <ID>65</ID>
          <Description>"Lifes left (=displayed lifes +1)"</Description>
          <LastState Value="4" RealAddress="0C2EBFE4"/>
          <VariableType>4 Bytes</VariableType>
          <Address>"THREADSTACK0"-0000013C</Address>
          <Offsets>
            <Offset>EC</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>66</ID>
          <Description>"Score"</Description>
          <LastState Value="225949" RealAddress="0C2EBFDC"/>
          <VariableType>4 Bytes</VariableType>
          <Address>"THREADSTACK0"-0000013C</Address>
          <Offsets>
            <Offset>E4</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <Comments>Progress bar on Screen:
0 at Start, roundabout 300-400 to finish. Setting the progress bar doesn't help us, anyway.
</Comments>
</CheatTable>
