<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="42">
  <CheatEntries>
    <CheatEntry>
      <ID>81</ID>
      <Description>"Currency Finder"</Description>
      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscan(CurrencyPtr,4F 28 8B 49 08 8B D1 39 12 DD 41 38 DD 5D F0) // should be unique
alloc(newmem,$100)
label(Currency)
label(code)
label(return)
registersymbol(CurrencyPtr)
registersymbol(Currency)

newmem:
  mov [Currency],ecx
code:
  fld qword ptr [ecx+38]
  fstp qword ptr [ebp-10]
  jmp return

Currency:
  dd 0

CurrencyPtr+09:
  jmp newmem
  nop
return:

[DISABLE]
CurrencyPtr+09:
  db DD 41 38 DD 5D F0

unregistersymbol(CurrencyPtr)
unregistersymbol(Currency)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>82</ID>
          <Description>"Gold Amount"</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>Double</VariableType>
          <Address>Currency</Address>
          <Offsets>
            <Offset>38</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>83</ID>
          <Description>"Gems Amount"</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>4 Bytes</VariableType>
          <Address>Currency</Address>
          <Offsets>
            <Offset>40</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>84</ID>
          <Description>"Total Star Points"</Description>
          <DropDownList DescriptionOnly="1">9999:9999
</DropDownList>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>4 Bytes</VariableType>
          <Address>Currency</Address>
          <Offsets>
            <Offset>44</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>100</ID>
      <Description>"Loot Box Finder (Click on ChestBox to populate)"</Description>
      <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscan(LootBox,8B 40 34 83 EC 0C 50 8B) // should be unique
alloc(newmem,$100)
label(ChestPtr)
label(code)
label(return)
registersymbol(LootBox)
registersymbol(ChestPtr)

newmem:
  mov [ChestPtr],eax

code:
  mov eax,[eax+34]
  sub esp,0C
  jmp return

ChestPtr:
  dd 0

LootBox:
  jmp newmem
  nop
return:

[DISABLE]
LootBox:
  db 8B 40 34 83 EC 0C

unregistersymbol(LootBox)
unregistersymbol(ChestPtr)
dealloc(newmem)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>101</ID>
          <Description>"Current Best Chest (Common/Uncommon/Rare)"</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>4 Bytes</VariableType>
          <Address>ChestPtr</Address>
          <Offsets>
            <Offset>34</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
    <CheatEntry>
      <ID>99</ID>
      <Description>"StatBuff (Click on the Guildrian while in Star Point and Click Apply)"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscan(StatBuff,8B 46 08 EB 11) // should be unique
alloc(newmem,$100)
label(code)
label(return)

newmem:
  mov [esi+08],#20	//HP Level
  mov [esi+0C],#210	//HP Point Spent
  mov [esi+10],#20	//ATK Level
  mov [esi+14],#210	//ATK Point Spent
  mov [esi+18],#20	//DEF Level
  mov [esi+1C],#210	//DEF Point Spent
  mov [esi+20],#20	//ADV Level
  mov [esi+24],#210	//ADV Point Spent

code:
  mov eax,[esi+08]
  jmp 1D79BC85
  jmp return

StatBuff:
  jmp newmem
return:
registersymbol(StatBuff)

[DISABLE]

StatBuff:
  db 8B 46 08 EB 11

unregistersymbol(StatBuff)
dealloc(newmem)
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
