slm-patcher icon indicating copy to clipboard operation
slm-patcher copied to clipboard

Doesn't work neither on 1075 nor 1079

Open anton31kah opened this issue 6 years ago • 3 comments

Are you planning to update this or not?

anton31kah avatar Oct 23 '18 13:10 anton31kah

I need to find spare time to update it.

bousqi avatar Oct 29 '18 18:10 bousqi

I think the author of slm might be aware of this repo as some of the changes seem to target exactly the places we patched (movs replaced with ands etc). If that is the case anything we put up publicly will be undone pretty fast. I ended up buying a license ^^;

edit

Might be a coincidence but I just found it odd that it came right after I added the theme patch.

Old:

00007FF63C101512 | 7F 60                    | jg sublime_merge.7FF63C101574                |
00007FF63C101514 | 48 8D 05 25 5E 88 00     | lea rax,qword ptr ds:[7FF63C987340]          | rax:&"license_window", 7FF63C987340:&"license_window"
00007FF63C10151B | 48 89 05 3E 5E 88 00     | mov qword ptr ds:[7FF63C987360],rax          | rax:&"license_window"
00007FF63C101522 | 66 C7 05 3D 5E 88 00 00  | mov word ptr ds:[7FF63C987368],0             | <-- patch this to 1
00007FF63C10152B | C7 05 37 5E 88 00 00 00  | mov dword ptr ds:[7FF63C98736C],0            |
00007FF63C101535 | B8 0F 00 00 00           | mov eax,F                                    |

New:

00007FF79A095CB8 | 7F 5A                    | jg sublime_merge.7FF79A095D14                |
00007FF79A095CBA | 48 8D 05 4F 3D 7D 00     | lea rax,qword ptr ds:[7FF79A869A10]          | 7FF79A869A10:&"license_window"
00007FF79A095CC1 | 48 89 05 68 3D 7D 00     | mov qword ptr ds:[7FF79A869A30],rax          |
00007FF79A095CC8 | 66 83 25 68 3D 7D 00 00  | and word ptr ds:[7FF79A869A38],0             | <-- now using ANDs O__O
00007FF79A095CD0 | 83 25 65 3D 7D 00 00     | and dword ptr ds:[7FF79A869A3C],0            |
00007FF79A095CD7 | 6A 0F                    | push F                                       |

edit

Or maybe I'm just paranoid - compared the same spots in IDA and they decompile to almost exactly the same pseudo-code. They do seem to use less instructions. And the file size has shrunk from ~9.2mb to ~8.4mb. I would bet these are aggressive compiler optimizations set for minimum size.

tostercx avatar Nov 04 '18 13:11 tostercx

where are the executables?

dwellings avatar Jan 20 '19 21:01 dwellings