Fix IL2CPP offsets label: Unity 2021.x → 2022.3 (verified)#2
Open
dan-blanchard wants to merge 1 commit intomtgatool:mainfrom
Open
Fix IL2CPP offsets label: Unity 2021.x → 2022.3 (verified)#2dan-blanchard wants to merge 1 commit intomtgatool:mainfrom
dan-blanchard wants to merge 1 commit intomtgatool:mainfrom
Conversation
Renames unity_2021() → unity_2022_3() with deprecated alias. Offsets were verified against MTGA Unity 2022.3.62f2, the label was wrong. No behavior change. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
01a3c8b to
62bb016
Compare
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
Il2CppOffsets::unity_2021()function was labeled as "Unity 2021.x" but the offsets were actually verified against MTGA running Unity 2022.3.62f2 (build7670c08855a9). Both the macOS and Windows Arena clients ship this exact Unity version (confirmed by extracting the version string fromUnityPlayer.dll/.dylib).This renames
unity_2021()→unity_2022_3()with a deprecated alias for backward compatibility, and updates the doc comments with the full verification history. No behavior change, just corrects the label so future developers aren't confused about which Unity version these offsets apply to.Changes
src/il2cpp/offsets.rs: Renamedunity_2021()→unity_2022_3(), added#[deprecated]alias, updatedDefault,for_versiondispatch,version_namestringsrc/bin/http_server_il2cpp.rs: Updatedget_offsets()callerTesting
cargo check --libandcargo check --binsboth pass with zero errorsunity_2021()directly🤖 Generated with Claude Code