Skip to content

rework LegacyHook IsLegacyMMCaller#1135

Open
wuke32767 wants to merge 1 commit into
EverestAPI:devfrom
wuke32767:legacy-mm
Open

rework LegacyHook IsLegacyMMCaller#1135
wuke32767 wants to merge 1 commit into
EverestAPI:devfrom
wuke32767:legacy-mm

Conversation

@wuke32767

Copy link
Copy Markdown
Contributor

relying on the stacktrace is not efficient and not safe.

jit may do tail call optimization, which can remove methods it should check from the stacktrace.


this branch doesn't check StackTrace, instead it simply checks hookDelegate a hook uses.

downside:

will someone use some hook helper from other mods?

@maddie480-bot maddie480-bot added the 1: review needed This PR needs 2 approvals to be merged (bot-managed) label Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1: review needed This PR needs 2 approvals to be merged (bot-managed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants