<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="51">
  <CheatEntries>
    <CheatEntry>
      <ID>1</ID>
      <Description>"always 99.999 money"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : Twinkleby.exe
  Version: 
  Date   : 2026-04-02
  Author : Nicki

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(suns,GameAssembly.dll,89 9F 98 00 00 00 48 8B 05) // should be unique
alloc(newmem,$1000,suns)

label(code)
label(return)

newmem:
 mov ebx,#99999
code:
  mov [rdi+00000098],ebx
  jmp return

suns:
  jmp newmem
  nop
return:
registersymbol(suns)

[DISABLE]

suns:
  db 89 9F 98 00 00 00

unregistersymbol(suns)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll+1C8FF9A

GameAssembly.dll+1C8FF7B: 85 DB                 - test ebx,ebx
GameAssembly.dll+1C8FF7D: 78 0F                 - js GameAssembly.dll+1C8FF8E
GameAssembly.dll+1C8FF7F: 81 FB 3F 42 0F 00     - cmp ebx,000F423F
GameAssembly.dll+1C8FF85: 7E 09                 - jle GameAssembly.dll+1C8FF90
GameAssembly.dll+1C8FF87: BB 3F 42 0F 00        - mov ebx,000F423F
GameAssembly.dll+1C8FF8C: EB 02                 - jmp GameAssembly.dll+1C8FF90
GameAssembly.dll+1C8FF8E: 33 DB                 - xor ebx,ebx
GameAssembly.dll+1C8FF90: 8B 97 98 00 00 00     - mov edx,[rdi+00000098]
GameAssembly.dll+1C8FF96: 3B D3                 - cmp edx,ebx
GameAssembly.dll+1C8FF98: 74 2B                 - je GameAssembly.dll+1C8FFC5
// ---------- INJECTING HERE ----------
GameAssembly.dll+1C8FF9A: 89 9F 98 00 00 00     - mov [rdi+00000098],ebx
// ---------- DONE INJECTING  ----------
GameAssembly.dll+1C8FFA0: 48 8B 05 81 5E B8 01  - mov rax,[GameAssembly.dll+3815E28]
GameAssembly.dll+1C8FFA7: 48 8B 88 B8 00 00 00  - mov rcx,[rax+000000B8]
GameAssembly.dll+1C8FFAE: 48 8B 41 08           - mov rax,[rcx+08]
GameAssembly.dll+1C8FFB2: 48 85 C0              - test rax,rax
GameAssembly.dll+1C8FFB5: 74 0E                 - je GameAssembly.dll+1C8FFC5
GameAssembly.dll+1C8FFB7: 4C 8B 48 28           - mov r9,[rax+28]
GameAssembly.dll+1C8FFBB: 44 8B C3              - mov r8d,ebx
GameAssembly.dll+1C8FFBE: 48 8B 48 40           - mov rcx,[rax+40]
GameAssembly.dll+1C8FFC2: FF 50 18              - call qword ptr [rax+18]
GameAssembly.dll+1C8FFC5: 48 8B 5C 24 30        - mov rbx,[rsp+30]
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
