-
Notifications
You must be signed in to change notification settings - Fork 109
Toy matches #2147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Toy matches #2147
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
Contributor
Report for GALE01 (9923c37 - d94731d)📈 Matched code: 51.87% (+0.07%, +2680 bytes) ✅ 10 new matches
📈 18 improvements in unmatched items
|
Contributor
Author
|
Running permuter on 99% matches, then doing my own review, then flagging for review, please be patient 😆 |
ribbanya
requested changes
Jan 30, 2026
d0b55a9 to
7071708
Compare
All three functions matched at 100%.
Integrated 5 functions that achieved high sandbox matches but failed automatic integration: - un_80309338 (99.88%) - Vec3 distance calculation - un_803062EC (99.91%) - Debug text display - un_80307018 (99.91%) - Background/fog setup - un_8030813C (99.86%) - Trophy model lookup - un_803078E4 (96.76%) - Light/sprite setup Fixed multiline string issues and prototype mismatches during integration.
- un_803053C4: 97.5% - Trophy_SetUnlockState: 94.9% - un_80305918: 98.7% - un_80306C5C: 91.1% - un_803075E8: 96.3% - un_803078E4: 96.8% - un_80307F64: 98.4% - un_80308354: 68.1% - un_803082F8: 91.2% - un_803102D0: 72.4% - un_803109A0: 87.7% - un_80311788: 81.3% - un_80312050: 91.8% Also add missing header includes for gobjgxlink.h, gobjobject.h, gobjplink.h
- un_80305FB8 (70.8% match) - C-stick Y input - un_80306D70 (82.6% match) - Sound play helper These are best-effort decompilations. The code is functionally equivalent but doesn't match byte-for-byte due to compiler code generation differences.
- un_80306EEC (96.3%) - Light object loading - un_8030715C (92.2%) - Camera/light position update - un_80307BA0 (99.4%) - Trophy JObj setup - un_80310324 (89.2%) - Trophy display initialization Also fix related header prototypes for un_8030FE48, un_803087F4, un_8030FA50.
The asm function definition was causing syntax errors. Call un_803063D4 directly instead of going through the call_text_func wrapper.
- un_8030813C: Change first param back to s16 (restores gm_1601 matches) - un_803063D4: Change to s32 return with s16 first param (restores un_803082F8/un_80308328) These prototype fixes restore cross-file compatibility at the cost of reducing un_803063D4 match from 100% to 90.32%.
- un_8030663C: Add temp variable in else branch for register alloc - un_80307018: Stack padding + variable reorder (applied by agent) - un_80306A48: Temp variables + declaration order changes - un_80311680: Split increment into separate load and add All 4 functions now 100% matched.
- Fix stale match percentages (un_80305FB8, un_80306EEC, un_8030715C, un_80310324) - Remove 100% match comment from un_803082F8 (now matches) - Add missing match comments for un_803063D4, un_80306D70, un_8030813C, un_80310660 - Add FAKE MATCH comment for dead code in un_80306EEC - Remove duplicate forward declaration of un_80306BB8
Address reviewer feedback: - Remove all '// Decompilation of' and '// Unit:' sandbox comments - Move all typedef struct definitions to top of file (after includes) Also cleaned up permuter temp files.
Address reviewer feedback: - Convert do-while with goto next_iter to for loop with continue - Add comment explaining inner loop label pattern (refactoring to inline function breaks the match due to control flow changes) Match maintained at 98.71%.
7071708 to
e9771a6
Compare
ribbanya
approved these changes
Feb 1, 2026
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.
More vacuuming work