<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="46">
  <CheatEntries>
    <CheatEntry>
      <ID>33</ID>
      <Description>"pointer duckstation"</Description>
      <ShowAsSigned>0</ShowAsSigned>
      <VariableType>2 Bytes</VariableType>
      <Address>ram</Address>
      <Offsets>
        <Offset>0</Offset>
      </Offsets>
    </CheatEntry>
    <CheatEntry>
      <ID>36</ID>
      <Description>"level1"</Description>
      <ShowAsSigned>0</ShowAsSigned>
      <VariableType>2 Bytes</VariableType>
      <Address>ram</Address>
      <Offsets>
        <Offset>176736</Offset>
      </Offsets>
    </CheatEntry>
    <CheatEntry>
      <ID>41</ID>
      <Description>"level2"</Description>
      <ShowAsSigned>0</ShowAsSigned>
      <VariableType>2 Bytes</VariableType>
      <Address>ram</Address>
      <Offsets>
        <Offset>181306</Offset>
      </Offsets>
    </CheatEntry>
    <CheatEntry>
      <ID>53</ID>
      <Description>"level3 1875C7947AA"</Description>
      <VariableType>2 Bytes</VariableType>
      <Address>1875C7947AA</Address>
    </CheatEntry>
    <CheatEntry>
      <ID>51</ID>
      <Description>"training 1875C74129A"</Description>
      <VariableType>2 Bytes</VariableType>
      <Address>1875C74129A</Address>
    </CheatEntry>
    <CheatEntry>
      <ID>54</ID>
      <Description>"uzi ammo 1875C7DDFA0"</Description>
      <VariableType>2 Bytes</VariableType>
      <Address>1875C7DDFA0</Address>
    </CheatEntry>
    <CheatEntry>
      <ID>44</ID>
      <Description>"guns in house"</Description>
      <ShowAsSigned>0</ShowAsSigned>
      <VariableType>2 Bytes</VariableType>
      <Address>ram</Address>
      <Offsets>
        <Offset>-62210C</Offset>
      </Offsets>
    </CheatEntry>
    <CheatEntry>
      <ID>45</ID>
      <Description>"guns in house"</Description>
      <ShowAsSigned>0</ShowAsSigned>
      <VariableType>2 Bytes</VariableType>
      <Address>ram</Address>
      <Offsets>
        <Offset>-62210A</Offset>
      </Offsets>
    </CheatEntry>
    <CheatEntry>
      <ID>52</ID>
      <Description>"inf air 1875BFDDF02"</Description>
      <VariableType>2 Bytes</VariableType>
      <Address>1875BFDDF02</Address>
    </CheatEntry>
    <CheatEntry>
      <ID>27</ID>
      <Description>"inf air"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : duckstation-qt-x64-ReleaseLTCG.exe
  Version: 
  Date   : 2026-10-17
  Author : marcello

  This script does blah blah blah
}

[ENABLE]

aobscan(INJECT,1D 80 66 89 34 0B 90 C1 E6 10 89) // should be unique
alloc(newmem,$1000,INJECT)

label(code)
label(return)

newmem:
  mov [rbx+rcx],si
  mov [rbx+rcx],#1800
  nop
  jmp return
code:
  mov [rbx+rcx],si
  nop 
  jmp return

INJECT+02:
  jmp newmem
return:
registersymbol(INJECT)

[DISABLE]

INJECT+02:
  db 66 89 34 0B 90

unregistersymbol(INJECT)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 7FF7A100B93A

7FF7A100B90F: 90                             - nop 
7FF7A100B910: 0F B6 8D DE 00 00 00           - movzx ecx,byte ptr [rbp+000000DE]
7FF7A100B917: 8B 95 E0 00 00 00              - mov edx,[rbp+000000E0]
7FF7A100B91D: 89 54 8D 10                    - mov [rbp+rcx*4+10],edx
7FF7A100B921: C6 85 DE 00 00 00 22           - mov byte ptr [rbp+000000DE],22
7FF7A100B928: B9 02 DF 1D 80                 - mov ecx,801DDF02
7FF7A100B92D: 0F B7 34 0B                    - movzx esi,word ptr [rbx+rcx]
7FF7A100B931: 90                             - nop 
7FF7A100B932: 83 C6 FF                       - add esi,-01
7FF7A100B935: B9 02 DF 1D 80                 - mov ecx,801DDF02
// ---------- INJECTING HERE ----------
7FF7A100B93A: 66 89 34 0B                    - mov [rbx+rcx],si
// ---------- DONE INJECTING  ----------
7FF7A100B93E: 90                             - nop 
7FF7A100B93F: C1 E6 10                       - shl esi,10
7FF7A100B942: 89 75 18                       - mov [rbp+18],esi
7FF7A100B945: C7 45 14 00 00 1E 80           - mov [rbp+14],801E0000
7FF7A100B94C: 85 F6                          - test esi,esi
7FF7A100B94E: 0F 89 28 00 00 00              - jns 7FF7A100B97C
7FF7A100B954: C7 85 C8 00 00 00 B8 3E 03 80  - mov [rbp+000000C8],80033EB8
7FF7A100B95E: C7 45 18 FF FF FF FF           - mov [rbp+18],FFFFFFFF
7FF7A100B965: 8B 4D 04                       - mov ecx,[rbp+04]
7FF7A100B968: 83 C1 0F                       - add ecx,0F
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>22</ID>
      <Description>"Infinite Ammo"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : duckstation-qt-x64-ReleaseLTCG.exe
  Version: 
  Date   : 2026-10-17
  Author : marcello

  This script does blah blah blah
}

[ENABLE]

aobscan(INJECT,90 8B 4D 54 8B 55 18 89 14 0B 90 90) // should be unique
alloc(newmem,$1000,INJECT)

label(code)
label(return)

newmem:
//  mov [rbx+rcx],edx
  nop
  nop
  jmp return
code:
  mov [rbx+rcx],edx
  nop 
  nop 
  jmp return

INJECT+07:
  jmp newmem
return:
registersymbol(INJECT)

[DISABLE]

INJECT+07:
  db 89 14 0B 90 90

unregistersymbol(INJECT)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 7FF7A0FF0AE6

7FF7A0FF0ABE: 8B 4D 04                    - mov ecx,[rbp+04]
7FF7A0FF0AC1: 83 C1 0B                    - add ecx,0B
7FF7A0FF0AC4: 3B 4D 00                    - cmp ecx,[rbp+00]
7FF7A0FF0AC7: 89 4D 04                    - mov [rbp+04],ecx
7FF7A0FF0ACA: 0F 8D 58 F5 EC FF           - jnl 7FF7A0EC0028
7FF7A0FF0AD0: E9 8B F5 EC FF              - jmp 7FF7A0EC0060
7FF7A0FF0AD5: 66 0F 1F 84 00 00 00 00 00  - nop word ptr [rax+rax+00000000]
7FF7A0FF0ADE: 66 90                       - nop 2
7FF7A0FF0AE0: 8B 4D 54                    - mov ecx,[rbp+54]
7FF7A0FF0AE3: 8B 55 18                    - mov edx,[rbp+18]
// ---------- INJECTING HERE ----------
7FF7A0FF0AE6: 89 14 0B                    - mov [rbx+rcx],edx
// ---------- DONE INJECTING  ----------
7FF7A0FF0AE9: 90                          - nop 
7FF7A0FF0AEA: 90                          - nop 
7FF7A0FF0AEB: 0F B6 8D DE 00 00 00        - movzx ecx,byte ptr [rbp+000000DE]
7FF7A0FF0AF2: 8B 95 E0 00 00 00           - mov edx,[rbp+000000E0]
7FF7A0FF0AF8: 89 54 8D 10                 - mov [rbp+rcx*4+10],edx
7FF7A0FF0AFC: C6 85 DE 00 00 00 22        - mov byte ptr [rbp+000000DE],22
7FF7A0FF0B03: 8B 4D 58                    - mov ecx,[rbp+58]
7FF7A0FF0B06: 83 C1 30                    - add ecx,30
7FF7A0FF0B09: 8B 34 0B                    - mov esi,[rbx+rcx]
7FF7A0FF0B0C: 90                          - nop 
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>24</ID>
      <Description>"moonjump"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : duckstation-qt-x64-ReleaseLTCG.exe
  Version: 
  Date   : 2026-10-17
  Author : marcello

  This script does blah blah blah
}

[ENABLE]

aobscan(INJECT,66 89 14 0B 90 8B 7D 18) // should be unique
alloc(newmem,$1000,INJECT)

label(code)
label(return)

newmem:
 // mov [rbx+rcx],dx
  nop
  jmp return
code:
  mov [rbx+rcx],dx
  nop 
  jmp return

INJECT:
  jmp newmem
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db 66 89 14 0B 90

unregistersymbol(INJECT)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 7FF7A0FE5DEC

7FF7A0FE5DC6: 8B 34 0B              - mov esi,[rbx+rcx]
7FF7A0FE5DC9: 90                    - nop 
7FF7A0FE5DCA: 90                    - nop 
7FF7A0FE5DCB: 0F B6 8D DE 00 00 00  - movzx ecx,byte ptr [rbp+000000DE]
7FF7A0FE5DD2: 8B 95 E0 00 00 00     - mov edx,[rbp+000000E0]
7FF7A0FE5DD8: 89 54 8D 10           - mov [rbp+rcx*4+10],edx
7FF7A0FE5DDC: C6 85 DE 00 00 00 22  - mov byte ptr [rbp+000000DE],22
7FF7A0FE5DE3: 8B 4D 54              - mov ecx,[rbp+54]
7FF7A0FE5DE6: 83 C1 20              - add ecx,20
7FF7A0FE5DE9: 8B 55 18              - mov edx,[rbp+18]
// ---------- INJECTING HERE ----------
7FF7A0FE5DEC: 66 89 14 0B           - mov [rbx+rcx],dx
// ---------- DONE INJECTING  ----------
7FF7A0FE5DF0: 90                    - nop 
7FF7A0FE5DF1: 8B 7D 18              - mov edi,[rbp+18]
7FF7A0FE5DF4: C1 E7 10              - shl edi,10
7FF7A0FE5DF7: C1 FF 10              - sar edi,10
7FF7A0FE5DFA: 01 FE                 - add esi,edi
7FF7A0FE5DFC: 8B 4D 54              - mov ecx,[rbp+54]
7FF7A0FE5DFF: 83 C1 34              - add ecx,34
7FF7A0FE5E02: 89 34 0B              - mov [rbx+rcx],esi
7FF7A0FE5E05: 90                    - nop 
7FF7A0FE5E06: 90                    - nop 
}
</AssemblerScript>
      <Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>22533</Key>
          </Keys>
          <ID>0</ID>
        </Hotkey>
      </Hotkeys>
    </CheatEntry>
  </CheatEntries>
  <CheatCodes>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],edx</Description>
      <AddressString>7FF7A0F3BB01</AddressString>
      <Before>
        <Byte>C1</Byte>
        <Byte>24</Byte>
        <Byte>8B</Byte>
        <Byte>55</Byte>
        <Byte>54</Byte>
      </Before>
      <Actual>
        <Byte>89</Byte>
        <Byte>14</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>90</Byte>
        <Byte>90</Byte>
        <Byte>83</Byte>
        <Byte>C7</Byte>
        <Byte>01</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],edx</Description>
      <AddressString>7FF7A0FC687C</AddressString>
      <Before>
        <Byte>C1</Byte>
        <Byte>1C</Byte>
        <Byte>8B</Byte>
        <Byte>55</Byte>
        <Byte>5C</Byte>
      </Before>
      <Actual>
        <Byte>89</Byte>
        <Byte>14</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>90</Byte>
        <Byte>90</Byte>
        <Byte>44</Byte>
        <Byte>8B</Byte>
        <Byte>7D</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rax+7C],si</Description>
      <AddressString>"duckstation-qt-x64-ReleaseLTCG.exe"+5517E4</AddressString>
      <Before>
        <Byte>00</Byte>
        <Byte>00</Byte>
        <Byte>00</Byte>
        <Byte>01</Byte>
        <Byte>F6</Byte>
      </Before>
      <Actual>
        <Byte>66</Byte>
        <Byte>89</Byte>
        <Byte>70</Byte>
        <Byte>7C</Byte>
      </Actual>
      <After>
        <Byte>C6</Byte>
        <Byte>40</Byte>
        <Byte>7E</Byte>
        <Byte>00</Byte>
        <Byte>E9</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov byte ptr [rax+7E],00</Description>
      <AddressString>"duckstation-qt-x64-ReleaseLTCG.exe"+5517E8</AddressString>
      <Before>
        <Byte>F6</Byte>
        <Byte>66</Byte>
        <Byte>89</Byte>
        <Byte>70</Byte>
        <Byte>7C</Byte>
      </Before>
      <Actual>
        <Byte>C6</Byte>
        <Byte>40</Byte>
        <Byte>7E</Byte>
        <Byte>00</Byte>
      </Actual>
      <After>
        <Byte>E9</Byte>
        <Byte>8A</Byte>
        <Byte>02</Byte>
        <Byte>00</Byte>
        <Byte>00</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],r13w</Description>
      <AddressString>7FF7A0FF08D6</AddressString>
      <Before>
        <Byte>4D</Byte>
        <Byte>54</Byte>
        <Byte>83</Byte>
        <Byte>C1</Byte>
        <Byte>1E</Byte>
      </Before>
      <Actual>
        <Byte>66</Byte>
        <Byte>44</Byte>
        <Byte>89</Byte>
        <Byte>2C</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>8B</Byte>
        <Byte>4D</Byte>
        <Byte>60</Byte>
        <Byte>0F</Byte>
        <Byte>BF</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],r9w</Description>
      <AddressString>7FF7A0FF0A2C</AddressString>
      <Before>
        <Byte>4D</Byte>
        <Byte>54</Byte>
        <Byte>83</Byte>
        <Byte>C1</Byte>
        <Byte>1E</Byte>
      </Before>
      <Actual>
        <Byte>66</Byte>
        <Byte>44</Byte>
        <Byte>89</Byte>
        <Byte>0C</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>8B</Byte>
        <Byte>4D</Byte>
        <Byte>58</Byte>
        <Byte>83</Byte>
        <Byte>C1</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],r12d</Description>
      <AddressString>7FF7A10537DD</AddressString>
      <Before>
        <Byte>4D</Byte>
        <Byte>50</Byte>
        <Byte>83</Byte>
        <Byte>C1</Byte>
        <Byte>44</Byte>
      </Before>
      <Actual>
        <Byte>44</Byte>
        <Byte>89</Byte>
        <Byte>24</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>90</Byte>
        <Byte>8B</Byte>
        <Byte>8D</Byte>
        <Byte>84</Byte>
        <Byte>00</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],r12d</Description>
      <AddressString>7FF7A0FF08CB</AddressString>
      <Before>
        <Byte>4D</Byte>
        <Byte>54</Byte>
        <Byte>83</Byte>
        <Byte>C1</Byte>
        <Byte>44</Byte>
      </Before>
      <Actual>
        <Byte>44</Byte>
        <Byte>89</Byte>
        <Byte>24</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>90</Byte>
        <Byte>8B</Byte>
        <Byte>4D</Byte>
        <Byte>54</Byte>
        <Byte>83</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rax+18],edi</Description>
      <AddressString>atidxx64.dll+92D239</AddressString>
      <Before>
        <Byte>08</Byte>
        <Byte>20</Byte>
        <Byte>00</Byte>
        <Byte>00</Byte>
        <Byte>00</Byte>
      </Before>
      <Actual>
        <Byte>89</Byte>
        <Byte>78</Byte>
        <Byte>18</Byte>
      </Actual>
      <After>
        <Byte>FF</Byte>
        <Byte>83</Byte>
        <Byte>1C</Byte>
        <Byte>02</Byte>
        <Byte>00</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],edx</Description>
      <AddressString>7FF7A0FC679C</AddressString>
      <Before>
        <Byte>C1</Byte>
        <Byte>1C</Byte>
        <Byte>8B</Byte>
        <Byte>55</Byte>
        <Byte>5C</Byte>
      </Before>
      <Actual>
        <Byte>89</Byte>
        <Byte>14</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>90</Byte>
        <Byte>90</Byte>
        <Byte>44</Byte>
        <Byte>8B</Byte>
        <Byte>7D</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],r12d</Description>
      <AddressString>7FF7A0FE661D</AddressString>
      <Before>
        <Byte>4D</Byte>
        <Byte>50</Byte>
        <Byte>83</Byte>
        <Byte>C1</Byte>
        <Byte>44</Byte>
      </Before>
      <Actual>
        <Byte>44</Byte>
        <Byte>89</Byte>
        <Byte>24</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>90</Byte>
        <Byte>8B</Byte>
        <Byte>8D</Byte>
        <Byte>84</Byte>
        <Byte>00</Byte>
      </After>
    </CodeEntry>
    <CodeEntry>
      <Description>Change of mov [rbx+rcx],dx</Description>
      <AddressString>7FF7A0FE5DEC</AddressString>
      <Before>
        <Byte>C1</Byte>
        <Byte>20</Byte>
        <Byte>8B</Byte>
        <Byte>55</Byte>
        <Byte>18</Byte>
      </Before>
      <Actual>
        <Byte>66</Byte>
        <Byte>89</Byte>
        <Byte>14</Byte>
        <Byte>0B</Byte>
      </Actual>
      <After>
        <Byte>90</Byte>
        <Byte>8B</Byte>
        <Byte>7D</Byte>
        <Byte>18</Byte>
        <Byte>C1</Byte>
      </After>
    </CodeEntry>
  </CheatCodes>
  <UserdefinedSymbols/>
</CheatTable>
