Skip to content

mrexodia/ClickCatcher

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

ClickCatcher

Example plugin for x64dbg to handle mouse click events.

static DWORD WINAPI SelectionChanged(LPVOID)
{
    SELECTIONDATA sel;
    GuiSelectionGet(GUI_DUMP, &sel);
    _plugin_logprintf("[" PLUGIN_NAME "] WM_LBUTTONDOWN, Dump: %p\n", sel.start);
    return 0;
}

PLUG_EXPORT void CBWINEVENT(CBTYPE cbType, PLUG_CB_WINEVENT* info)
{
    auto msg = info->message;
    if (msg->message == WM_LBUTTONDOWN && info->result)
    {
        //Left mouse button down event, create new thread to not clog up the message loop
        CloseHandle(CreateThread(nullptr, 0, SelectionChanged, nullptr, 0, nullptr));
    }
}

About

Example plugin for x64dbg to handle mouse click events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published