Skip to content

Some quick fixes and refactors - #154

Merged
Axertin merged 7 commits into
masterfrom
fix/review-quick-wins
Aug 1, 2026
Merged

Some quick fixes and refactors#154
Axertin merged 7 commits into
masterfrom
fix/review-quick-wins

Conversation

@Axertin

@Axertin Axertin commented Aug 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

Axertin added 7 commits August 1, 2026 12:28
Both engines activated the replacement before storing its trampoline, so a
thread entering the detour in that window called through a null pointer.

Fixes #151
The resend gate keys on is_connected(), so setting it first let a game tick
flush the previous seed's checked set to the newly connected server.
The mod is dlopened into the game's process, so its 5100 exported symbols were
interposition surface against the host and any other mod; now only MinaMod_Init
is exported.
Its only caller was an unreachable fallback for a null overlay UI, so ~9k lines
of demo code were compiled into both binaries for nothing.
The comment claimed an exact-commit pin while the tag tracks main, which reads
as a bug to fix rather than the deliberate choice it is.
on_game_update and on_update_queue were never overridden, so Game::Update and
ycUpdateQueue::Update carried live detours whose only effect was an empty call.
rva() and find_symbol() had no callers, and install_listener was a pure virtual
that forced both engines to carry a stub that only logged and failed.
@Axertin
Axertin merged commit a978d5b into master Aug 1, 2026
4 checks passed
@Axertin
Axertin deleted the fix/review-quick-wins branch August 1, 2026 18:00
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.

1 participant