Skip to content

Reconstruct five unique actor profile pairs - #2136

Merged
andrewboudreau merged 2 commits into
mainfrom
cpp/profile-reconstruction-wave6
Sep 2, 2026
Merged

Reconstruct five unique actor profile pairs#2136
andrewboudreau merged 2 commits into
mainfrom
cpp/profile-reconstruction-wave6

Conversation

@andrewboudreau

Copy link
Copy Markdown
Collaborator

Stacked on #2135.

Reconstructs five additional unique profile/class-initializer pairs:

  • C1_HIKARI -> daObjC1Hikari_c_classInit and g_profile_C1_HIKARI
  • C1_PEACH -> daObjC1Peach_c_classInit and g_profile_C1_PEACH
  • SWITCHDOOR -> daObjBSwdoor_c_classInit and g_profile_SWITCHDOOR
  • WANWAN_SHUTTER -> daObjWanwanShutter_c_classInit and g_profile_WANWAN_SHUTTER
  • KS_MIZU -> daObjKsWater_c_classInit and g_profile_KS_MIZU

The spellings are explicitly lineage-supported reconstructions. ROM evidence independently proves each literal profile ID, RTTI class, unique factory relationship, allocation size, and vtable identity. Historical aliases remain in the rename ledger.

Verification:

  • all five factories strict-relocation MATCH
  • LightBeam, PeachPainting, ShutterBob, ChainChompFence, and ShipWater TU checks retain 37/37 matching members
  • profiles remain ROM-backed config symbols; no source-owned descriptor data was invented
  • range gate: 10/10 VERIFIED, 0 warnings, 0 blocking
  • all five standalone filenames are pure R100 moves with attribution intact
  • 98/98 reconstructed TUs compile
  • full ROM: 11,088/11,088 functions, 4/4 source data, 106/106 modules exact
  • references, port, attribution, TU compatibility/conflict, Python-name, and dead-reference gates pass

@tangos-validator

tangos-validator Bot commented Sep 1, 2026

Copy link
Copy Markdown

✅ PR validation — Passed

Committed merge introduces no reconstruction or attribution regression.

Full merge validation

Check Result
Committed test merge yes
Byte-verified functions 10,765 / 11,347 (94.87%, +0)
Byte-verified code bytes 2,002,192 / 2,211,124 (90.55%, +0)
Claimed, not byte-verified 452 functions, 103,488 bytes (+0)
Perfect source moves 0 R100
Enrolled ranges (delinks complete) 11,059 functions, 2,053,148 bytes (92.86%, +0) -- differs from byte-verified by +294
Contributor credit 0 added, 0 changed, 0 lost
Relocation check 10 checked; 10 VERIFIED
Port reference check 405 checked; 0 stale
Module fidelity 106/106 exact; 100.000000% compared bytes
Code linked from verified source 11,088 functions, 2,067,148 bytes (93.49%)
Module bytes from source 2,067,148 / 3,049,600 (67.8%); 811,492 (26.6%) are data no delink entry reaches
ROM data reproduced from source 564 symbol(s) exact, 161 partial, 5 differ

Byte-verified means the range carries complete in a delinks.txt, so the ROM build compiled it and compared it to the cartridge. The 452 claimed functions have a src/ file named after the symbol with no NONMATCHING banner, and nothing compiles them -- dsd fills their addresses with the ROM's own bytes. Both together are the 11,217 this project calls matched.

Per-file link-check detail

All 10 changed file(s) compile to the ROM byte-for-byte with correct relocation targets.

File Symbol Result Slots checked
src/_ZN10ShutterBob13InitResourcesEv.cpp _ZN10ShutterBob13InitResourcesEv ✅ verified 1
src/_ZN10ShutterBob16CleanupResourcesEv.cpp _ZN10ShutterBob16CleanupResourcesEv ✅ verified 1
src/_ZN10ShutterBob8BehaviorEv.cpp _ZN10ShutterBob8BehaviorEv ✅ verified 1
src/_ZN10ShutterBobD0Ev.cpp _ZN10ShutterBobD0Ev ✅ verified 1
src/_ZN10ShutterBobD1Ev.cpp _ZN10ShutterBobD1Ev ✅ verified 1
src/daObjBSwdoor_c_classInit.c daObjBSwdoor_c_classInit ✅ verified 1
src/daObjC1Hikari_c_classInit.c daObjC1Hikari_c_classInit ✅ verified 1
src/daObjC1Peach_c_classInit.c daObjC1Peach_c_classInit ✅ verified 1
src/daObjKsWater_c_classInit.c daObjKsWater_c_classInit ✅ verified 1
src/daObjWanwanShutter_c_classInit.c daObjWanwanShutter_c_classInit ✅ verified 1

The private worker commits a test merge, builds the stock ROM profile, compares every executable module, measures matched and source-built code, checks contributor lineage, and verifies affected relocations. The mod profile is opt-in and is not part of this merge gate.

Base automatically changed from cpp/profile-reconstruction-wave5 to main September 2, 2026 02:29
@andrewboudreau
andrewboudreau marked this pull request as ready for review September 2, 2026 04:44
@andrewboudreau
andrewboudreau merged commit 230a8c0 into main Sep 2, 2026
9 checks passed
@andrewboudreau
andrewboudreau deleted the cpp/profile-reconstruction-wave6 branch September 2, 2026 04:45
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.

1 participant