veelox321 Newbie cheater
Reputation: 0
Joined: 12 Jan 2022 Posts: 11
|
Posted: Sat Oct 07, 2023 10:23 am Post subject: script BSOD? |
|
|
Hi, i am using cheat engine for thief simulator 1 DLC. In some part of the code i manage to change things and made it work a few times, now the code when i try to activate it BSOD my pc two times already and i am trying to figure out why. here is the code and my script
thanks for any help.
Code: | PipeMiniGameController:Update+3e - 6A 01 - push 01
PipeMiniGameController:Update+40 - 50 - push eax
PipeMiniGameController:Update+41 - 39 00 - cmp [eax],eax
PipeMiniGameController:Update+43 - E8 9C000000 - call 17896D14
PipeMiniGameController:Update+48 - 83 C4 10 - add esp,10
PipeMiniGameController:Update+4b - 8B C8 - mov ecx,eax
PipeMiniGameController:Update+4d - 39 09 - cmp [ecx],ecx
PipeMiniGameController:Update+4f - 0FB6 40 21 - movzx eax,byte ptr [eax+21]
PipeMiniGameController:Update+53 - 85 C0 - test eax,eax
PipeMiniGameController:Update+55 - 0F84 7A000000 - je PipeMiniGameController:Update+d5
PipeMiniGameController:Update+5b - 0FB6 87 F0000000 - movzx eax,byte ptr [edi+000000F0]
PipeMiniGameController:Update+62 - 85 C0 - test eax,eax
PipeMiniGameController:Update+64 - 0F85 72000000 - jne PipeMiniGameController:Update+dc
PipeMiniGameController:Update+6a - C6 87 F0000000 01 - mov byte ptr [edi+000000F0],01
PipeMiniGameController:Update+71 - 8B 87 A4000000 - mov eax,[edi+000000A4]
PipeMiniGameController:Update+77 - 83 EC 08 - sub esp,08
PipeMiniGameController:Update+7a - 6A 00 - push 00
PipeMiniGameController:Update+7c - 50 - push eax
PipeMiniGameController:Update+7d - E8 1E7DB2ED - call 053BE9D0
PipeMiniGameController:Update+82 - 83 C4 10 - add esp,10
PipeMiniGameController:Update+85 - 85 C0 - test eax,eax
PipeMiniGameController:Update+87 - 74 1C - je PipeMiniGameController:Update+a5
PipeMiniGameController:Update+89 - 8B 87 A4000000 - mov eax,[edi+000000A4]
PipeMiniGameController:Update+8f - D9E8 - fld1 |
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(INJECT,85 C0 0F 84 7A 00 00 00 0F) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
sub eax,1
code:
//test eax,eax
//je PipeMiniGameController:Update+d5
jmp return
INJECT:
jmp newmem
nop 3
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 85 C0 0F 84 7A 00 00 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: PipeMiniGameController:Update+53
PipeMiniGameController:Update+35: 8B 87 88 00 00 00 - mov eax,[edi+00000088]
PipeMiniGameController:Update+3b: 83 EC 08 - sub esp,08
PipeMiniGameController:Update+3e: 6A 01 - push 01
PipeMiniGameController:Update+40: 50 - push eax
PipeMiniGameController:Update+41: 39 00 - cmp [eax],eax
PipeMiniGameController:Update+43: E8 80 F5 B5 E6 - call System.Collections.Generic.List`1[System.Object]:get_Item
PipeMiniGameController:Update+48: 83 C4 10 - add esp,10
PipeMiniGameController:Update+4b: 8B C8 - mov ecx,eax
PipeMiniGameController:Update+4d: 39 09 - cmp [ecx],ecx
PipeMiniGameController:Update+4f: 0F B6 40 21 - movzx eax,byte ptr [eax+21]
// ---------- INJECTING HERE ----------
PipeMiniGameController:Update+53: 85 C0 - test eax,eax
// ---------- DONE INJECTING ----------
PipeMiniGameController:Update+55: 0F 84 7A 00 00 00 - je PipeMiniGameController:Update+d5
PipeMiniGameController:Update+5b: 0F B6 87 F0 00 00 00 - movzx eax,byte ptr [edi+000000F0]
PipeMiniGameController:Update+62: 85 C0 - test eax,eax
PipeMiniGameController:Update+64: 0F 85 72 00 00 00 - jne PipeMiniGameController:Update+dc
PipeMiniGameController:Update+6a: C6 87 F0 00 00 00 01 - mov byte ptr [edi+000000F0],01
PipeMiniGameController:Update+71: 8B 87 A4 00 00 00 - mov eax,[edi+000000A4]
PipeMiniGameController:Update+77: 83 EC 08 - sub esp,08
PipeMiniGameController:Update+7a: 6A 00 - push 00
PipeMiniGameController:Update+7c: 50 - push eax
PipeMiniGameController:Update+7d: E8 06 20 B6 E6 - call UnityEngine.Object:op_Inequality
} |
[/code]
|
|