채팅0

    그체 한방컷

    조회수 1011

    var Onehit_Hook : Array[0..1] of DWORD;

    Procedure OnehitHook;

    var Index : Integer;

    begin

    for Index := 0 to 1 do begin

    Onehit_Hook[Index] := DWORD(VirtualAllocEx(hProcess, Nil, $1, MEM_COMMIT, PAGE_EXECUTE_READWRITE));

    end;

    WriteProcessMemory(hProcess, Pointer(Onehit_Hook[0]), @OnehitAsm, $1E, Nativeuint(nil^));

    WPM4Byte(Onehit_Hook[0] + $02, Onehit_Hook[1]);

    JmpHookEx(Onehit_Hook[0] + $1A, Offset_Onehit + $07, 0);

    JmpHookEx(Offset_Onehit, Onehit_Hook[0], 2);

    end;

    Procedure Onehit(Toggle: Boolean);

    Const Value : Array[0..6] of byte = ($0F, $2F, $82, $B0, $04, $00, $00);

    if Toggle then begin

    WPM1Byte(Onehit_Hook[1], 1);

    end else begin

    WriteProcessMemory(hProcess, Pointer(Offset_Onehit), @Value, sizeof(Value), Nativeuint(nil^));

    WPM1Byte(Onehit_Hook[1], 0);

    end;

    Offset_OneHit: DWORD = $014C1F3A;

    OnehitAsm :

    3keU2H2+IXfxc0wR3t3/2zHrCIv7FCej+l5d1pjN3WY3aHyx3xR7vUft2Or3QR596wp5ewgBvy3ZBK3M6uuvdxVU+jFJEb9KOJCKtfcKhE4eyncIgg7qcmdzPSBD61Yj6oj9QNfICU9irHAQ5UtzC8qouIUQabx2nIeAmy8KxiZt5zxrjdxAeiilv5Zhj+cYrljU5SPylCXBvHxb8r/gSA==

    알아서 복호화하고 재밌게 쓰세요 ^ㅜ^

    댓글4

    회원프로필

    Offset_OneHit: DWORD = $014C1F3A; = f3 0f 11 80 34 08 00 00 8b e5

    2021.08.08 07:02
    회원프로필

    OnehitAsm 요거 어딨어?

    2021.08.08 10:53
    회원프로필

    와 개잘됨

    2021.08.08 20:31
    회원프로필

    ㄱㅅ

    2021.08.12 08:40

      게시글 리스트
      제목작성자작성일조회
      공지10-202909
      342914:0919
      342802:03102
      342711-2532
      342611-2526
      342511-2450
      342411-2441
      342311-2436
      342211-2432
      342111-2338
      342011-2334
      341911-2348
      341811-22197
      341711-2271
      341611-21127
      341511-2175
      341411-2081
      341311-2067
      341211-1975
      341111-19147