Skip to content

Instantly share code, notes, and snippets.

@elModo7
Created May 14, 2024 21:11
Show Gist options
  • Select an option

  • Save elModo7/db1a645081d87304f61850f7bb2ae768 to your computer and use it in GitHub Desktop.

Select an option

Save elModo7/db1a645081d87304f61850f7bb2ae768 to your computer and use it in GitHub Desktop.
Resident Evil 1996 Classic REbirth DoorSkip (elModo7 2024) v0.1
WinWaitActive,ahk_exe Biohazard.exe
WinGet,hWnd,ID,ahk_exe Biohazard.exe
winget,pid,PID,ahk_exe Biohazard.exe
dir:=DllCall(A_PtrSize=4?"GetWindowLong":"GetWindowLongPtr","Ptr",hWnd,"Int",-6,A_Is64bitOS?"Int64":"UInt")+7575072
Loop{
DllCall("WriteProcessMemory","UInt",pHndl:=DllCall("OpenProcess","int",2035711,"char",0,"UInt",PID,"UInt"),"UInt",dir,"Uint*",0,"Uint",1,"Uint*",0)&&DllCall("CloseHandle","int",pHndl)
Sleep,16
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment