Skip to content

Match 27 more US near misses and drafts (15 net, 1 game, 3 core, 8 overlay) - #136

Merged
Veradictus merged 1 commit into
OpenRAC:mainfrom
farfeduc:decomp/night-agents
Nov 9, 2026
Merged

Veradictus merged 1 commit into
OpenRAC:mainfrom
farfeduc:decomp/night-agents

Conversation

@farfeduc

@farfeduc farfeduc commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Matches 27 more US functions (15 in net.text, 1 in game, 3 in core, 8 in level overlays): near misses from my earlier batches and m2c drafts, fixed by hand. Same kind of fixes as #135 (field and argument types, callee argument counts, a global reloaded into a local before each use, pointer steps, profiles). Two of them had drafts in nonmatching/; the drafts and their README rows are removed.

No #define aliases, volatile, inline asm or hard-coded addresses.

Functions

func_0012DC00, func_0012DC20, func_0013A148, func_0040A0E8, func_01EA57B8, func_01EA9550, func_01EB3F10, func_01EC98E8, func_01ED68A0, func_01EDB438, func_01EDF6C0, func_01EE5268, func_01EEE4BC, func_01EEFB08, func_01EF0764, func_01EF7DAC, func_01EFA5C8, func_01EFCB48, func_01EFD48C, func_L00_0051C7E0, func_L01_005487C0, func_L01_005E5BC0, func_L01_005F6C60, func_L01_00627218, func_L01_00633070, func_L01_006B4FC0, func_L41_00625C70

Verification

On main at 4a7372f, from an empty build/obj/:

  • full tools/build.sh (7,839 files), build_libgcc.sh, build_libm.sh;
  • tools/audit_matches.py: 5,131 exact (main's 5,104 plus these 27), 167 not exact as on main; tools/audit_relocs.py: 183 mismatches as on main. No line names any of these functions;
  • config/{us,pal}/map.tsv: the rows of these 27 functions are the ones a full match_map --write gives after the build, and nothing else changes; match_map --check passes;
  • progress.py --check for US and PAL: US 7,163 → 7,190 and PAL 7,644 → 7,669.

Independent of #128, #130, #132 and #135 (no file in common).

Reserved in #112.

🤖 Generated with Claude Code

Hand fixes on near misses and m2c drafts: field and argument types,
callee argument counts, global reloads, pointer steps, profiles.
Superseded nonmatching/ drafts and their README rows are removed. The
map rows change only for these functions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bytematchdev

bytematchdev Bot commented Nov 9, 2026

Copy link
Copy Markdown

ByteMatch progress report

SCES_532.85

Code matched 12.59% (+0.03%) · 731.87 KB of 5.81 MB
Fuzzy match 13.02% (+0.03%)
Functions 7,669 (+25) / 18,134
Units complete 4,190 (+18) / 4,248
✅ Newly matched (25)
  • func_01EDF6C0 (140 bytes)
  • func_01EE5268 (128 bytes)
  • func_L00_0051CCE0 (116 bytes)
  • func_01EA9550 (112 bytes)
  • func_01EEFB08 (112 bytes)
  • func_01ED68A0 (104 bytes)
  • func_01EEE4BC (96 bytes)
  • func_L01_006BA588 (92 bytes)
  • func_01EB3F10 (88 bytes)
  • func_01EDB438 (64 bytes)
  • func_0040A0E8 (60 bytes)
  • func_01EA57B8 (60 bytes)
  • func_01EF7DAC (60 bytes)
  • func_01EFA5C8 (60 bytes)
  • func_01EFCB48 (60 bytes)
  • func_01EFD48C (60 bytes)
  • func_01EC98E8 (56 bytes)
  • func_L01_00638058 (56 bytes)
  • func_L41_0062A548 (56 bytes)
  • func_L01_005FB990 (52 bytes)
  • func_01EF0764 (48 bytes)
  • func_L01_005EA778 (32 bytes)
  • func_L01_0054B0F8 (28 bytes)
  • func_0012DC00 (16 bytes)
  • func_0012DC20 (16 bytes)

SCUS_974.65

Code matched 10.24% (+0.03%) · 591.87 KB of 5.78 MB
Fuzzy match 10.71% (+0.03%)
Functions 7,190 (+27) / 18,170
Units complete 3,917 (+19) / 3,976
✅ Newly matched (27)
  • func_01EDF6C0 (140 bytes)
  • func_01EE5268 (128 bytes)
  • func_L00_0051C7E0 (116 bytes)
  • func_01EA9550 (112 bytes)
  • func_01EEFB08 (112 bytes)
  • func_01ED68A0 (104 bytes)
  • func_01EEE4BC (96 bytes)
  • func_L01_006B4FC0 (92 bytes)
  • func_01EB3F10 (88 bytes)
  • func_01EDB438 (64 bytes)
  • func_0040A0E8 (60 bytes)
  • func_01EA57B8 (60 bytes)
  • func_01EF7DAC (60 bytes)
  • func_01EFA5C8 (60 bytes)
  • func_01EFCB48 (60 bytes)
  • func_01EFD48C (60 bytes)
  • func_01EC98E8 (56 bytes)
  • func_L01_00627218 (56 bytes)
  • func_L01_00633070 (56 bytes)
  • func_L41_00625C70 (56 bytes)
  • func_L01_005F6C60 (52 bytes)
  • func_01EF0764 (48 bytes)
  • func_L01_005E5BC0 (32 bytes)
  • func_L01_005487C0 (28 bytes)
  • func_0013A148 (20 bytes)
  • func_0012DC00 (16 bytes)
  • func_0012DC20 (16 bytes)

Commit e842d0e · Ratchet: Deadlocked on ByteMatch

@Veradictus
Veradictus merged commit ba43736 into OpenRAC:main Nov 9, 2026
1 check passed
Veradictus added a commit that referenced this pull request Nov 9, 2026
; generated files regenerated after the merges)
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