<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="45">
  <CheatEntries>
    <CheatEntry>
      <ID>75</ID>
      <Description>"[0] Enable Me"</Description>
      <Options moHideChildren="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : shatteredPlanet.exe
  Version: Steam
  Author : SeryogaSK
  Homepage: Habibrahimov.com

  This script Enable Mono
}

[ENABLE]
{$lua}
LaunchMonoDataCollector()

[DISABLE]


</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>2</ID>
          <Description>"[1] Player Structure"</Description>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>{ Game   : shatteredPlanet.exe
  Version: Steam
  Author : SeryogaSK
  Homepage: Habibrahimov.com

  This script Get Player Structure
}

[ENABLE]

aobscan(ply_health,F0 8B 47 10 8B 40 28 50 DB 04 24) // should be unique
alloc(newmem,$1000)
alloc(ply_base,8)

label(code)
label(return)

newmem:
mov [ply_base],eax
code:
  mov eax,[eax+28]
  push eax
  fild dword ptr [esp]
  jmp return

  ply_base:
  dd

ply_health+04:
  jmp newmem
  nop 2
return:
registersymbol(ply_health)
registersymbol(ply_base)
[DISABLE]

ply_health+04:
  db 8B 40 28 50 DB 04 24

unregistersymbol(ply_health)
unregistersymbol(ply_base)
dealloc(newmem)
dealloc(ply_base)

{
// ORIGINAL CODE - INJECTION POINT: LowDamageIndicatorManager:OnHeroChanged+1c

LowDamageIndicatorManager:OnHeroChanged+3: 57        - push edi
LowDamageIndicatorManager:OnHeroChanged+4: 83 EC 14  - sub esp,14
LowDamageIndicatorManager:OnHeroChanged+7: 8B 7D 08  - mov edi,[ebp+08]
LowDamageIndicatorManager:OnHeroChanged+a: D9 EE     - fldz 
LowDamageIndicatorManager:OnHeroChanged+c: D9 5D F8  - fstp dword ptr [ebp-08]
LowDamageIndicatorManager:OnHeroChanged+f: D9 EE     - fldz 
LowDamageIndicatorManager:OnHeroChanged+11: D9 5D F4  - fstp dword ptr [ebp-0C]
LowDamageIndicatorManager:OnHeroChanged+14: D9 EE     - fldz 
LowDamageIndicatorManager:OnHeroChanged+16: D9 5D F0  - fstp dword ptr [ebp-10]
LowDamageIndicatorManager:OnHeroChanged+19: 8B 47 10  - mov eax,[edi+10]
// ---------- INJECTING HERE ----------
LowDamageIndicatorManager:OnHeroChanged+1c: 8B 40 28  - mov eax,[eax+28]
// ---------- DONE INJECTING  ----------
LowDamageIndicatorManager:OnHeroChanged+1f: 50        - push eax
LowDamageIndicatorManager:OnHeroChanged+20: DB 04 24  - fild dword ptr [esp]
LowDamageIndicatorManager:OnHeroChanged+23: D9 1C 24  - fstp dword ptr [esp]
LowDamageIndicatorManager:OnHeroChanged+26: D9 04 24  - fld dword ptr [esp]
LowDamageIndicatorManager:OnHeroChanged+29: 83 C4 04  - add esp,04
LowDamageIndicatorManager:OnHeroChanged+2c: D9 5D F8  - fstp dword ptr [ebp-08]
LowDamageIndicatorManager:OnHeroChanged+2f: 8B 47 10  - mov eax,[edi+10]
LowDamageIndicatorManager:OnHeroChanged+32: 8B 40 2C  - mov eax,[eax+2C]
LowDamageIndicatorManager:OnHeroChanged+35: 50        - push eax
LowDamageIndicatorManager:OnHeroChanged+36: DB 04 24  - fild dword ptr [esp]
}
</AssemblerScript>
          <CheatEntries>
            <CheatEntry>
              <ID>3</ID>
              <Description>"Base"</Description>
              <ShowAsHex>1</ShowAsHex>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>808000</Color>
              <VariableType>8 Bytes</VariableType>
              <Address>ply_base</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>6</ID>
              <Description>"[1] health"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+28</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>7</ID>
                  <Description>"[1.1] maxHealth"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+2C</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>39</ID>
                  <Description>"[1.2] _baseMaxHealth"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+10C</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>19</ID>
              <Description>"[2] stealth"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+50</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>24</ID>
                  <Description>"[2.1] isInvincible"</Description>
                  <VariableType>Byte</VariableType>
                  <Address>[ply_base]+D8</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>25</ID>
              <Description>"[3] scrap"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+DC</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>73</ID>
                  <Description>"[3.1] scrapHighScore"</Description>
                  <VariableType>Byte</VariableType>
                  <Address>[ply_base]+17F</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>26</ID>
                  <Description>"[3.2] startRunScrap"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+E0</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>27</ID>
              <Description>"levelDepth"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+E4</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>28</ID>
              <Description>"[4] crystal"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+E8</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>29</ID>
                  <Description>"[4.1] crystalStandardMultiplier"</Description>
                  <VariableType>Float</VariableType>
                  <Address>[ply_base]+EC</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>30</ID>
                  <Description>"[4.2] crystalRewardMultiplier"</Description>
                  <VariableType>Float</VariableType>
                  <Address>[ply_base]+F0</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>31</ID>
                  <Description>"[4.3] crystalReward"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+F4</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>33</ID>
              <Description>"[5] abilityLevel"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+FC</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>34</ID>
                  <Description>"[5.1] maxAbilityUses"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+100</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>35</ID>
                  <Description>"[5.2] abilityUses"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+104</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>65</ID>
                  <Description>"[5.3] isUsingItemAbility"</Description>
                  <VariableType>Byte</VariableType>
                  <Address>[ply_base]+16E</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>41</ID>
              <Description>"[6] level"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+114</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>44</ID>
                  <Description>"[6.1] startingResearchLevel"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+120</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>42</ID>
                  <Description>"[6.2] startingLevel"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+118</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>43</ID>
                  <Description>"[6.3] researchLevel"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+11C</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>70</ID>
                  <Description>"[6.4] isLevelingUp"</Description>
                  <VariableType>Byte</VariableType>
                  <Address>[ply_base]+17C</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>40</ID>
              <Description>"[7] xp"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+110</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>68</ID>
                  <Description>"[7.1] researchXPGained"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+174</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>69</ID>
                  <Description>"[7.2] researchXPIndex"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+178</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>74</ID>
                  <Description>"[7.3] xpHighScore"</Description>
                  <VariableType>Byte</VariableType>
                  <Address>[ply_base]+180</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>45</ID>
                  <Description>"[7.4] researchXP"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+124</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>46</ID>
                  <Description>"[7.5] startingResearchXP"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+128</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>47</ID>
              <Description>"[8] viewRange"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+12C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>48</ID>
              <Description>"[9] discoveredTiles"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+130</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>49</ID>
                  <Description>"[9.1] totalTiles"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+134</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>56</ID>
              <Description>"[10] strengthOverride"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+150</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>50</ID>
                  <Description>"[10.1] _baseStrength"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+138</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>51</ID>
                  <Description>"[10.2] _tempStrength"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+13C</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>57</ID>
              <Description>"[11] witsOverride"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+154</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>52</ID>
                  <Description>"[11.1] _baseWits"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+140</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>53</ID>
                  <Description>"[11.2] _tempWits"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+144</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>58</ID>
              <Description>"[12] fateOverride"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+158</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>54</ID>
                  <Description>"[12.1] _baseFate"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+148</Address>
                </CheatEntry>
                <CheatEntry>
                  <ID>55</ID>
                  <Description>"[12.2] _tempFate"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+14C</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>60</ID>
              <Description>"[15] isInCombat"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+160</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>61</ID>
              <Description>"[13] maximumInventoryCapacity"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+164</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>32</ID>
              <Description>"[14] gekkoCredits"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+F8</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>67</ID>
              <Description>"[16] fallDamage"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+170</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>16</ID>
              <Description>"[17] immuneToJump"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+4D</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>17</ID>
              <Description>"[18] immuneToRoot"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+4E</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>18</ID>
              <Description>"[19] immuneToTeleport"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+4F</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>76</ID>
          <Description>"MISC"</Description>
          <Options moHideChildren="1"/>
          <Color>808080</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>71</ID>
              <Description>"hitTarget"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+17D</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>72</ID>
              <Description>"distanceHighScore"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+17E</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>37</ID>
              <Description>"isFalling"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+109</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>38</ID>
                  <Description>"isDead"</Description>
                  <VariableType>Byte</VariableType>
                  <Address>[ply_base]+10A</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>62</ID>
              <Description>"_actionType"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+168</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>63</ID>
              <Description>"foundPath"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+16C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>64</ID>
              <Description>"isTakingTurn"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+16D</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>66</ID>
              <Description>"autoAttack"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+16F</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>59</ID>
              <Description>"totalBonus"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+15C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>36</ID>
              <Description>"HUBMap"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+108</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>20</ID>
              <Description>"playingAnimation"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+54</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>21</ID>
              <Description>"obstacleBreakMask"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+58</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>22</ID>
              <Description>"heroName"</Description>
              <VariableType>String</VariableType>
              <Length>1</Length>
              <Unicode>0</Unicode>
              <CodePage>0</CodePage>
              <ZeroTerminate>1</ZeroTerminate>
              <Address>[ply_base]+74</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>23</ID>
              <Description>"gender"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+D4</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>8</ID>
              <Description>"_armorPiercingAmount"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+30</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>9</ID>
              <Description>"_wits"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+34</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>10</ID>
              <Description>"_strength"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+38</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>11</ID>
              <Description>"_fate"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+3C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>12</ID>
              <Description>"_minDamage"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+40</Address>
              <CheatEntries>
                <CheatEntry>
                  <ID>13</ID>
                  <Description>"_maxDamage"</Description>
                  <VariableType>4 Bytes</VariableType>
                  <Address>[ply_base]+44</Address>
                </CheatEntry>
              </CheatEntries>
            </CheatEntry>
            <CheatEntry>
              <ID>14</ID>
              <Description>"_defense"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+48</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>15</ID>
              <Description>"isStationary"</Description>
              <VariableType>Byte</VariableType>
              <Address>[ply_base]+4C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>4</ID>
              <Description>"typeMask"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+20</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>5</ID>
              <Description>"baseTypeMask"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>[ply_base]+24</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
