Skip to content

Add PAL C for 6 functions; 20 catalogue rows that end on a branch - #90

Merged
Veradictus merged 8 commits into
OpenRAC:mainfrom
chistianh:pal-oficial-12
Nov 4, 2026
Merged

Veradictus merged 8 commits into
OpenRAC:mainfrom
chistianh:pal-oficial-12

Conversation

@chistianh

Copy link
Copy Markdown
Contributor

Title: Add PAL C for 6 functions; 20 catalogue rows that end on a branch

6 PAL-only functions, one commit each, chosen as in #33–#55 (fingerprint in no row of config/us/functions.tsv, no match or near row places them).

PAL Where Size
func_L05_004F0B20 src/pal/overlays/shared/ 276
func_L01_004E6AD8 src/pal/overlays/l01_dreadzone_station/ 280
func_L11_00493CF8 src/pal/overlays/l11_tempus_station/ 288
func_L05_004F59C8 src/pal/overlays/l05_dark_cathedral/ 320
func_L13_004BEF98 src/pal/overlays/l13_maraxus_prison/ 360
func_L00_00718D58 src/pal/overlays/l00_multiplayer_menu/ 380

Checks: every file of src/pal/ MATCHES with tools/check_func.py --version pal, checked with src/pal/ set aside. The branch is based on today's main. config/ and the reports are not regenerated.

Catalogue notes

  1. 20 rows of config/pal/functions.tsv end on a branch or jump with no delay slot: the last word of the row is a jr/b/beq…, so its delay slot is left out (4 bytes short). In 15 of the 19 level rows the delay slot is a 4-byte row of its own (for example func_L05_0058FF60 ends on jr $ra at 0x0058FFFC and func_L05_00590000 is 4 bytes); in the other 4 (func_L00_00533A48, func_L00_005596C8, func_L00_00564CE0, func_L00_00564F9C) it is the first word of the next row. These rows cannot match as they are:

    func_0041FED0, func_00510040, func_L00_005320DC, func_L00_00533A48, func_L00_005596C8, func_L00_00564CE0, func_L00_00564F9C, func_L00_00623698, func_L00_0065E8D0, func_L00_006AA108, func_L01_006B95B0, func_L05_00430D08, func_L05_0045FC90, func_L05_0058FF60, func_L06_00460FA8, func_L10_00621FB0, func_L11_005A0038, func_L11_00604F78, func_L13_005E0FA8, func_L41_00623FA8

  2. func_L00_00607188 (192 bytes) has no prologue and branches back to 0x00606EE8: it is the tail of func_L00_00606E20, whose 868 bytes end exactly at 0x00607188.

  3. func_L00_00517B90 registers 22 handler addresses with func_L00_004F7BC8; 18 of them fall inside other rows (for example 0x005178C0, 4 bytes into func_L00_005178BC, and 0x0052E230/38/40/48 inside func_L00_0052E228), like the cut described in Add PAL C for 5 more PAL-only functions; three PAL catalogue cuts #38 and Add PAL C for func_L11_00408DE8; a build note on mfc1 before a branch #48.

🤖 Generated with Claude Code

chistianh and others added 6 commits November 3, 2026 19:01
PAL-only; matches its PAL bytes with tools/check_func.py --version pal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PAL-only; matches its PAL bytes with tools/check_func.py --version pal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PAL-only; matches its PAL bytes with tools/check_func.py --version pal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PAL-only; matches its PAL bytes with tools/check_func.py --version pal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PAL-only; matches its PAL bytes with tools/check_func.py --version pal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PAL-only; matches its PAL bytes with tools/check_func.py --version pal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rebuilt on current main; config/us and config/pal map.tsv gain the six PAL rows, PAL report and README tables rebuilt with tools/progress.py.
@bytematchdev

bytematchdev Bot commented Nov 4, 2026

Copy link
Copy Markdown

ByteMatch progress report

SCUS_974.65

Code matched 7.17% · 414.34 KB of 5.78 MB
Fuzzy match 7.73%
Functions 5,435 / 18,085
Units complete 2,839 / 2,899

No function changes.

SCES_532.85

Code matched 8.56% (+0.03%) · 497.62 KB of 5.81 MB
Fuzzy match 9.05% (+0.03%)
Functions 6,032 (+6) / 18,113
Units complete 3,270 / 3,329
✅ Newly matched (6)
  • func_L00_00718D58 (380 bytes)
  • func_L13_004BEF98 (360 bytes)
  • func_L05_004F59C8 (320 bytes)
  • func_L11_00493CF8 (288 bytes)
  • func_L01_004E6AD8 (280 bytes)
  • func_L05_004F0B20 (276 bytes)

Commit dfff073 · Ratchet: Deadlocked on ByteMatch

@Veradictus
Veradictus merged commit c78d917 into OpenRAC:main Nov 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants