Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The SteamUI metadata for build 1794536281 maps both
FillInAppOverviewandBuildCompleteAppOverviewChangeto0x634280. These hooks have incompatible argument types: the date-added hook treats its third argument as aCSteamApp*, whereas the snapshot builder receives an optional callback slot there. Attaching both hooks to the same address can make the date hook interpret an unrelated pointer as an app, and leaves the real per-app overview function unhooked.Resolve the two targets before opening the detour transaction. If they are the same non-null address, skip the
FillInAppOverviewhook, log the conflict, and show an actionable warning. Continue installing the snapshot-builder and frame hooks. Normal distinct targets and missing-target behavior are retained. Uninstall already checks whether a hook was installed.This is deliberately limited to this incompatible pair; duplicate RVAs can legitimately appear under other metadata names, so the generic pattern loader is unchanged.
This guard prevents installing the incorrect date hook; it does not infer or repair a bad RVA. The separate metadata correction is prepared at madoiscool/steam-monitor@pattern...Meth0ds:steam-monitor:codex/fix-steamui-date-added (correct
FillInAppOverview:0x63B0D0for SHA-2562dfb0a5d50dd90667549cc7d413c7bfb0794c9af4ebaf08bf1cf7d938a11ea93).Validation:
Install()body with the hook backend and diagnostics mocked. All five cases passed: conflicting addresses, distinct addresses, missing date hook, missing snapshot hook, and both missing. Checked attached hook names, warning count, and transaction begin/commit.git diff --checkpasses.UNCATEGORIZED (421)collection, sorted byDate Added to Library, now starts with City Transport Simulator 2026 and Transport Fever 3 dated Nov 15, 2026, followed by SimRail and ZED ZONE dated Nov 14, 2026. Those titles previously showed Jan 11, 2017. This validates the separate metadata correction; the new guard was tested with the mocked-backend harness, not an installed rebuilt DLL.