<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="38">
  <CheatEntries>
    <CheatEntry>
      <ID>1</ID>
      <Description>"Always 50 health"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
[ENABLE]

aobscan(life,8B 45 0C 8B 4D 08 89 41 48) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
  mov eax,#50
  mov [ebp+c],eax
code:
  mov eax,[ebp+0C]
  mov ecx,[ebp+08]
  jmp return

life:
  jmp newmem
  nop
return:
registersymbol(life)

[DISABLE]

life:
  db 8B 45 0C 8B 4D 08

unregistersymbol(life)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 00FDED8E

00FDED79: C9              - leave 
00FDED7A: C3              - ret 
00FDED7B: 00 68 F0        - add [eax-10],ch
00FDED7E: 5E              - pop esi
00FDED7F: DD 13           - fst qword ptr [ebx]
00FDED81: E9 A2 12 16 05  - jmp 06140028
00FDED86: 00 00           - add [eax],al
00FDED88: 55              - push ebp
00FDED89: 8B EC           - mov ebp,esp
00FDED8B: 83 EC 08        - sub esp,08
// ---------- INJECTING HERE ----------
00FDED8E: 8B 45 0C        - mov eax,[ebp+0C]
// ---------- DONE INJECTING  ----------
00FDED91: 8B 4D 08        - mov ecx,[ebp+08]
00FDED94: 89 41 48        - mov [ecx+48],eax
00FDED97: 8B 49 30        - mov ecx,[ecx+30]
00FDED9A: 83 EC 04        - sub esp,04
00FDED9D: 51              - push ecx
00FDED9E: 50              - push eax
00FDED9F: 6A 01           - push 01
00FDEDA1: E8 6A 8B FD FF  - call 00FB7910
00FDEDA6: 83 C4 10        - add esp,10
00FDEDA9: C9              - leave 
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
  <CheatCodes>
    <CodeEntry>
      <Description>Change of mov byte ptr [eax+44],00</Description>
      <AddressString>0101512A</AddressString>
      <Before>
        <Byte>C4</Byte>
        <Byte>10</Byte>
        <Byte>8B</Byte>
        <Byte>47</Byte>
        <Byte>08</Byte>
      </Before>
      <Actual>
        <Byte>C6</Byte>
        <Byte>40</Byte>
        <Byte>44</Byte>
        <Byte>00</Byte>
      </Actual>
      <After>
        <Byte>C7</Byte>
        <Byte>47</Byte>
        <Byte>18</Byte>
        <Byte>FF</Byte>
        <Byte>FF</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov byte ptr [edi+1D],00</Description>
      <AddressString>010154A7</AddressString>
      <Before>
        <Byte>FE</Byte>
        <Byte>FF</Byte>
        <Byte>83</Byte>
        <Byte>C4</Byte>
        <Byte>10</Byte>
      </Before>
      <Actual>
        <Byte>C6</Byte>
        <Byte>47</Byte>
        <Byte>1D</Byte>
        <Byte>00</Byte>
      </Actual>
      <After>
        <Byte>D9</Byte>
        <Byte>47</Byte>
        <Byte>18</Byte>
        <Byte>83</Byte>
        <Byte>EC</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of call UnityEngine.Animator:SetBool</Description>
      <AddressString>01007565</AddressString>
      <Before>
        <Byte>69</Byte>
        <Byte>1D</Byte>
        <Byte>50</Byte>
        <Byte>39</Byte>
        <Byte>00</Byte>
      </Before>
      <Actual>
        <Byte>E8</Byte>
        <Byte>0E</Byte>
        <Byte>27</Byte>
        <Byte>FF</Byte>
        <Byte>FF</Byte>
      </Actual>
      <After>
        <Byte>83</Byte>
        <Byte>C4</Byte>
        <Byte>10</Byte>
        <Byte>0F</Byte>
        <Byte>B6</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of je PlayerLauncher:Update+4e</Description>
      <AddressString>010156B7</AddressString>
      <Before>
        <Byte>B6</Byte>
        <Byte>40</Byte>
        <Byte>1D</Byte>
        <Byte>85</Byte>
        <Byte>C0</Byte>
      </Before>
      <Actual>
        <Byte>0F</Byte>
        <Byte>84</Byte>
        <Byte>39</Byte>
        <Byte>00</Byte>
        <Byte>00</Byte>
        <Byte>00</Byte>
      </Actual>
      <After>
        <Byte>8B</Byte>
        <Byte>45</Byte>
        <Byte>08</Byte>
        <Byte>0F</Byte>
        <Byte>B6</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of je PlayerLauncher:Update+4e</Description>
      <AddressString>010156C6</AddressString>
      <Before>
        <Byte>B6</Byte>
        <Byte>40</Byte>
        <Byte>1C</Byte>
        <Byte>85</Byte>
        <Byte>C0</Byte>
      </Before>
      <Actual>
        <Byte>74</Byte>
        <Byte>2E</Byte>
      </Actual>
      <After>
        <Byte>83</Byte>
        <Byte>EC</Byte>
        <Byte>0C</Byte>
        <Byte>68</Byte>
        <Byte>88</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of jne PlayerLauncher:Update+4e</Description>
      <AddressString>010156E2</AddressString>
      <Before>
        <Byte>1C</Byte>
        <Byte>DF</Byte>
        <Byte>F1</Byte>
        <Byte>DD</Byte>
        <Byte>D8</Byte>
      </Before>
      <Actual>
        <Byte>75</Byte>
        <Byte>12</Byte>
      </Actual>
      <After>
        <Byte>7A</Byte>
        <Byte>10</Byte>
        <Byte>72</Byte>
        <Byte>0E</Byte>
        <Byte>83</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of jp PlayerLauncher:Update+4e</Description>
      <AddressString>010156E4</AddressString>
      <Before>
        <Byte>F1</Byte>
        <Byte>DD</Byte>
        <Byte>D8</Byte>
        <Byte>90</Byte>
        <Byte>90</Byte>
      </Before>
      <Actual>
        <Byte>7A</Byte>
        <Byte>10</Byte>
      </Actual>
      <After>
        <Byte>72</Byte>
        <Byte>0E</Byte>
        <Byte>83</Byte>
        <Byte>EC</Byte>
        <Byte>0C</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of jb PlayerLauncher:Update+4e</Description>
      <AddressString>010156E6</AddressString>
      <Before>
        <Byte>D8</Byte>
        <Byte>90</Byte>
        <Byte>90</Byte>
        <Byte>90</Byte>
        <Byte>90</Byte>
      </Before>
      <Actual>
        <Byte>72</Byte>
        <Byte>0E</Byte>
      </Actual>
      <After>
        <Byte>83</Byte>
        <Byte>EC</Byte>
        <Byte>0C</Byte>
        <Byte>FF</Byte>
        <Byte>75</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of test eax,eax</Description>
      <AddressString>01015722</AddressString>
      <Before>
        <Byte>10</Byte>
        <Byte>0F</Byte>
        <Byte>B6</Byte>
        <Byte>47</Byte>
        <Byte>4D</Byte>
      </Before>
      <Actual>
        <Byte>85</Byte>
        <Byte>C0</Byte>
      </Actual>
      <After>
        <Byte>0F</Byte>
        <Byte>84</Byte>
        <Byte>B7</Byte>
        <Byte>00</Byte>
        <Byte>00</Byte>
      </After>
    </CodeEntry>
  </CheatCodes>
  <UserdefinedSymbols/>
</CheatTable>
