<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="47">
  <CheatEntries>
    <CheatEntry>
      <ID>3</ID>
      <Description>"add gold insead of spending it"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(gold,IkoneiIsland-Win64-Shipping.exe,2B C2 F7 DA 89 54 24 28) // should be unique
alloc(newmem,$100,gold)

label(code)
label(return)

newmem:
  add eax,edx
code:
  // sub eax,edx
  neg edx
  mov [rsp+28],edx
  jmp return

gold:
  jmp newmem
  nop 3
return:
registersymbol(gold)

[DISABLE]

gold:
  db 2B C2 F7 DA 89 54 24 28

unregistersymbol(gold)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+38

IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+17: 41 3B D0        - cmp edx,r8d
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+1A: 7E 14           - jle IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+30
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+1C: 32 C0           - xor al,al
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+1E: 48 8B 4C 24 30  - mov rcx,[rsp+30]
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+23: 48 33 CC        - xor rcx,rsp
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+26: E8 F5 3C BD 02  - call IkoneiIsland-Win64-Shipping.__security_check_cookie
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+2B: 48 83 C4 48     - add rsp,48
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+2F: C3              - ret 
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+30: 41 8B C0        - mov eax,r8d
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+33: 44 89 44 24 20  - mov [rsp+20],r8d
// ---------- INJECTING HERE ----------
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+38: 2B C2           - sub eax,edx
// ---------- DONE INJECTING  ----------
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+3A: F7 DA           - neg edx
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+3C: 89 54 24 28     - mov [rsp+28],edx
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+40: 48 8D 54 24 20  - lea rdx,[rsp+20]
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+45: 89 41 28        - mov [rcx+28],eax
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+48: 89 44 24 24     - mov [rsp+24],eax
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+4C: E8 7F CF 44 FF  - call IkoneiIsland-Win64-Shipping.TMulticastScriptDelegate&lt;FWeakObjectPtr&gt;::ProcessMulticastDelegate&lt;UObject&gt;
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+51: B0 01           - mov al,01
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+53: 48 8B 4C 24 30  - mov rcx,[rsp+30]
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+58: 48 33 CC        - xor rcx,rsp
IkoneiIsland-Win64-Shipping.FInventory::RemoveDaler+5B: E8 C0 3C BD 02  - call IkoneiIsland-Win64-Shipping.__security_check_cookie
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>9</ID>
      <Description>"Set amount of stackable Items to 95 when looting it"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(mats,IkoneiIsland-Win64-Shipping.exe,8D 04 3E 89 43 08 EB) // should be unique
alloc(newmem,$100,mats)

label(code)
label(return)

newmem:
  mov eax,#95
code:
  // lea eax,[rsi+rdi]
  mov [rbx+08],eax
  jmp return

mats:
  jmp newmem
  nop
return:
registersymbol(mats)

[DISABLE]

mats:
  db 8D 04 3E 89 43 08

unregistersymbol(mats)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "IkoneiIsland-Win64-Shipping.exe"+13CD2F8

"IkoneiIsland-Win64-Shipping.exe"+13CD2DD: 48 39 73 10        - cmp [rbx+10],rsi
"IkoneiIsland-Win64-Shipping.exe"+13CD2E1: 75 4E              - jne "IkoneiIsland-Win64-Shipping.exe"+13CD331
"IkoneiIsland-Win64-Shipping.exe"+13CD2E3: 48 8B 03           - mov rax,[rbx]
"IkoneiIsland-Win64-Shipping.exe"+13CD2E6: 48 8B D5           - mov rdx,rbp
"IkoneiIsland-Win64-Shipping.exe"+13CD2E9: 8B 73 08           - mov esi,[rbx+08]
"IkoneiIsland-Win64-Shipping.exe"+13CD2EC: 48 8B CB           - mov rcx,rbx
"IkoneiIsland-Win64-Shipping.exe"+13CD2EF: FF 50 08           - call qword ptr [rax+08]
"IkoneiIsland-Win64-Shipping.exe"+13CD2F2: 2B C6              - sub eax,esi
"IkoneiIsland-Win64-Shipping.exe"+13CD2F4: 3B F8              - cmp edi,eax
"IkoneiIsland-Win64-Shipping.exe"+13CD2F6: 7F 39              - jg "IkoneiIsland-Win64-Shipping.exe"+13CD331
// ---------- INJECTING HERE ----------
"IkoneiIsland-Win64-Shipping.exe"+13CD2F8: 8D 04 3E           - lea eax,[rsi+rdi]
// ---------- DONE INJECTING  ----------
"IkoneiIsland-Win64-Shipping.exe"+13CD2FB: 89 43 08           - mov [rbx+08],eax
"IkoneiIsland-Win64-Shipping.exe"+13CD2FE: EB 1F              - jmp "IkoneiIsland-Win64-Shipping.exe"+13CD31F
"IkoneiIsland-Win64-Shipping.exe"+13CD300: 3B BE B8 01 00 00  - cmp edi,[rsi+000001B8]
"IkoneiIsland-Win64-Shipping.exe"+13CD306: 7F 29              - jg "IkoneiIsland-Win64-Shipping.exe"+13CD331
"IkoneiIsland-Win64-Shipping.exe"+13CD308: 48 8B D6           - mov rdx,rsi
"IkoneiIsland-Win64-Shipping.exe"+13CD30B: 89 7B 08           - mov [rbx+08],edi
"IkoneiIsland-Win64-Shipping.exe"+13CD30E: 48 8B CB           - mov rcx,rbx
"IkoneiIsland-Win64-Shipping.exe"+13CD311: E8 5A F6 FF FF     - call IkoneiIsland-Win64-Shipping.FBaseItemQuantity::SetItem
"IkoneiIsland-Win64-Shipping.exe"+13CD316: 48 8D 4B 68        - lea rcx,[rbx+68]
"IkoneiIsland-Win64-Shipping.exe"+13CD31A: E8 01 2A 45 FF     - call "IkoneiIsland-Win64"-Shipping.TMulticastDelegate&lt;void __cdecl(void),FDefaultDelegateUserPolicy&gt;::Broadcast
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>23</ID>
      <Description>"Life"</Description>
      <VariableType>Float</VariableType>
      <Address>"IkoneiIsland-Win64-Shipping.exe"+0598A210</Address>
      <Offsets>
        <Offset>100</Offset>
        <Offset>3E0</Offset>
        <Offset>7C8</Offset>
        <Offset>30</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
