Repository navigation
Match 604 PAL functions across menus and overlays - #200
Conversation
Add the Dreadzone ID-slot pair, overlay state updates, and a copy record adapter. Share the L01 scene data layout with the existing initializer. Co-authored-by: Codex <noreply@openai.com>
ByteMatch progress reportSCES_532.85
✅ Newly matched (624)
|
| Code matched | 18.78% · 1.09 MB of 5.78 MB |
| Fuzzy match | 19.78% |
| Functions | 9,511 / 18,172 |
| Units complete | 5,278 / 5,337 |
No function changes.
Commit a2d2ab5 · Ratchet: Deadlocked on ByteMatch
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Codex <noreply@openai.com>
Initialize the station block once, then run its regular update. Use the mapped object initialization call and a symbolic pointer in the small-data initializer. Verify the 136-byte body, its nine relocation targets, and all six initializers, including the pointer relocation. Retire the draft.
Keep the closer object-table and forwarding drafts. The forwarding draft uses the shared directory and its actual pointer arguments. Replace the invalid word-sized store in the initializer draft with a full quadword clear. The extra zero materialization accounts for the remaining code difference across all 13 copies.
Preserve the command packing for negative inputs and make the two decrements wrap as in the original instructions. The standard PAL check remains at eight differing bytes on all 16 copies, with all 32 relocation targets verified.
Match func_L01_003CFBA8 across its 172-byte placement and verify all three call relocations. Remove its superseded archived draft.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f5bdf80d1e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Reduce the tagged lookup to five differing words, use the actual menu globals and shared child layout, and test the station predicate pointer before reading its state byte.
The PAL call at 0072624C targets 00726440, which maps to func_L00_007223F0. The identically numbered US C symbol maps to the unrelated PAL reset at 0072A618.
Type the logger message, define the record address shifts, and provide a defined zero-seed station effect candidate while documenting the unresolved original W input.
Bind the call sites in func_004B31D8, func_004D3F70 and func_004EBDD8 to the C routines mapped at their PAL targets. Verified the four call operands across main, frontbin and the overlay copies.
Promote func_L00_0071FD20 and func_L08_004D2068 from the near-miss archive. Verify 584 code bytes and all 21 PAL relocations, including 16 independently decoded call targets.
Match the signed clamp and pass the actual text and callback types. Declare the shared byte setter with the full register input and explicitly store its low byte. Its allocated bytes are unchanged.
Preserve the eased upper interval and use the verified control-level lookup data and call bindings. Recheck all three drafts with the stock PAL tools.
Use the shared class representation and the child player pointer, with all four data operands verified. The 152-byte draft retains its compiled instructions and relocations.
Keep the retail float grouping, use the actual PAL hit lookup and mask, and retain the closer level data selector. All three are still reproducible near misses.
Match all 592 instruction bytes and independently verify the nine call targets of func_L00_00546488. Share the encoded data representation with its destructor and preserve both existing compiled bodies.
Keep the closer backward length loop, restore the signed exclusive parser limit, and use the owning translation units for request globals. Use an integer cursor for the descending reset loop.
Use the shared typed menu option arrays. Match the 200-byte routine and independently verify 112 calls and 80 address references across 16 PAL programs. Bind the option group under a separate symbol from the unrelated level global.
Use a signed count temporary and an integer address for the identifier slot. Six instruction bytes still differ and all five relocation targets are verified.
Match the Valix Lighthouse initializer and both menu row command routines. Share the color setup with Dreadzone Station while preserving its object. Verify all 25 relocation targets in the four functions and confirm the three Lighthouse initializers.
Reuse the option table layout and verify both C call bindings and both indexed table addresses. The typed candidate now compiles to the retail length.
Correct null handling and call bindings, verify the ring and flow layouts, and archive the closer profile list. Existing menu flow callers preserve their allocated code and relocations.
Use the actual interpolator and the verified gate argument types and reject path. Confirm all thirteen calls and the Battledome GP reference.
Use indexed dispatch initialization and the verified profile span layout. Record the Battledome ratio path and its GP binding.
Share the menu text item layout with the initializer. Match the 196-byte release routine, its six relocation operands, and both slot initializers. Preserve the three existing functions in the source file.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b871f6ce59
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Use the existing storage symbol and the same slot type for reset, enable and update. Target code and relocation positions stay identical, with the PAL table operands resolving to the canonical binding.
Keep curated PAL rows when regenerating the legacy index. Index ten existing drafts, correct their reproduction commands, and retire the stale archive of an already matched placement.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a2d2ab5347
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| s32 func_L00_0073E8E8(void *unused, s32 value) | ||
| { | ||
| Type1 *state = (Type1 *)D_0021E070; |
There was a problem hiding this comment.
Separate the PAL slot pointer from the resident init flag
In the reconstructed PAL level-00 C, after func_00161A98() runs, this symbol resolves to the s32 initialization flag defined in src/core/00161A98.c, which that routine sets to 1, rather than a live-slot buffer pointer. The first state->f104[i] access consequently reads address 0x105; a host harness linking both routines reproduces the fault. The resident initializer is also PAL-matched, so these uses are not overlay-exclusive. Give the PAL pointer a distinct binding through pal/mask_state.h and migrate its PAL consumers instead of sharing the resident flag.
AGENTS.md reference: AGENTS.md:L70-L72
Useful? React with 👍 / 👎.
| s32 base = D_00222714; | ||
| u32 offset = (u32)id << 8; | ||
| func_0046BDD0((Obj *)(base + offset)); |
There was a problem hiding this comment.
Give the Mining Facility moby pool a distinct PAL binding
When this retirement path runs with linked object ID 1 after descriptor registration, D_00222714 also names the registration guard defined in src/overlays/shared/L00_00635510.c, which becomes 1. That shared helper has a PAL level-08 catalogue copy, so the uses are not overlay-exclusive. Consequently, func_0046BDD0() receives 0x101 instead of a moby pointer; a linked host harness reproduces the address changing solely after registration. Give the pool a level-qualified binding and migrate its existing PAL pool consumers rather than using the registration guard as the pool base.
AGENTS.md reference: AGENTS.md:L70-L72
Useful? React with 👍 / 👎.
This PR adds 604 exact SCES_532.85 functions, totaling 82,504 distinct bytes.
78d46ace— PAL utilities and overlay helpersfunc_L00_004FF498,func_L00_00531840,func_L00_0071EA40func_L01_004B0BD8,func_L01_004B0C80,func_L01_00530C08func_L01_004DBA20,func_L01_005756D8The L01 ID-slot operations share a translation unit. The scene-data routines use a common declaration.
8282a93c— PAL menu and shared overlay helpersfunc_L00_00734A88,func_L00_00739470func_L00_006F48A0,func_L00_007043E8The L00 functions use level-specific data symbols. Menu callbacks and queue callers use consistent declarations. The two shared functions match in all 14 distinct PAL overlays, including each jump-table destination for
func_L00_006F48A0.d21ef190— PAL action history and object state helpersfunc_005224B0,func_L00_006CDC58,func_L00_006CDCC0func_L01_0045D318,func_L01_004ED100func_L41_00446900The action-history routines share one loop and one layout. The resident routine also matches in frontbin. The four shared functions compile to the same bytes at all their overlay placements. The L41 accessor shares a typed, level-qualified global with its existing callers.
97f395eb— PAL menu, effects and object helpersfunc_L00_0070CCA0,func_L00_00756598,func_L00_007691A8,func_L00_00769B90,func_L00_00769D98,func_L00_0077FCD8,func_L00_00780118func_00512528func_L01_004C85B8,func_L05_004C3700,func_L15_004D8758,func_L15_004D8828,func_L15_004D88A8,func_L41_0040E9B8The new L00 switches and L15 effect routines share their respective implementations. The handle-pool functions share one typed layout, and the existing removal routine still matches. The insertion routine matches in main, frontbin and all 14 overlays. The shared state initializer was checked in all five placements.
4bd3b4f9— PAL menu option readers and state dispatchersfunc_L00_00710368,func_L00_00710538,func_L00_00710610,func_L00_00710818,func_L00_00710968,func_L00_00769340,func_L00_007694B8func_00439550,func_00466640,func_00496F68,func_004BA220,func_004BA2A0func_L00_00693180,func_L01_00526630,func_L01_00526688The L00 switch objects follow the physical layout of the jump tables. Shared headers cover the menu records, record table and scene slots. The two scene-slot predicates and the existing readers retain their per-overlay bindings. The resident record reset and menu-context pair were checked in main, frontbin and all 14 overlays.
ecd6537b— PAL menu flow, transitions and shared dispatchfunc_L00_00531B80,func_L00_00710440,func_L00_00769F98,func_L00_00774780func_0040BA40,func_0044FEB0,func_0049E710,func_004B1890,func_004B33E8,func_004B39A0,func_004B50C0,func_004B6028,func_004EE6C0,func_0051C158,func_0054ADA8func_L01_004805B0,func_L01_0056B7C8,func_L02_003F7B10The resident menu sources share layout declarations. The transition dispatch covers nine curves. The menu icon and mode predicate share the same definition, and the previous native readers remain exact.
67401ad9— PAL profile, list and byte helpersfunc_L00_005339D0,func_L00_00533A88,func_L00_005DCE80,func_L00_0070D808,func_L00_0073E8E8,func_L00_00757F58,func_L00_00764EB8,func_L00_0077FC48,func_L00_0077FF40func_00163AD0The L00 list helpers share one node layout. The new profile and roster readers share layouts with the existing routines. The dependent profile translation units still match. The two byte routines match without relocations.
1ae63344— PAL event dispatch and overlay state helpersfunc_L00_004F7EA0,func_L00_004F7FC0,func_L00_004F8128,func_L00_004F84E0,func_L00_004F8528,func_L00_004F8570,func_L00_004F8720,func_L00_004F87B0func_L00_00583A10func_L41_00446748,func_L41_00446A20The event wrappers share one typed callback table and use the retail diagnostic fallback. The shared display routine uses the existing display layout and the correct local scratch context in all 14 placements. The L41 descriptor callers share the position and state declarations.
ac3f6c28— PAL hash table and dispatch helpersfunc_L00_004F8D88,func_L00_004F8EB0,func_L00_004F8F38,func_L00_004F9028,func_L00_004F91D8,func_L00_004F9350func_L00_00548958,func_L00_005489A0func_L05_004F4EB0The hash functions share the bucket, node, and statistics layout. The reallocator now declares and forwards all three arguments and remains exact. The dispatch twins share a typed callback adapter and preserve their terminal jumps. The L05 lookup uses the level-owned table pointer and count.
9ecc3b9a— PAL transfer and string length twinsfunc_L00_0050DF18,func_L00_0050DFA0,func_L00_0050E028,func_L00_0050E230,func_L00_0055AD60,func_L00_0055ADE8func_L00_0050BA20The six wrappers share the transfer and completion logic while retaining both prepare signatures. All 18 call targets match their physical L00 placements. The two byte-length entries use one implementation and match without relocations.
830db8b1— PAL menu setup and profile helpersfunc_L00_0070E400andfunc_L00_00716238func_L00_0077F1B0andfunc_L00_00780C80The setup routines use the verified L00 data symbols. The profile changes preserve the shared structure's offsets and the signed threshold comparison.
cd6fbffa— PAL menu profile and setup helpersfunc_L00_0077FA18,func_L00_00765120, andfunc_L00_00778578The threshold functions share one typed profile view. The setup routines preserve the exact branch and call order, including the PAL core entry at
0015DB90.6e3b1dfc— PAL request scan and profile resetfunc_L00_007420A0andfunc_L00_0071C350The scan shares its small-data definitions with the existing state writer and preserves both retail initialization values. The reset uses the existing profile layout, and its 64 dependent translation units still match.
a07659db— PAL menu colour updatefunc_004B6140The update shares the menu state layout with the existing callers. The instruction comparison and relocation targets were checked in main, frontbin and all 14 overlays. Both shared data aliases agree with the exact adjacent renderer in each program.
e337c688— PAL multiplayer menu request and state callbacksfunc_L00_00712568andfunc_L00_00713028func_L00_0071DD50andfunc_L00_00744270The request formatter passes the optional fifth argument through the PAL calling convention. The dispatch callback preserves the order of the small-data stores in each branch. The dialog predicate uses the same profile and menu state declarations as its callers.
2e8aa51d— PAL menu and station state helpersfunc_L00_0071BC90func_L01_004BE7C0The L00 helper clears the selected slot and preserves the previous value for any missing player. The station helper replaces the previous draft and uses the verified level-owned table and call target.
dc9ef324— PAL request toggles and scaled menu valuefunc_L00_007819A8,func_L00_00781A48func_L00_00782908The two transitions use the same typed packet preparation and dispatch through the verified callback. The scaled value uses two separate PAL literal slots and the mapped L00 callee.
5650ddc5— PAL resident menu setting togglefunc_004B8858The toggle and existing
func_004B6B90share a typed selection lookup. The existing function retains identical object bytes and relocation records. The toggle's code and bindings were verified in main, frontbin, and all 14 overlays against the adjacent formatting routine and catalogue.a03e7f53— PAL resident menu selection and category mappingfunc_004C9DD8,func_004CDC60The selection handler shares typed layouts with
func_004C9250andfunc_004C9EB8. Both existing functions keep identical object bytes and relocations. Both additions were checked against the code and bindings in main, frontbin, and all 14 overlays.8c2cc6dd— PAL multiplayer menu handoff and request submissionsfunc_L00_0075E138func_L00_0076F668,func_L00_0076FB48The handoff uses typed menu-child fields. The two request variants share the packet initialization and state layout, with distinct PAL dispatch and callback targets. All 22 of their relocation checks passed in the level 00 image.
9c63f419— PAL Dreadzone Station object updatesfunc_L01_0050D028,func_L01_00517950One routine updates an object's parameters and dispatches its state. The other visits every class
0x26CAobject, reloading the array limit after each callback. The level 01 audit checked all nine relocations.6cf88e23— PAL resident menu callback and Battledome Tower helpersfunc_004B9A10func_L41_0040E7C0,func_L41_00417EE8,func_L41_0044F798,func_L41_0044F820The resident callback uses the same typed option state as
func_004B8D68. The existing initializer's 444 object bytes and raw relocation records are identical. The callback's instructions and target bindings were checked in main, frontbin and all 14 overlays. The Battledome Tower pair shares its query, and the remaining additions cover packet writing and slot effects.a727a9eb— PAL multiplayer roster aggregationfunc_L00_00780220The roster type now describes the ten slot rows and the qualifying flags. The routine tallies occupied slots and searches the same rows for the selected ID. All four existing users of the roster header keep their object bytes and relocation records.
4b117ce7— PAL Dreadzone Station render and effect callbacksfunc_L01_00504B40,func_L01_00517380The renderer advances its phase, blends colors and draws three quads. Its five small-data words were compiled in retail order with their verified initial values, and all seven GP references were checked directly. The effect callback registers five effects when the selected progress row is enabled.
511a9f62— PAL Battledome Tower slot fadefunc_L41_0040F900The slot fade now uses the four-float array next to the existing four-word timer table in
L41_0040E9B8.c. The compiled arrays match the level image's initial values and relative placement. Both functions pass code and relocation verification after grouping.011cd5b2— PAL Dark Cathedral and Temple of Shaar moby handlersfunc_L05_004AD890,func_L05_004DD110,func_L05_004DD2B8func_L06_00401828The moby class view is shared with the existing level 01 reader. The level 05 mask builder independently verified all 15 initialized words and all six switch targets in the retail image.
a174be63— PAL Torval Ruins timersfunc_L10_004D6E68The timer update queues the object callback through the level 10 BSS head. Its callback declaration is shared with the existing level 05 caller. The existing caller retains its compiled code and relocations.
1950e162— PAL Control Level samples and callback updatefunc_L15_004D9D28,func_L15_005A9188The object update uses the typed callback queue and the level 15 timer. The sample routine interpolates 16-byte records with the retail wrap and clamp.
fe318ea8— PAL menu messages and Catacrom buffersfunc_L00_007496B0,func_L00_0074CF58func_L02_004801D8The menu dispatchers reuse the established identifier list and share the message routine's unsigned sentinel argument. The audit checks all 112 jump-table targets. The Catacrom callback restores two level-owned buffer addresses before running both passes.
92fa9540— PAL multiplayer menu message dispatch pairfunc_L00_00733338func_L00_007496B0now uses the same inline implementation.Each entry retains its own translation unit and retail jump table. Both code bodies and all 112 table entries match.
dfb8aecc— PAL Battledome Tower actor lookup and slot setupfunc_L41_003E0E80,func_L41_003BDFD0The lookup shares the existing pool and object declarations. The slot setup resolves the level-owned record table and preserves the nine indirect calls used to select the record before each store.
4c87ae25— PAL multiplayer menu initializationfunc_L00_0072AC80,func_L00_0072C290,func_L00_0073F9A8,func_L00_00773CB8The handoff shares the child layout with
func_L00_0075E138. The roster registration resolves both callbacks. The menu record copy preserves the aligned final word.65441c4f— PAL menu text and page selectionfunc_L00_00746150,func_L00_00757460Text trimming preserves spaces that follow byte
0x80. Page selection uses the level-owned selector with its retail initial value. The relocation audit checks all eight jump-table targets, the selected slot path, and the callback symbols.53a6ad79— PAL menu runtime and overlay object handlersfunc_L00_00501248,func_L00_00501300,func_L00_00506250,func_L00_00507DA8,func_L00_0050E0C8,func_L00_0050E158,func_L00_00532D80,func_L00_00532FA8func_L02_004D13D8func_L06_004C9E88The two transfer wrappers reuse the existing
transfer_and_finishimplementation. Both validation wrappers retain their direct tail jumps with the documented EE-GCC 2.96 profile. The overlay handlers use the existing object layouts and level-owned globals where appropriate.a3ccfee6— PAL menu sessions, allocation and generator routinesfunc_L00_00504388,func_L00_00507998,func_L00_00507FF0,func_L00_005080C0,func_L00_0050CF78,func_L00_0050CFE0,func_L00_0052FB30The session paths share the session record layout. Allocation shares the documented parser context layout. The generator uses its PAL level seed and the existing 64-bit multiplication routine.
Transform dispatch and integer copy
func_L00_00534458,func_L00_005388D0The dispatcher uses the eight callbacks initialized in PAL level 00. The integer copy preserves the limb count and sign and uses the existing capacity-growth helper.
deef581e— Menu buffers and shared object accessorsfunc_L00_0050C438,func_L00_0050C528,func_L00_00511C50,func_L00_00511D40,func_L00_00519990,func_L00_00529080,func_L00_00533D30func_L00_006ACA40func_L01_003CD288,func_L01_003CD2D8,func_L01_003CD5D0,func_L01_003F9940,func_L01_00492018The menu routines generate and mask bytes, hash a 48-byte buffer, test packed configuration fields, initialize callback state, check byte parity, and dispatch transforms. The shared accessors use the data symbols at their canonical PAL placements.
func_L00_006ACA40uses a different table address in other overlays.31eb5e7d— PAL menu callbacks and verified catalogue boundariesfunc_L00_00500F58,func_L00_00508318,func_L00_0051F150,func_L00_0051F1A0,func_L00_0051F1F0,func_L00_0051F270Five catalogue entries lose four bytes of alignment fill each. The 64-byte wrapper at
00508318ends before the separate 44-byte catalogue entry at00508358. The existing PAL catalogue generator reproduced all seven edited rows from the verified map, and all six compiled functions matched their complete corrected extents.665f1bd7— PAL request wrapperfunc_L00_0050E2B8The wrapper shares the existing prepare, transfer, and finish helper. The corrected catalogue entry covers 140 executable bytes. A separate four-byte linker remnant is recorded at its verified level-00 placement, preserving the catalogue assignments of identical remnants in other levels.
44341724— PAL player table lookupfunc_00511D30(80 bytes)The lookup shares the ten-slot table declaration with two earlier matches. The declaration leaves the backing span open because the retail loop reads the next pointer in the final branch delay slot. All three rebuilt translation units match their canonical PAL bytes and relocation targets.
da436741— PAL Battledome Tower slot effectsfunc_L41_0040E888andfunc_L41_0040EC70(500 bytes)Both functions are grouped with the existing slot initializer and share its effect-slot layout. The level-41 context setter forwards the status in
$v0. Its return type preserves the caller's argument and delay-slot scheduling. All three functions rebuilt from the shared translation unit match their complete canonical instruction bytes and relocation targets.825043c1— Player-linked object state transitionfunc_L01_0044B218— verified at its three PAL placements, including six additional relocation checks for the level-specific table bindings.f3eb3b2a— Archived PAL object callbacksfunc_L00_00527A98func_L02_004C1B00func_L15_004E5100a8539c33— Shared PAL flag counterfunc_L01_004ED090— all twelve overlay copies match the 60-byte compiled function without relocations. The PAL map preserves all twelve boundaries across catalogue regeneration.128bec77— PAL effect callbacksfunc_L02_004C1948func_L08_004CE6C8func_L02_004C1B00.c9503038— Multiplayer page transitionsfunc_L00_00757640,func_L00_00757A90,func_L00_0075A9701800deb2— Dark Cathedral statefunc_L05_004F3DF0,func_L05_004F4D60fcc4b6da— Shared multiplayer menu modefunc_L00_00757460sharesD_00221494withfunc_L00_00757640andfunc_L00_00757A90.3de26406— PAL object cleanupfunc_L00_0051A2C8andfunc_L00_0051AB68(248 bytes).2e2825a4— PAL menu entry pointsfunc_L00_004FE770,func_L00_004FE7A8,func_L00_00518F98,func_L00_00518FD0, andfunc_L00_00519000(196 bytes).40704cef— PAL functions with existing US homonymsfunc_01EED598__palandfunc_01EF587C__pal.func_L00_00519010__palandfunc_L00_0051A350__pal.749e978c— PAL core routines and menu relaysfunc_00159718__palandfunc_00163448__pal.func_L00_005667C8,func_L00_005667F0,func_L00_00566818, andfunc_L00_005668B0.21352a55— PAL menu transfer, time callbacks and byte fillfunc_L00_0050E1F8,func_L00_00521470,func_L00_005214C0,func_L00_00521510,func_L00_00521560, andfunc_L00_00533A48.ac7388c6— PAL record callback boundaryfunc_L00_00508388matches the 28-byte callback. The following tail jump has its own level-00 catalogue entry.667a2938— PAL menu tail-call wrappersfunc_L00_00500AD0andfunc_L00_00502400match the two direct tail jumps, including their delay slots.004F8420.9f2b1e47— PAL event callbacks and record relaysfunc_L00_004F83D8andfunc_L00_004F8420, using the existing table and the matched caller's return signature.func_L00_00508358andfunc_L00_005083A8, with distinct executable extents for the neighboring jump and remnant.a4879b95— PAL record utilitiesfunc_L00_00508378,func_L00_00517D08, andfunc_L00_0051D410__pal(48 bytes).88544b0dandf62e042e— PAL state and record return fixesab1f749a— PAL word-array access and menu transitionsfunc_L00_0052E078andfunc_L00_0052E098, with shared declarations and two independent return slots.func_L00_00759B58andfunc_L00_0076B220, using the existing handoff state, method table and profile field.f978ef54— PAL menu state lifecyclefunc_L00_004FDF60,func_L00_004FDFC8, andfunc_L00_004FE038share the state and buffer layouts.func_L00_004FE0B8andfunc_L00_004FE0C0return zero through two independent dispatch entries.bde1587c— PAL dispatch table helpersfunc_L00_004FDEA8,func_L00_004FDEE0,func_L00_004FDF18, andfunc_L00_004FDF50initialize the dispatch table and expose its size, indexed records, and state value.0492b009— PAL connection and I/O callbacksfunc_L00_00501168,func_L00_005011E0,func_L00_005011E8, andfunc_L00_00501208.func_L00_005212C8uses the same helper as the existing second-handler wrapper. The existing wrapper's object code is unchanged.846f0005— PAL connection setup and dispatch statusfunc_L00_00501048reuses the connection layout and checks the command result. The mapped wrapper now declares and returns that result with unchanged object code.func_L00_004FE230marks the connection and returns success. The catalogue now records its independent dispatch entry.96deb30e— PAL connection dispatchfunc_L00_004FFEB8,func_L00_004FFF60, andfunc_L00_00500060share the connection and method-table layout.12cd844b— PAL backend selection and buffered I/Ofunc_L00_004FB228,func_L00_004FB258, andfunc_L00_004FC290cover allocation dispatch and backend registration.func_L00_005161D8andfunc_L00_00516308recover the operation table and buffered read. The existing buffered write uses the same layout.02488f97— PAL connection backends and time callbacksfunc_L00_00502520,func_L00_00502550,func_L00_00508888, andfunc_L00_005088B8select and initialize backends 0x300 and 0x301 using the existing connection method layout.func_L00_00508A10,func_L00_00508A18,func_L00_00508A28,func_L00_00508A70, andfunc_L00_00508A78recover their individual table entries.func_L00_00508780andfunc_L00_00508838handle array teardown.func_L00_00508AA8,func_L00_00520FA8,func_L00_00520FB8,func_L00_00521018,func_L00_005210C8,func_L00_00521178, andfunc_L00_005215A0implement and register the time callbacks, reusing the verified callback types.63e131d5— PAL connection state and descriptor registrationfunc_L00_004FF300,func_L00_004FF4D8, andfunc_L00_004FF5C8recover command retry, connection state, and descriptor registration.func_L00_00519EF0__pal,func_L00_0051A068,func_L00_0051A0D8,func_L00_0051A2B0,func_L00_0051B988__pal, andfunc_L00_0051B9B8recover six descriptor accessors. The PAL suffixes distinguish the two addresses also used as US source names.func_L00_0051A078,func_L00_0051A0B8, andfunc_L00_0051A1C0recover the descriptor forwarding callbacks. Both catalogue extents and tail-call relocations were checked.55c1abfa— PAL resource teardown and descriptor callbacksfunc_L00_004FEA78andfunc_L00_004FF798recover the connection state and resource teardown paths.func_L00_0051A1E0,func_L00_0051A200,func_L00_0051A220, andfunc_L00_0051A290recover the descriptor accessor and callbacks, including both tail-call targets.55f36c12— PAL packet and block bufferingfunc_L00_005004D0writes packet records through the connection method table.func_L00_005009A8releases packet resources using the same layout as the existing cache cleanup.func_L00_0051B9D0resets the block buffer andfunc_L00_0051BA20feeds bytes into it. The valid function extents are 80 and 252 bytes.3caeceea— PAL packet and connection constructionfunc_L00_005006D8allocates the packet and initializes its registries.func_L00_004FFAE0creates the connection from the packet and releases resources on either failure path.func_L00_004FB2B8installs the default dispatch table. The packet and connection share the verified callback layout.func_L00_00528B30compares the variable-length keys. Its catalogue entry and the adjacent hash function now have independent extents.b89e58a8— PAL method tables and transportfunc_L00_004FBDD0,func_L00_004FBE08,func_L00_004FBE10,func_L00_004FBE18,func_L00_004FBE40, andfunc_L00_004FBE70initialize the default method table and enumerate records across both tables.func_L00_004FC1C8reads partial data into the connection buffer.func_L00_00500C08compares table types and invokes the appropriate lifecycle callbacks.func_L00_00517598andfunc_L00_0052D9B0return and copy the nested record. The catalogue now records their executable extents.46955187— PAL stream callbacks and record dispatchfunc_L00_004FBF60andfunc_L00_004FC040share the stream checks and forward read or write requests.func_L00_00500ED0installs the callback and initializes the connection.func_L00_00516E90__palforwards reads through the request table, including the before and after callbacks and byte accounting.func_L00_00501560updates the position and remaining length after a successful read.func_L00_00500C98,func_L00_004FBEC0, andfunc_L00_004FF018recover status handling, record lookup, and two-byte record serialization. The existing shared wrappers retain their compiled bytes and relocations after the signature corrections.73e1666e— PAL buffers and descriptorsfunc_L00_004FE4E0andfunc_L00_004FE5B0allocate or resize the connection buffers and preserve the cursor across reallocations.func_L00_00528288clears and releases the saved buffer.func_L00_004FE6F8updates both buffer handles.func_L00_004FE750exposes the table's size constant.func_L00_0051ABE8,func_L00_0051AC08,func_L00_0051ACB8,func_L00_0051AE90, andfunc_L00_0051AEF0read descriptors, clear and release their storage, and forward the initialization and cleanup calls.cd0d2df4— PAL descriptor and resource helpersfunc_L00_0051AD68registers a descriptor's names and aliases.func_L00_0051CCA0decrements the shared reference count and releases the wrapper.func_L00_0051D360checks the required fields,func_L00_0051D568selects the type-specific release routine, andfunc_L00_00520868clears the 24-byte state.func_L00_005267A8,func_L00_00526FF8,func_L00_00528AC8,func_L00_0052D9A0, andfunc_L00_0052DBF8recover the callback, packet and nested record accessors. All changed extents exclude proven padding or unreferenced trailing words.adbed629— PAL record methods and resource lifetimefunc_L00_005331D0,func_L00_005332A0,func_L00_005334F0,func_L00_00533570,func_L00_005335C0, andfunc_L00_00533720construct, install, invoke and release record methods using the official@ee296profile.func_L00_00533988andfunc_L00_00533A08reproduce the string comparison wrapper and its loop. The catalogue gives each its real extent.func_L00_00535AD0,func_L00_00535D98,func_L00_00539040, andfunc_L00_00539250encode or release a shared record and call or initialize a handle. The encoding and destruction routines reuse the reference-counted record layout.2da9ce33— PAL record lifecyclefunc_L00_0052DFE0,func_L00_0052E108,func_L00_0052E188, andfunc_L00_0052E1C0register records and release their nested entries.func_L00_00530710andfunc_L00_005367F8release encoded pairs and their buffers. The adjacent dispatch entries at00530760and00530840are now catalogued separately using the two retail table pointers and their stack frames.func_L00_00531350,func_L00_005318A0,func_L00_00531970, andfunc_L00_00533118allocate and clear record buffers, report the required size, and validate arguments before forwarding.cc5bd86f— PAL symbol bindingsThe reviewed transitions, request status accessors, drawing context setters, descriptor lookup, time callback and Battledome initializer use the mapped C symbols. The dispatch accessor and PAL globals use distinct storage names where the US names have other owners. The PAL audit checks mapped calls against the caller's own program, including resident copies in overlays. All 45 affected PAL matches were rechecked. The five changed shared translation units retain their raw code and relocation records.
7128242b— PAL record dispatchfunc_L00_00530760andfunc_L00_00530840encode and decode three tagged children at the entries referenced by the retail dispatch table.func_L00_005310E0registers a newly allocated record with tag0x14.func_L00_005320A0checks the allowed methods and dispatches both callbacks. The catalogue now includes their complete epilogues.func_L00_00531F58clears and releases its buffer. The shared memory wrappers use the argument counts established by their callees and retain their raw code and relocation records.fdf0ff55— PAL record accessors and validation adaptersfunc_L00_0052E228,func_L00_0052E230,func_L00_0052E238,func_L00_0052E240, andfunc_L00_0052E248access the registered record fields.func_L00_00532E10,func_L00_00532EF0, andfunc_L00_00533038validate the required and optional nodes before forwarding the original arguments. The existing validator now passes its node explicitly, with identical output.0052FCF0and0052FF40, and the complete unmatched entry at005329E8.f3745c43— PAL byte and word routinesfunc_L00_00533B00copies overlapping byte ranges in the appropriate direction.func_L00_00533FF8,func_L00_005340A8,func_L00_00534180,func_L00_00534240,func_L00_00534730,func_L00_005347F0,func_L00_005348C8,func_L00_005349A0, andfunc_L00_00534AB0share one transform loop. Their catalogue entries start at the retail table targets, after the leading fill words. Both existing dispatch routines in the same unit remain exact.e5553860— PAL encoded stream and integer lifetimefunc_L00_005368C0__palprepares the encoded record on demand and copies it through the output cursor. The PAL-specific name separates it from the existing US constructor.func_L00_00536E58releases the record's child and entry array before releasing the record itself. The relocation audit now checks the mapped callback when its address is loaded through a HI16/LO16 pair.func_L00_00538680clears an integer record using the same layout as the existing copy routine.f5dbfad4— PAL menu context storage60080b3a— PAL integer import and descriptor methodsfunc_L00_005395E0divides a multiword integer in place and returns the remainder.func_L00_0053C068adjusts the leading and trailing bits of an input buffer before importing it. Both share the existing integer layout.func_L00_0053C820closes the live handle and clears its state.func_L00_0053D440returns the descriptor table. Their catalogue rows now end at the verified return instructions, with separate rows for the existing following matches.3658fabc— PAL descriptor and callback methodsfunc_L00_00540898forwards to the allocator's release handler.func_L00_00540D40,func_L00_005414C8, andfunc_L00_00541670forward the observed arguments through the corresponding call or method slot.func_L00_00541580handles the prompt, minimum length, and error cleanup. The shared callers' prototypes now express the observed ABI with identical object code and relocations.func_L00_005416C0returns the descriptor table. Three distinct table targets now have separate catalogue entries.func_L00_005420E0runs the optional destructor before release, using the same item layout as the registry lookup.2207beff— PAL word arithmetic and bit queriesfunc_L00_00547270computes the modular coefficient using the Euclidean algorithm.func_L00_00547370uses the nibble-width table to count significant bits.func_L00_00547568tests a bit in the existing multiword integer layout. The data pointer at004AFEA8identifiesfunc_L00_005475C0as a separate return-zero callback, now recorded at its own address.a7e04d9f— PAL descriptor setup, dispatch wrappers and node poolfunc_L00_005522F0,func_L00_00552310,func_L00_00552508,func_L00_00552930, andfunc_L00_00554AE0reproduce the verified dispatch entries. The catalogue separates the existing functions that had been grouped with their neighbours.func_L00_005539B0,func_L00_00553A90, andfunc_L00_00554460release, validate, and add nodes. They use the same node and pool layouts as the existing initializer and growth routines, whose object code and relocations remain identical.12aae330— PAL validation entry wrappersfunc_L00_0055C4B8andfunc_L00_0055C780forward the caller's arguments with a fixed length of 16. Their catalogue rows and those of the adjacent routines now follow the verified boundaries.0055CDD8is a verified copy of residentfunc_003F9120. The existing C matches both placements, including four relocation checks, and the catalogue records it under the resident name.e57d0c71— PAL record parsing and cleanupfunc_L00_00500570reads fixed-size records and reuses or releases the entry array as appropriate. It uses the existing append routine and the record-read slot in the connection method table.func_L00_00517D18initializes the buffer and checks the optional request length.func_L00_0051C998shuts down the registry and its arrays when requested. Their call and address relocations match retail.func_L00_00528B00packs four bytes into the hash key and shares the key layout with the existing comparator. The catalogue now follows the complete existing registration function at00517960and separates the entries following0051C998.0a80a3ab— PAL registry and array searchfunc_L00_0051C968applies the registered cleanup status to entries.func_L00_0051CC20initializes the tagged-record table with its hash and comparison methods.func_L00_0051D060searches an array through its comparison callback.func_L00_0051D148andfunc_L00_0051D170compare the two string fields, respectively. The catalogue gives each comparator its own entry and removes three padding fragments that previously appeared as functions.789c6ce7— PAL shared overlay callbacksfunc_L00_006F2EF0is a zero-return callback referenced from the method table in all 14 distinct PAL level programs. All 14 copies match without relocations.006F22C8across those programs. It drops the previous match for that routine's interior return path and omits two unreferenced stack-adjustment remnants.3af9fff1— PAL actor table initializationfunc_L00_006F5408initializes 20 actor records and seven companion slots. The level 00 bytes and all four relocations match. The other PAL level programs use their own data bindings.00358FA0record layout with the existing lookup and scan. The two shared C objects retain identical code and relocations. The PAL catalogue drops the unreferenced stack-adjustment word at006F7548.023fb50d— PAL data bindings in Catacrom and Shaarf39e9569— PAL shared noise hash boundaryfunc_L01_00652E38also matches the 100-byte callback at00699728in level 00. The PAL catalogue and map now cover all 14 copies of the shared function, with the preceding stack-adjustment fragments excluded.17473626— PAL overlay initialization pathsfunc_L00_006ACDA8installs two overlay callbacks and initializes the tables.func_L00_006ACE18resets the profile and initializes the same actor pools. The functions share the actor-pool initialization sequence in one translation unit.163840a5— PAL multiplayer request retry and dialog entryfunc_L00_0070C470submits the request and retries when the dialog returns eight. It uses the existing menu context and dialog declarations.func_L00_0070F180opens the dialog for state two when the confirmation panel is unavailable. It uses the level-qualified label buffer at00220B38. Both functions match and pass all 15 relocation checks.05b5cbee— PAL asset block copying and relocationfunc_L00_005D5710copies referenced spans and updates their destination addresses.func_L00_005D6218copies a section and aligns the cursor.func_L00_005D6280reserves the asset pool and resets its index state.371987d5— PAL menu and mining data bindingse65d4b29— PAL Dreadzone Station object routinesfunc_L01_0045C8D8,func_L01_0045CD68andfunc_L01_0045D1C0implement the selector, sound-handle and callback registration path, and selection of the level data.func_L01_0045D418,func_L01_0045D4C0,func_L01_0045D588andfunc_L01_0045E818implement the object event handlers and the mode predicate with one shared layout.All changed C translation units were compiled through
tools/cc.sh. Both maps and progress reports passed their checks. The PAL relocation audit verified 2,575 references across 516 functions with zero mismatches or unresolved references. All 49 PAL dumps and 103 tests passed. Validation used the targeted build.a9c34fe3— Address review findings on shared PAL statefunc_L01_0044B218now reads the same player table as the existing Dreadzone Station consumers.func_L00_006F5408,func_L00_006F0C48, andfunc_L00_006F3EC0share one actor count. A partial MIPS link confirmed all nine references bind to one symbol, and the level 00 PAL audit resolves it to0x00220774.The targeted build recompiled 26 translation units. Both maps and progress reports pass. The PAL-native audit checked 2,647 relocations across 523 functions without mismatches or unresolved references, and all 104 tests pass.
bce7496b— Share PAL network state and registered time callbacksCoordination in #112.
e507d76b— PAL menu transfers, dispatch and network controlsfunc_L00_0050D760,func_L00_0050DE98,func_L00_0055ACD8,func_L00_0055C2A8func_L00_00526C38,func_L00_00526CD0func_L00_00559D68,func_L00_00559DD0,func_L00_005C2000func_01ED6218,func_01EE1690The transfer catalogue separates unreachable epilogues and the query catalogue excludes linker fill. The new queries and network functions use shared declarations. The RNG and marker routines reuse the logic of their verified siblings. The native audit checked 48 relocations across 19 exact functions, and all 104 local tests passed.
c36a0004— PAL menu sessions and dispatch transformsfunc_L00_004F7710,func_L00_004F7770,func_L00_004F7790,func_L00_004F7B80,func_L00_004F81B8,func_L00_005081E0func_L00_005339A0,func_L00_00559228,func_L00_00559318func_L00_00564BC8,func_L00_00564DB8,func_L00_00564E58,func_L00_00564EF8,func_L00_005668E8,func_L00_00566910func_L00_00714610,func_L00_00775238func_01EBF9D0The four transform entry points are confirmed by the dispatch table and share one word-walking implementation. The session, callback and record sources share their corresponding types and masks. The native audit checked 70 relocations across 38 exact definitions. Recompiling 44 header consumers preserved all 138 mapped definitions. All 104 local tests passed.
eb3d231e— PAL transfer, lookup and reply wrappersfunc_003F1000,func_003F7160func_L00_004F43A0,func_L00_0051AB28,func_L00_005487A8,func_L00_00623698func_01EBF100,func_01EE39E0The resident transfer wrappers match in main and frontbin, including the L00 copy of the finish wrapper. The catalogue separates post-return epilogues and keeps the remaining placements of the localized lookup's neighboring remnant. The reply routine and its callers share typed declarations, and recompilation preserves the old bytes. The entire PR's native audit checked 2,711 relocations across 560 exact definitions. All 104 local tests passed.
3b012c58— PAL menu buffer and descriptor handlersfunc_L00_00506480func_L00_00519D88func_L00_00548740func_L00_00715F50,func_L00_00767148The new cleanup and text routines share existing layouts and implementations. The descriptor lookup wrappers use one typed dispatch helper. The connection layout exposes the three pending-transfer fields and preserves the 69 mapped definitions in its 18 existing consumers. The scoped audit checked 15 relocations in nine exact definitions. All 104 local tests passed.
c3b7b644— Shared PAL draw and asset callbacksfunc_L01_0044BD90,func_L01_0044C5B0func_L01_004700C0func_L01_0062CA38The drawing and asset routines share existing data layouts and use per-program addresses. Each callback matches at every distinct PAL placement. The four additions passed 144 relocation checks across 46 placements. The complete PR's native audit checked 2,738 relocations across 573 exact definitions. All 104 local tests passed.
40556e59— PAL menu dispatch and shared data bindingsfunc_L00_00527018func_L00_0051CEC8The new routines share their layouts with existing owners, handlers and lookup callers. The station selector uses four records in one table. This commit also records verified per-program bindings for the handle pool, dispatcher and player table. The added cross-program checks passed 580 relocations, using the existing frontend pair for the pool lookup. The entire native audit checked 2,745 relocations across 575 exact definitions. All 104 local tests passed.
92d95de5— Verified PAL menu bindings in relocated copiesThe widget routines use three distinct group symbols, separate from unrelated objects with the same numeric addresses in other programs. The descriptor readers use the canonical selector and share a typed category record. The selection menu's local state and handles use the verified data addresses for each PAL program.
The extended checks compared 176 placements and validated 2,976 relocations using the proved catalogue and frontend relationships. The native audit checked 2,794 relocations across 579 definitions with zero mismatches or unresolved references. Both progress reports and all 104 local tests passed.
563848c4— PAL multiplayer menu routinesfunc_L00_0070EBD0,func_L00_0070EE10,func_L00_0071DEE8,func_L00_0071E0F8,func_L00_00726218,func_L00_007556A0,func_L00_0077D958func_L00_00719858,func_L00_0071F230,func_L00_0071F750,func_L00_0071F8B0func_L00_0075A9F8,func_L00_007697C0,func_L00_00773488,func_L00_00775B18The confirmation and request functions share layouts with their callers. The session initializer and cleanup use the same verified PAL handle. The local reports record 15 additional functions and 4,016 bytes. Both report checks and all 104 local tests passed. The native audit verified 459 relocations across 33 exact definitions.
59f4a54d— Verified PAL option and handoff bindingsThe option dispatcher and initializer share one callback table and option state. The resident string table and text buffer retain their own bindings. The handoff page and render target use separate symbols. The affected addresses were verified across the main image, frontbin and all 14 distinct level copies where present. The native audit checked 97 relocations in 12 exact definitions. Both reports and all 104 local tests passed.
3b6f5efe— PAL menu search and list updatesfunc_L00_00713698,func_L00_00716450,func_L00_00720FF0func_L00_0072D1C0,func_L00_0072DE10,func_L00_0073E3D0,func_L00_0073E628,func_L00_00753758The confirmation callers share one prototype and panel layout. The menu search callbacks share the layout confirmed by their common caller. The list routines use the verified widget interfaces. This commit adds 8 exact functions and 2,972 bytes. Both reports and all 104 local tests passed. The audit verified 168 relocations across 25 exact definitions.
3e1f9146— PAL menus and shared overlay routinesfunc_L00_00761A38,func_L00_00750400func_L01_004E6DB8,func_L01_0049CCA8,func_L01_004B0868,func_L01_006B2120func_L00_005F44F8,func_L01_0056EAE8,func_L01_00570278,func_L01_005A5040,func_L01_005DCBD0The shared overlay functions were checked at every distinct PAL placement. The menu and target callers share their verified layouts, and the overlay hit lookup uses its own binding. This commit adds 11 exact functions and 1,348 bytes. The audit covered 108 placements and 184 relocations across 23 PAL definitions. Seven existing shared definitions retain their compiled bytes. Both reports and all 104 local tests passed.
4b7c42ca— PAL rendering and shared state routinesfunc_004756A8__pal,func_L01_00421BB8,func_L01_00434608func_L01_003D0E28,func_L01_0048AAA8,func_L01_004B1FD0,func_L01_00524958,func_L01_0054B118The PAL hit lookup matches in main, frontbin and all 14 distinct level copies. The player effect uses the dispatcher’s verified callback signature. The data selectors reference each overlay’s original data blocks. This commit adds 8 exact functions and 604 bytes. The audit covered 105 placements and 207 relocations across 13 PAL definitions. Both reports and all 104 local tests passed.
a1339f05— PAL overlay objects and dispatch tablesfunc_L01_003D47E0,func_L01_003D4840,func_L01_004B8B90func_L01_00407168,func_L01_004420C8,func_L01_004737B0,func_L01_0048B1C0,func_L01_0048DC80,func_L01_004940C0func_L01_004CC570,func_L01_004D1040,func_L01_00570B30func_L01_005703B8,func_L01_005747C8,func_L01_00589620This commit adds 15 exact functions and 1,620 bytes. The affected callback definitions share their C interface and the existing implementations retain their compiled bytes. The difficulty selector resolves to the same storage as the resident setters. The audit covered 202 placements and 325 code relocations across 19 exact definitions, along with 39 relocated dispatch table entries. Both reports and all 104 local tests passed.
f1db3427— PAL request header bindingThe four L00 request builders share a level-qualified header template. The resident widget group uses its verified address in main, frontbin and all 14 level copies. All four request builders retain their compiled bytes. The PAL audit checked 46 relocations. Both reports and all 104 local tests passed.
b606820a— PAL rendering, dispatch and record routinesfunc_L00_00576DE8,func_L01_00416C20,func_L01_0043E780,func_L01_00467D20,func_L01_004CA788,func_L01_004DF820func_L01_004C45F0,func_L01_004C5D60,func_L01_004C8610,func_L01_004DA1D0,func_L01_004DC968,func_L01_004DC9F0func_L01_00570328,func_L01_00574848,func_L01_00575028This commit adds 15 exact functions and 2,020 bytes. The six draw wrappers share one implementation and use each program’s original parameter block. The pointer-list and bucket routines reuse the verified shared layouts. The audit covered 185 placements and 425 relocations across 18 exact definitions. Both reports and all 104 local tests passed.
d7a5dfc9andb5278034— PAL near-match archiveThese commits preserve 408 measured C drafts from the last five days in
nonmatching/pal/, including six improvements to existing drafts. The index records the remaining differences and the source files carry repository-relative reproduction commands. The second commit includes verified safer versions where the original experiment used temporary bindings or an indeterminate vector. Near matches stay outside the build. Both progress reports retain the exact match totals.da0d7f57— PAL callbacks and object statefunc_L01_003D72C8,func_L01_004019A8,func_L01_0056E400,func_L01_0058A788func_L01_0045C4C0,func_L01_004DB160,func_L01_004FFD68This commit adds 7 exact functions and 968 bytes. The two flag operations in
0045C4C0preserve the latest call's result. Its archived draft is removed. US and PAL callers share one object-record lookup declaration, and the affected existing callers retain their compiled bytes. The audit covered 86 placements and 493 relocations across 8 exact definitions. Both reports and all 104 local tests passed.2fc86906— PAL near-match archive follow-upRechecking the archive against the current tree exposed stale callback declarations, compiler flags outside the parsed header, and two catalogue-boundary cases. This commit repairs those notes and drafts, removes a duplicate PAL placement, and records the next four near matches.
62150c16— PAL text lookup and key callbackfunc_0045E850— text lookup, exact in main, frontbin and all 14 distinct level copies.func_L00_004FE1E0— three-byte key callback, exact on its only L00 placement.The Sol 6.2 retry adds two exact functions and 136 bytes. The PAL relocation audit checked all 48 targets across the 16 text-lookup copies. Both reports and all 104 local tests passed. The resolved drafts were removed from the archive.
5a3960fe— PAL player and timer state queriesfunc_0045E8E8checks the shared player slots and class flags.func_0045E978checks the saved handle or the timer and replaces its archived draft.Both routines share the state layout with the existing initializer. The PAL handle argument uses its own symbol. The new matches add 264 bytes. The audit covered all 48 placements across the two matches and the initializer, including 192 relocations. Both reports and all 104 local tests passed. The text-index lookup remains in
nonmatching/at 88 of 108 bytes.1a0776de— PAL message setter draftThe retained caller now uses the three-argument message setter. The official checker reproduces a 3-byte difference in the 328-byte routine.
18277f54— Five retained PAL routinesfunc_004DD160,func_00475FF0func_L00_004FF3E0,func_L00_00538CE0func_L06_00401BE0The five matches add 736 bytes and replace their archived drafts. The audit covered 34 placements and 134 relocation operands. All 17 existing connection objects retain their allocatable sections and symbolic relocations with the shared buffer type. Both reports and all 104 local tests passed.
3182f46a— PAL near-match archive follow-upRefreshed four retained drafts with reproducible verdicts. The resident option routine differs by one byte across 16 copies, the transition timing routine is one retail NOP short across 13 copies, and the L00 retry routine now has all six call sites and relocations in place. The archive drops the L02 particle draft because its helper reads a position lane that the draft leaves uninitialized.
9cfca546and718ad8bf— PAL callback and particle draftsThe three callback-table scans now reproduce the table setup and loop in main and frontbin, with 11 bytes differing in the count load and entry guard. The L02 particle draft uses a defined seed after tracing both uses of the transform result through the constructor. The constructor replaces the W lane before reading the position. The official checker reproduces 448 bytes against 444.
fc66a20d— PAL registry insertionfunc_L00_0051C790inserts an entry and releases the previous one when replacing it. The exact 284-byte L00 implementation shares the entry layout with the existing registry routines. They remain exact. The audit cleared all 27 relocations in the translation unit, and both reports and 104 local tests passed.b7475cc5— PAL allocation and cleanup draftsThe retained
func_L00_0051A850andfunc_L00_0051AC40drafts now differ by just one byte each. The initial null branch reaches the error path through the cleanup guard. Both drafts reproduce with the official PAL checker.f27e3b1f— L00 paddingfunc_L00_005416D0copies the input to the end of the output and refills zero padding bytes. It retains the fallback to the existing padding helper. All 328 bytes and four call targets match. Both reports and all 104 local tests passed.53aa475f— L00 key scan and subtraction draftsThe key scan is still one word short. Its early exit and loop leave six aligned instruction differences, down from fifteen. The signed subtraction uses the shared integer layout, with four words differing. Its five call targets resolve.
9d127939andb9718d78— PAL archive maintenanceThe retained L00 reset now uses the shared connection layout and still differs by four bytes. Its five call targets resolve. The stale
func_L00_005381E8draft is removed because the existingfunc_L00_00537CE8source already reproduces that 52-byte PAL wrapper and its call target.c5223f27— PAL object-list insertionfunc_0050DB58inserts a resolved object and updates references as the list shifts. It shares the existing resolver, vtable and manager layouts withfunc_00506000, which retains its exact bytes. The two routines match across all 32 placements, with 192 relocation operands checked. Both reports and all 104 local tests passed.cfb72e49— PAL callback queuefunc_L01_005767F8appends callbacks to the 32-entry queue. It matches all 84 bytes on each of 12 PAL copies, and all 36 relocations resolve. The drain and reset routines use the same queue layout and retain their compiled bytes and symbolic relocations. They also match all 28 existing PAL placements. Both reports and all 104 local tests passed.6a31d928— PAL menu and timer draftsThe L00 decoder now differs by nine bytes across three words, with all seven relocations resolved. The registry draft uses the mapped initialization and lookup routines, and the Torval timer draft uses the text getter's pointer return type.
cf1ddbaa— PAL menu connection initializationfunc_L00_004FF9A8initializes the connection and restarts the appropriate request path. It shares the connection and packet layouts with its existing caller. All 308 instruction bytes match, and the catalogue records four more bytes of fill. The audit cleared all 44 relocations in the source file. The other 19 affected connection and packet objects preserve their compiled code, data and symbolic relocations. Both reports and all 104 local tests passed.6958628f— L02 object predicate draftThe signed predicate now reproduces the full 36-byte body with two words differing. There are no relocations.
e410fb51— PAL object state initializationfunc_L01_00571438initializes the state supplied by the object. All 136 bytes and the lookup relocation match on each of its 12 PAL copies. The shared lookup returns a pointer in C and retains its exact bytes on all 16 PAL placements. Both reports and all 104 local tests passed.abe1d453— PAL configuration and state predicate draftsThe configuration check differs by three bytes in all 16 copies, with the configuration lookup resolved in each. The state predicate differs by three bytes in all 13 copies. All 39 relocation operands resolve with the documented bindings.
c3b77ca5— PAL station state initializationfunc_L01_0047F368initializes the station block once and runs its regular update. All 136 instruction bytes and nine relocation targets match. The six small-data initializers were checked separately, including the symbolic pointer. Both reports and all 104 local tests passed.f5bdf80d— PAL shared draftsThe object-table traversal differs by two bytes on 14 copies. The forwarding wrapper differs by four bytes on 13 copies and uses the actual pointer parameters. The other initializer draft clears the full 16-byte field and remains one instruction longer on all 13 copies because the compiler materializes a zero quadword.
8920f992— PAL command draftThe signed field extraction and wrapping decrements now use defined unsigned operations. The eight differing bytes and all 32 relocation targets were checked across 16 placements.
40b0377d— PAL station object initializationfunc_L01_003CFBA8waits for the private state, then seeds the aim and pose when ready. Its 172 bytes and all three call relocations match in the station overlay. The superseded draft was removed. Both reports and all 104 local tests passed.8154f254— PAL menu and station draftsThe tagged alias lookup is down to five differing instruction words. The menu prompt draft uses the existing menu global and the PAL page address. The station predicate handles a nullable object before reading its state byte.
398db87d— PAL action-screen refreshThe action screen calls the C entry-refresh helper mapped at retail PAL
00726440. Verification decodes the target from the retail instruction and confirms all 12 relocations at the matching placement.5cd3b8d7— Defined PAL draftsThe menu draft uses the typed error logger, the prison draft uses unsigned record offset shifts, and the station effect has a defined zero-seed candidate. The original effect's W input remains unresolved.
66849027— PAL resident call bindingsThe calls in
func_004B31D8,func_004D3F70andfunc_004EBDD8use the C callees mapped at their PAL targets. The four call operands were checked in main, frontbin and the overlay copies. The three main functions match and all 77 relocation checks pass.1d5f1a1a— PAL menu messages and mine object initializationfunc_L00_0071FD20submits a message in the selected mode.func_L08_004D2068retires or initializes the mine object and spawns its row of linked objects. The two functions match all 584 bytes and all 21 relocations, including 16 independently decoded calls. Both reports and all 104 local tests passed.f681b4f7— Typed PAL dialog draftThe signed clamp and typed callback agree with retail. The draft differs in the placement of the saved registers, with 16 instruction words differing. The byte setter explicitly stores the low byte of its full register input and compiles to the same eight bytes.
827dc7e4— Shared easing and Control Level draftsThe easing residual is down to five instruction words across all 14 placements. The Control Level drafts use the verified call bindings and level-local tables. The dispatcher compiles to 296 of 300 bytes. The paired initializer is now the correct size, with 47 words differing.
fc4b0cbe— Station search draftThe draft reuses the shared moby class layout and tests the child player pointer. All four data operands were verified. The 152-byte compilation still differs from the 156-byte retail routine in the mode guard, data load scheduling and comparison register copy.
e797a348— Verified PAL angle, hit and level data draftsThe angle draft keeps the retail operation grouping. The station draft passes the actual bitmask to the PAL record lookup. The Dark Cathedral data selector now differs in nine instruction words, with all three data addresses independently decoded.
f1ad6f05— PAL tagged byte string parsingfunc_L00_00546488validates the tag, handles constructed values and updates the cursor on success. Its 592 bytes and all nine call targets match. Its value layout is shared with the destructor, and the two existing routines preserve their allocated code and relocations. Both reports and all 104 local tests passed.f71abb5b— Parser and menu request draftsThe length encoder is down from 28 to eight instruction edits after alignment. The flagged reader uses the signed exclusive limit. Two request drafts now use the owning translation units for their shared globals, and the descending reset uses an integer address.
ee240870— PAL resident option renderingfunc_004B98D0draws the active option and tints its labels. The 200-byte routine matches and the data bindings distinguish the option group from an unrelated global. The main and frontbin audits pass. An independent comparison across 16 programs checks all 112 calls and 80 address references, including the overlay recolor copies. Both existing users of the shared layout preserve their code and symbolic relocations. Both reports and all 104 local tests passed.4223d54a— PAL profile refresh draftThe signed count and identifier store are reconstructed with six differing bytes. Both context references and all three call targets agree with retail.
5c250f0f— PAL color setup and menu row commandsfunc_L07_004069F8initializes the Lighthouse moby's color state. The shared writer preserves the existing Dreadzone Station object's code, data and relocations. The three Lighthouse initializers agree, including the symbolic pointer.func_L00_0077B2B8andfunc_L00_0077B938clear or mark pending menu rows. The three new functions match all 652 bytes. The four-function audit verifies all 25 relocation targets. Both reports and all 104 local tests passed.659809d7— PAL option request draftThe request context and option record now use verified layouts, and both called C functions resolve to their retail addresses. The draft compiles to the retail length. The remaining 54 differing words include branch and store scheduling.
69da4de7— PAL menu and callback draftsThe menu gate allows its dialog with a missing panel, the resource replacement handles a null alternate, and the ring search uses the verified 96-slot layout. The profile list now compiles to the retail length. The Battledome callbacks use the mapped record lookup. The expanded flow layout preserves the allocated sections and relocations of all four existing users. All 104 local tests passed.
48e8ab91— PAL interpolation and Battledome gate draftsThe Dark Cathedral draft binds the actual interpolator and checks all six call targets. The Battledome gate uses the verified argument types and reject path. Its draft now compiles to the retail length. All seven call targets and its GP-relative reference were checked.
db2ef6b8— PAL dispatch and ratio draftsThe dispatch draft uses indexed initialization and reduces the aligned diagnostic from 40 to 21 words. The profile span and Battledome ratio drafts use verified data references and document the remaining scheduling differences.
68cbc0b3— PAL menu text actor slot releasefunc_L00_007160F0releases one or both actor slots and shares its item layout with the initializer. All 196 code bytes and six relocation references match. Both slot initializers agree with retail. The three existing functions keep their instruction bytes and symbolic relocations. Both reports and all 104 local tests passed.