<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="46">
  <CheatEntries>
    <CheatEntry>
      <ID>7</ID>
      <Description>"LEGO Batman 2: DC Super Heroes"</Description>
      <Options moHideChildren="1" moActivateChildrenAsWell="1" moDeactivateChildrenAsWell="1"/>
      <Color>C08000</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(One,LEGOBatman2.exe,8B A8 48 A9 00 00)

alloc(newmem,$1000)
alloc(Two,4)

registersymbol(One)
registersymbol(Two)

label(code)
label(return)

Two:
  dd 0

newmem:

code:
  mov dword ptr [Two],eax
  mov ebp,[eax+0000A948]
  jmp return

One:
  jmp newmem
  nop

return:

[DISABLE]

One:
  db 8B A8 48 A9 00 00

unregistersymbol(One)
unregistersymbol(Two)

dealloc(newmem)
dealloc(Two)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>1</ID>
          <Description>"==== Player 1 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>0</ID>
              <Description>"Studs"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <Color>C08000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>LEGOBatman2.exe+F97098</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>6</ID>
              <Description>"Total Studs"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <ShowAsSigned>0</ShowAsSigned>
              <Color>C08000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>[Two]+A948</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>2104</ID>
              <Description>"⬆Once you exceed the 4-byte maximum, the value will only show the amount added beyond that limit."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>2</ID>
          <Description>"==== Player 2 ===="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>4</ID>
              <Description>"Studs"</Description>
              <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">??:Waiting
</DropDownList>
              <Color>C08000</Color>
              <VariableType>4 Bytes</VariableType>
              <Address>LEGOBatman2.exe+F970B0</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>3</ID>
          <Description>"==== Extras ====="</Description>
          <Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
          <Color>C080FF</Color>
          <GroupHeader>1</GroupHeader>
          <CheatEntries>
            <CheatEntry>
              <ID>2102</ID>
              <Description>"These are the built-in extras and are only needed until you unlock them in-game."</Description>
              <Color>C0C0C0</Color>
              <GroupHeader>1</GroupHeader>
            </CheatEntry>
            <CheatEntry>
              <ID>24</ID>
              <Description>"Attract Studs"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if attractStuds == nil then
  local addr = getAddress("LEGOBatman2.exe+C201DE")
  attractStuds = createTimer()
  attractStuds.Interval = 1000
  attractStuds.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if attractStuds then
  writeBytes("LEGOBatman2.exe+C201DE",0)
  attractStuds.destroy()
  attractStuds = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>21</ID>
              <Description>"Beep Beep"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if beepBeep == nil then
  local addr = getAddress("LEGOBatman2.exe+C201AE")
  beepBeep = createTimer()
  beepBeep.Interval = 1000
  beepBeep.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if beepBeep then
  writeBytes("LEGOBatman2.exe+C201AE",0)
  beepBeep.destroy()
  beepBeep = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>23</ID>
              <Description>"Character Studs"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if characterStuds == nil then
  local addr = getAddress("LEGOBatman2.exe+C201C6")
  characterStuds = createTimer()
  characterStuds.Interval = 1000
  characterStuds.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if characterStuds then
  writeBytes("LEGOBatman2.exe+C201C6",0)
  characterStuds.destroy()
  characterStuds = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>14</ID>
              <Description>"Disguises"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if disguises == nil then
  local addr = getAddress("LEGOBatman2.exe+C20166")
  disguises = createTimer()
  disguises.Interval = 1000
  disguises.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if disguises then
  writeBytes("LEGOBatman2.exe+C20166",0)
  disguises.destroy()
  disguises = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2082</ID>
              <Description>"Extra Hearts"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if extraHearts == nil then
  local addr = getAddress("LEGOBatman2.exe+C20316")
  extraHearts = createTimer()
  extraHearts.Interval = 1000
  extraHearts.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if extraHearts then
  writeBytes("LEGOBatman2.exe+C20316",0)
  extraHearts.destroy()
  extraHearts = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>18</ID>
              <Description>"Extra Toggle"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if extraToggle == nil then
  local addr = getAddress("LEGOBatman2.exe+C20196")
  extraToggle = createTimer()
  extraToggle.Interval = 1000
  extraToggle.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if extraToggle then
  writeBytes("LEGOBatman2.exe+C20196",0)
  extraToggle.destroy()
  extraToggle = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2097</ID>
              <Description>"Fall Rescue"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if fallRescue == nil then
  local addr = getAddress("LEGOBatman2.exe+C20286")
  fallRescue = createTimer()
  fallRescue.Interval = 1000
  fallRescue.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if fallRescue then
  writeBytes("LEGOBatman2.exe+C20286",0)
  fallRescue.destroy()
  fallRescue = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>8</ID>
              <Description>"Friend Grab"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if friendGrab == nil then
  local addr = getAddress("LEGOBatman2.exe+C2014E")
  friendGrab = createTimer()
  friendGrab.Interval = 1000
  friendGrab.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if friendGrab then
  writeBytes("LEGOBatman2.exe+C2014E",0)
  friendGrab.destroy()
  friendGrab = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2101</ID>
              <Description>"Gold Brick Finder"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if goldFinder == nil then
  local addr = getAddress("LEGOBatman2.exe+C202E6")
  goldFinder = createTimer()
  goldFinder.Interval = 1000
  goldFinder.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if goldFinder then
  writeBytes("LEGOBatman2.exe+C202E6",0)
  goldFinder.destroy()
  goldFinder = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2087</ID>
              <Description>"Invincibility"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if invincibility == nil then
  local addr = getAddress("LEGOBatman2.exe+C2032E")
  invincibility = createTimer()
  invincibility.Interval = 1000
  invincibility.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if invincibility then
  writeBytes("LEGOBatman2.exe+C2032E",0)
  invincibility.destroy()
  invincibility = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2098</ID>
              <Description>"Minikit Piece Finder"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if minikitFinder == nil then
  local addr = getAddress("LEGOBatman2.exe+C2029E")
  minikitFinder = createTimer()
  minikitFinder.Interval = 1000
  minikitFinder.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if minikitFinder then
  writeBytes("LEGOBatman2.exe+C2029E",0)
  minikitFinder.destroy()
  minikitFinder = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2099</ID>
              <Description>"Peril Finder"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if perilFinder == nil then
  local addr = getAddress("LEGOBatman2.exe+C202B6")
  perilFinder = createTimer()
  perilFinder.Interval = 1000
  perilFinder.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if perilFinder then
  writeBytes("LEGOBatman2.exe+C202B6",0)
  perilFinder.destroy()
  perilFinder = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2100</ID>
              <Description>"Red Brick Finder"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if redFinder == nil then
  local addr = getAddress("LEGOBatman2.exe+C202CE")
  redFinder = createTimer()
  redFinder.Interval = 1000
  redFinder.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if redFinder then
  writeBytes("LEGOBatman2.exe+C202CE",0)
  redFinder.destroy()
  redFinder = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2090</ID>
              <Description>"Regenerate Hearts"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if regenerateHearts == nil then
  local addr = getAddress("LEGOBatman2.exe+C202FE")
  regenerateHearts = createTimer()
  regenerateHearts.Interval = 1000
  regenerateHearts.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if regenerateHearts then
  writeBytes("LEGOBatman2.exe+C202FE",0)
  regenerateHearts.destroy()
  regenerateHearts = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2091</ID>
              <Description>"Score x2"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if score2 == nil then
  local addr = getAddress("LEGOBatman2.exe+C201F6")
  score2 = createTimer()
  score2.Interval = 1000
  score2.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if score2 then
  writeBytes("LEGOBatman2.exe+C201F6",0)
  score2.destroy()
  score2 = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2092</ID>
              <Description>"Score x4"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if score4 == nil then
  local addr = getAddress("LEGOBatman2.exe+C2020E")
  score4 = createTimer()
  score4.Interval = 1000
  score4.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if score4 then
  writeBytes("LEGOBatman2.exe+C2020E",0)
  score4.destroy()
  score4 = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2093</ID>
              <Description>"Score x6"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if score6 == nil then
  local addr = getAddress("LEGOBatman2.exe+C20226")
  score6 = createTimer()
  score6.Interval = 1000
  score6.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if score6 then
  writeBytes("LEGOBatman2.exe+C20226",0)
  score6.destroy()
  score6 = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2094</ID>
              <Description>"Score x8"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if score8 == nil then
  local addr = getAddress("LEGOBatman2.exe+C2023E")
  score8 = createTimer()
  score8.Interval = 1000
  score8.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if score8 then
  writeBytes("LEGOBatman2.exe+C2023E",0)
  score8.destroy()
  score8 = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2095</ID>
              <Description>"Score x10"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if score10 == nil then
  local addr = getAddress("LEGOBatman2.exe+C20256")
  score10 = createTimer()
  score10.Interval = 1000
  score10.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if score10 then
  writeBytes("LEGOBatman2.exe+C20256",0)
  score10.destroy()
  score10 = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>2096</ID>
              <Description>"Super Build"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if superBuild == nil then
  local addr = getAddress("LEGOBatman2.exe+C2026E")
  superBuild = createTimer()
  superBuild.Interval = 1000
  superBuild.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if superBuild then
  writeBytes("LEGOBatman2.exe+C2026E",0)
  superBuild.destroy()
  superBuild = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
            <CheatEntry>
              <ID>17</ID>
              <Description>"Vine Grapples"</Description>
              <Color>C08000</Color>
              <VariableType>Auto Assembler Script</VariableType>
              <AssemblerScript>[ENABLE]

{$lua}
  if vineGrapples == nil then
  local addr = getAddress("LEGOBatman2.exe+C2017E")
  vineGrapples = createTimer()
  vineGrapples.Interval = 1000
  vineGrapples.OnTimer = function() writeBytes(addr,1) end
  end
{$asm}

[DISABLE]

{$lua}
  if vineGrapples then
  writeBytes("LEGOBatman2.exe+C2017E",0)
  vineGrapples.destroy()
  vineGrapples = nil
  end
{$asm}
</AssemblerScript>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <Comments>Created by: Outrun
https://opencheattables.com</Comments>
</CheatTable>
