Skip to content

Conversation

@rnetiks
Copy link
Contributor

@rnetiks rnetiks commented Sep 29, 2025

Introduced PatchInspector to analyze and manage method patches using Harmony. Includes features for viewing intermediate language (IL) code, searching patches by method/namespace/class, and toggling patch states dynamically.

Introduced `PatchInspector` to analyze and manage method patches using Harmony. Includes features for viewing intermediate language (IL) code, searching patches by method/namespace/class, and toggling patch states dynamically. Implemented supporting classes like `ILViewerWindow`, `PatchInfo`, and `PatchMethodInfo` for efficient patch management.
Copy link
Owner

@ManlyMarco ManlyMarco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionality appears to work well, good work.

Could use a couple of xmldocs wherever useful.

It would be nice if it was more tied into other features like jumping to member in dnspy or adding "check for patches" to context menu in inspector, but that can be done later no need to complicate this PR more.

}
else
{
ilViewerWindows.Remove(window.Key);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This throws in the foreach because collection is modified.

- Disabled auto opening
- Added toggle in main list to switch patch state
- Moved IL to seperate class
- All windows are now draggable and resizable
- Proper scaling
- Fixed Typos & Logging
- Fix collection modify error
@rnetiks rnetiks requested a review from ManlyMarco September 29, 2025 16:16
Copy link
Owner

@ManlyMarco ManlyMarco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌👀👌👀👌👀 That's some 👌👀👌👀 good stuff 👌👀👌👀

@ManlyMarco ManlyMarco merged commit 005422c into ManlyMarco:master Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants