Repository navigation
Conversation
func_L00_006F6E68, func_L00_006B7FE4, func_L01_004AF620, func_L01_004B6EB8, func_L01_005241D8, func_L01_0056FC88, func_L01_005B6C08, func_L01_0068EC48, func_L06_004C7010, func_L41_00411C20 and func_L41_004438E0. func_L00_006CB868 returns a value, so its declarations in L01_004AF1F0.c and L01_006C1388.c now say s32. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cadelass
marked this pull request as draft
December 4, 2026 18:53
func_L00_00519490, func_L00_00538B68, func_L00_005390E0, func_L00_00545EA8, func_L00_005BDF70, func_L00_00711708, func_L00_00766DD0, func_L00_007670A0, func_L00_0076B4E8, func_L00_0076CC40 and func_L00_0076ECA8. Some use the module's Sony EE GCC route (@ee29 -O2 -G0); func_L00_00519490, func_L00_005390E0 and func_L00_00545EA8 also need -fno-strict-aliasing, as 95 merged files do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
func_L00_00513368, func_L00_00541080, func_L00_00708258, func_L00_007094D8, func_L00_00709158, func_L00_0070AB68, func_L00_0076F368, func_L00_00775EE0 and func_L00_0077D000. func_L00_00513368 uses the module's @ee296 -O2 -G0 -falign-jumps=1 route and func_L00_00541080 @ee29, like their neighbours. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
func_L00_004F5018, func_L00_0051CB60, func_L00_00537BB0, func_L00_00552C88, func_L00_0071D120, func_L00_007221C8, func_L00_0073B4E8, func_L00_007650B8, func_L00_007705C0, func_L00_00772210, func_L00_00772348 and func_L00_0076C1F0. func_L00_004F5018, func_L00_0051CB60 and func_L00_00552C88 match at the config/overlay_functions.tsv and map boundaries (160, 212 and 332 bytes); config/us/functions.tsv still has the older merged sizes, from before func_L00_004F50B8 and func_L00_0051CC70 were split off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
func_L00_004F8888, func_L00_004F8A38, func_L00_004F8CD8, func_L00_004F8E50, func_L00_004F9080, func_L00_004FDA60, func_L00_00765A68, func_L00_00776D08 and func_L00_00778580. func_L00_004F8888, func_L00_004F8CD8, func_L00_004F9080 and func_L00_004FDA60 are adapted from rac3-decomp (func_L39_004BCA88, func_L39_004BCED8, func_L39_004BD280 and func_L39_004C1C60), the same code in both games; each file says so on its first lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 43 NTSC-U functions in C (11 shared overlay functions, 32 level 00 multiplayer menu functions), on top of the current
main. Four functions from the earlier local batch (func_L00_0059AA78,func_L05_004EEFE0,func_L41_003BD898,func_L41_0040E680) were matched upstream in the meantime and are left out.34726a9 Match 11 shared overlay functions across L00, L01, L06 and L41
func_L00_006F6E68(-mno-split-addresses),func_L00_006B7FE4func_L01_004AF620(-mno-split-addresses),func_L01_004B6EB8,func_L01_005241D8,func_L01_0056FC88,func_L01_005B6C08,func_L01_0068EC48func_L06_004C7010func_L41_00411C20,func_L41_004438E0func_L00_006CB868returns a value, so itsexterninL01_004AF1F0.candL01_006C1388.cnow sayss32(both functions still exact).d280655 Document the small-table la lever
docs/agents/levers.md: a table of 8 bytes or less (sized array, or a scalar indexed through its address) gives onelamacro, which keeps retail's adjacentlui/addiuafter an indexsll(func_L00_0059AA78).c463f89 Update the NTSC-U map for 11 shared matches
Generated file, last commit only.
tools/match_map.py --writeon this branch adds exactly these 11 rows.9030914 Match 11 level 00 multiplayer menu functions
func_L00_00519490,func_L00_00538B68,func_L00_005390E0,func_L00_00545EA8,func_L00_005BDF70,func_L00_00711708,func_L00_00766DD0,func_L00_007670A0,func_L00_0076B4E8,func_L00_0076CC40,func_L00_0076ECA8. Some use the module's Sony EE GCC route (@ee29 -O2 -G0, like their neighbours);func_L00_00519490,func_L00_005390E0andfunc_L00_00545EA8also need-fno-strict-aliasing(already on 95 merged files).5c9e986 Document the @ee29 route and -fno-strict-aliasing for workers
docs/agents/levers.mdanddocs/agents/queue.md: use the neighbouring files'@ee29line; add-fno-strict-aliasingwhen a candidate is a few bytes short with it.e04ee74 Update the NTSC-U map for 11 level 00 matches
Generated rows only. (The PR has two map commits because the branch was already pushed; happy to squash them on request.)
4efe6f6 Match 9 more level 00 multiplayer menu functions
func_L00_00513368(@ee296 -O2 -G0 -falign-jumps=1, like its neighbours),func_L00_00541080(@ee29),func_L00_00708258,func_L00_007094D8,func_L00_00709158,func_L00_0070AB68,func_L00_0076F368,func_L00_00775EE0,func_L00_0077D000.3f4ec3b Update the NTSC-U map for 9 level 00 matches
Generated rows only.
bcb849f Match 12 more level 00 multiplayer menu functions
func_L00_004F5018,func_L00_0051CB60,func_L00_00537BB0,func_L00_00552C88,func_L00_0071D120,func_L00_007221C8,func_L00_0073B4E8,func_L00_007650B8,func_L00_007705C0,func_L00_00772210,func_L00_00772348,func_L00_0076C1F0.func_L00_004F5018,func_L00_0051CB60andfunc_L00_00552C88match at theconfig/overlay_functions.tsv/ map boundaries (160, 212 and 332 bytes).config/us/functions.tsvstill carries the older merged sizes (308, 312, 348) from beforefunc_L00_004F50B8andfunc_L00_0051CC70were split off and matched, somatch_map.py --update-nativerefuses them;--writeproduces exactly these threematchrows and changes nothing else.be09778 Update the NTSC-U map for 12 level 00 matches
Generated rows only.
Checks
JOBS=8 tools/build.sh: OKtools/audit_matches.py: 7870 exact, 200 not exact. None of the 200 are in this PR; they were already not exact onmain.tools/match_map.py --version us --check: OK (12596 rows)🤖 Generated with Claude Code