Page 1 of 1

LEGO City Undercover

Posted: Fri Apr 07, 2017 7:11 am
by RaDeX
Infinite Money Studs and Building Studs:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>10</ID>
      <Description>"1000000 Money Studs"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>// Game   : LEGOLCU_DX11.exe
// Version:
// Date   :
// Author : RaDeX
[ENABLE]
aobscanmodule(aob_StudMoney,LEGOLCU_DX11.exe,48 89 0F 48 8B 05 73 C9 47 01)
registersymbol(aob_StudMoney)
alloc(newmem_StudMoney,1024,LEGOLCU_DX11.exe)
label(return_StudMoney)

newmem_StudMoney:
  cmp rcx, #1000000
  jg @f
  mov rcx, #1000000
@@:
  mov [rdi],rcx
  mov rax,[LEGOLCU_DX11.exe+1C78B80]
  jmp return_StudMoney

aob_StudMoney:
  jmp newmem_StudMoney
  nop
  nop
  nop
  nop
  nop
return_StudMoney:

[DISABLE]
aob_StudMoney:
  db 48 89 0F 48 8B 05 73 C9 47 01

unregistersymbol(aob_StudMoney)
dealloc(newmem_StudMoney)

{
// ORIGINAL CODE - INJECTION POINT: LEGOLCU_DX11.exe+7FC203

"LEGOLCU_DX11.exe"+7FC1DC: 48 3B D1                       -  cmp rdx,rcx
"LEGOLCU_DX11.exe"+7FC1DF: 48 0F 47 D1                    -  cmova rdx,rcx
"LEGOLCU_DX11.exe"+7FC1E3: 48 8B CA                       -  mov rcx,rdx
"LEGOLCU_DX11.exe"+7FC1E6: 40 84 F6                       -  test sil,sil
"LEGOLCU_DX11.exe"+7FC1E9: 74 18                          -  je LEGOLCU_DX11.exe+7FC203
"LEGOLCU_DX11.exe"+7FC1EB: 48 B8 CD CC CC CC CC CC CC CC  -  mov rax,CCCCCCCCCCCCCCCD
"LEGOLCU_DX11.exe"+7FC1F5: 48 F7 E1                       -  mul rcx
"LEGOLCU_DX11.exe"+7FC1F8: 48 C1 EA 03                    -  shr rdx,03
"LEGOLCU_DX11.exe"+7FC1FC: 48 8D 0C 92                    -  lea rcx,[rdx+rdx*4]
"LEGOLCU_DX11.exe"+7FC200: 48 03 C9                       -  add rcx,rcx
// ---------- INJECTING HERE ----------
"LEGOLCU_DX11.exe"+7FC203: 48 89 0F                       -  mov [rdi],rcx
"LEGOLCU_DX11.exe"+7FC206: 48 8B 05 73 C9 47 01           -  mov rax,[LEGOLCU_DX11.exe+1C78B80]
// ---------- DONE INJECTING  ----------
"LEGOLCU_DX11.exe"+7FC20D: 48 05 10 FB 00 00              -  add rax,0000FB10
"LEGOLCU_DX11.exe"+7FC213: 48 3B F8                       -  cmp rdi,rax
"LEGOLCU_DX11.exe"+7FC216: 75 11                          -  jne LEGOLCU_DX11.exe+7FC229
"LEGOLCU_DX11.exe"+7FC218: 48 8D 0D A1 81 47 01           -  lea rcx,[LEGOLCU_DX11.exe+1C743C0]
"LEGOLCU_DX11.exe"+7FC21F: 45 33 C0                       -  xor r8d,r8d
"LEGOLCU_DX11.exe"+7FC222: 33 D2                          -  xor edx,edx
"LEGOLCU_DX11.exe"+7FC224: E8 D7 49 AE FF                 -  call LEGOLCU_DX11.exe+2E0C00
"LEGOLCU_DX11.exe"+7FC229: 48 8B 5C 24 30                 -  mov rbx,[rsp+30]
"LEGOLCU_DX11.exe"+7FC22E: 48 8B 74 24 38                 -  mov rsi,[rsp+38]
"LEGOLCU_DX11.exe"+7FC233: 48 83 C4 20                    -  add rsp,20
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>13</ID>
      <Description>"8000 Building Studs"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>// Game   : LEGOLCU_DX11.exe
// Version:
// Date   :
// Author : RaDeX
[ENABLE]
aobscanmodule(aob_StudBuilding,LEGOLCU_DX11.exe,89 91 14 33 00 00 89)
registersymbol(aob_StudBuilding)
alloc(newmem_StudBuilding,1024,LEGOLCU_DX11.exe)
label(return_StudBuilding)

newmem_StudBuilding:
  cmp edx, #8000
  jge @f
  mov edx, #8000
@@:
  mov [rcx+00003314],edx
  jmp return_StudBuilding

aob_StudBuilding:
  jmp newmem_StudBuilding
  nop
return_StudBuilding:

[DISABLE]
aob_StudBuilding:
  db 89 91 14 33 00 00

unregistersymbol(aob_StudBuilding)
dealloc(newmem_StudBuilding)

{
// ORIGINAL CODE - INJECTION POINT: LEGOLCU_DX11.exe+40C08

"LEGOLCU_DX11.exe"+40BDF: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40BE0: 80 B9 5D 33 00 00 00           -  cmp byte ptr [rcx+0000335D],00
"LEGOLCU_DX11.exe"+40BE7: 75 1F                          -  jne LEGOLCU_DX11.exe+40C08
"LEGOLCU_DX11.exe"+40BE9: 80 B9 5E 33 00 00 00           -  cmp byte ptr [rcx+0000335E],00
"LEGOLCU_DX11.exe"+40BF0: 75 16                          -  jne LEGOLCU_DX11.exe+40C08
"LEGOLCU_DX11.exe"+40BF2: 80 B9 40 33 00 00 00           -  cmp byte ptr [rcx+00003340],00
"LEGOLCU_DX11.exe"+40BF9: 75 0D                          -  jne LEGOLCU_DX11.exe+40C08
"LEGOLCU_DX11.exe"+40BFB: 89 91 18 33 00 00              -  mov [rcx+00003318],edx
"LEGOLCU_DX11.exe"+40C01: 89 15 E5 6A C5 01              -  mov [LEGOLCU_DX11.exe+1C976EC],edx
"LEGOLCU_DX11.exe"+40C07: C3                             -  ret 
// ---------- INJECTING HERE ----------
"LEGOLCU_DX11.exe"+40C08: 89 91 14 33 00 00              -  mov [rcx+00003314],edx
// ---------- DONE INJECTING  ----------
"LEGOLCU_DX11.exe"+40C0E: 89 15 D8 6A C5 01              -  mov [LEGOLCU_DX11.exe+1C976EC],edx
"LEGOLCU_DX11.exe"+40C14: C3                             -  ret 
"LEGOLCU_DX11.exe"+40C15: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40C16: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40C17: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40C18: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40C19: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40C1A: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40C1B: CC                             -  int 3 
"LEGOLCU_DX11.exe"+40C1C: CC                             -  int 3 
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

I'll keep adding more. The game is actually stupidly fun!

Re: LEGO City Undercover

Posted: Fri Apr 07, 2017 8:26 am
by STN
w00t, he can hack?! :shock:

You might want to stop being lazy and post a cheat table though. Most people here don't know how to turn it into a CT and it's faster anyway

Re: LEGO City Undercover

Posted: Fri Apr 07, 2017 8:49 am
by RaDeX
That is one hell of a conundrum... In order to stop being lazy, I have to stop being lazy... Hmm... No deal :P

I'll post a table when I'm finished. Seriously though, its like Lego GTA, game is so much fun hahahah

Re: LEGO City Undercover

Posted: Sat Apr 08, 2017 8:33 pm
by STN
No need, i did it for you :D

Re: LEGO City Undercover

Posted: Thu May 25, 2017 12:49 am
by noga
Features:
  • enumerates through all the red bricks. Allowing them to be enabled/disabled.
Steam 5/9/17 version

Re: LEGO City Undercover

Posted: Thu Mar 29, 2018 9:42 am
by mordaki987
can't get the red bricks table to work. anyway way you might be able to updaate the red bricks table?

Re: LEGO City Undercover

Posted: Sun Dec 30, 2018 10:39 am
by tanchong
is that any infinite car boost or freeze timer codes ? thanks

Re: LEGO City Undercover

Posted: Sun Dec 15, 2019 10:10 am
by dxdy
can this updated for CE 7.0 and Steam version?

Re: LEGO City Undercover

Posted: Sun Jun 05, 2022 2:39 am
by WhiteRau
any wild-ass chance of getting this updated with a freeze timer option? some of those races/events are hair-close in terms of timing.