Repository navigation
Conversation
func_L01_00604E40, func_L02_005B4FF0, func_L04_005B4B98, func_L05_005DADB8, func_L06_005ACD78, func_L07_0059FD50, func_L10_005C2090, func_L11_005AEE30, func_L15_005D2B50, func_L41_0056C970: the same 1308-byte routine in each level overlay. The C is identical apart from each level's tables and $gp globals (all 0 in every level). func_L07_0059FD50 is the first PAL source of level 07, so it opens src/pal/overlays/l07_valix_lighthouse/ (the US name). The block-local `one` (set to 0, then to 1 just before `id == one`) keeps loop.c from merging the compare constant with the two stores of 1, as retail does; the dead `one = 0` emits no code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ByteMatch progress reportSCES_532.85
✅ Newly matched (16)
SCUS_974.65
No function changes. Commit 84b4525 · Ratchet: Deadlocked on ByteMatch |
Main: func_0044B920 Multiplayer menu (level 00): func_L00_00747DD0, func_L00_00751D98, func_L00_00756998, func_L00_00772330, func_L00_00777D90 func_L00_00756998 and its neighbours build menu pages with one static inline initialiser per item class: inline arguments are evaluated left to right, which gives retail's load / call / load order. func_L00_00747DD0 keeps a float scale in $f20 across a loop with -fno-gcse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JeremyL71
force-pushed
the
pal/jeremyl71-batch3
branch
from
December 5, 2026 17:03
20abbb6 to
84b4525
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.
Matches 16 PAL-only functions, each in a file of its own. Builds on main after #209.
func_L01_00604E40src/pal/overlays/l01_dreadzone_station/L01_00604E40.cfunc_L02_005B4FF0src/pal/overlays/shared/L02_005B4FF0.cfunc_L04_005B4B98src/pal/overlays/l04_sarathos_swamp/L04_005B4B98.cfunc_L05_005DADB8src/pal/overlays/l05_dark_cathedral/L05_005DADB8.cfunc_L06_005ACD78src/pal/overlays/shared/L06_005ACD78.cfunc_L07_0059FD50src/pal/overlays/l07_valix_lighthouse/L07_0059FD50.cfunc_L10_005C2090src/pal/overlays/shared/L10_005C2090.cfunc_L11_005AEE30src/pal/overlays/l11_tempus_station/L11_005AEE30.cfunc_L15_005D2B50src/pal/overlays/l15_control_level/L15_005D2B50.cfunc_L41_0056C970src/pal/overlays/l41_battledome_tower/L41_0056C970.c$gpglobals.func_L07_0059FD50is the first PAL source for level 07, so it openssrc/pal/overlays/l07_valix_lighthouse/, the name the US tree uses.one(set to 0, then to 1 just beforeid == one) keepsloop.cfrom merging the compare constant with the two stores of 1, as retail does. The deadone = 0emits no code.func_0044B920src/pal/game/0044B920.cfunc_L00_00747DD0src/pal/overlays/l00_multiplayer_menu/L00_00747DD0.cfunc_L00_00751D98src/pal/overlays/l00_multiplayer_menu/L00_00751D98.cfunc_L00_00756998src/pal/overlays/l00_multiplayer_menu/L00_00756998.cfunc_L00_00772330src/pal/overlays/l00_multiplayer_menu/L00_00772330.cfunc_L00_00777D90src/pal/overlays/l00_multiplayer_menu/L00_00777D90.cfunc_L00_00756998and its neighbours) use onestatic inlineinitialiser per item class: inline arguments are evaluated left to right, which gives retail's load / call / load order.func_L00_00747DD0uses/* cflags: -fno-gcse */to keep a float scale in$f20across a loop.Checks
match_map.py --update-native(PAL and US): the 16 functions arematchinconfig/pal/map.tsv.audit_pal_relocs.py: 913 relocations in the 16 functions (640 + 273), 0 mismatches, 0 unresolved.progress.py --checkandmatch_map.py --checkpass for US and PAL.inventory.py --version pal --writeleavesconfig/pal/inventory.tsvunchanged.The functions are reserved in my comment on #112.
🤖 Generated with Claude Code