Files

26 lines
4.0 KiB
Markdown

# Native M2 sequence hash collision repair
The shared converter used linear insertion, while the retained build 70334 reader uses cumulative squared probe steps. This is a concrete reader/writer incompatibility. It can return the absent index 0xffff for an animation actually present in the sequence array. The converter now follows that native probe order, preserving table sizing, the first sequence of each animation, all sequence records and non-hash bytes. No animation is synthesized.
## Actual reader evidence
PE unwind metadata bounds the crashing function at RVA 0x1da07f0..0x1da0bf8. The report's 32 instruction bytes at 0x1da0b75 exactly match the retained late decrypted capture (receipt pins the digest). The path initializes ECX to zero at 0x1da0b18, calls lookup 0x1df4d40 at 0x1da0b64 and compares the returned index with the sequence count. The captured RSI is 0xffff. Thus this incident's query is animation 0 (Stand).
The lookup helper starts at animation modulo table size. On mismatch, 0x1df4f7e..0x1df5040 adds the square of the incrementing probe number to the previous slot, takes the modulus and continues until a matching animation or 0xffff. Its zero-size branch performs a linear sequence search. Full proprietary disassembly remains private in build/queue76-world-entry-20261128.
## Failing and passing host evidence
The independent fixture reads generated MD20 arrays with the pinned native algorithm. IDs [7,14,0] produce a seven-slot table: linear insertion places Stand in slot 2, but the native reader visits 0,1,5 and returns 0xffff at the empty slot 5. The old code fails the Stand assertion and three other collision subcases. After the repair all four tests pass, including all authored IDs, duplicate variations, unchanged sequence bytes, idempotence, missing Stand and empty sequences. The real converted Crate02 sequence shape [148,146,147,149,0] is an additional control; collision fixtures are synthetic contract witnesses, not claimed crash-model attribution. Registered as m2-native-sequence-hash.
## Incident limits and deployment
The new report explicitly names Stormwind City (map 0, area 1519). It contains stack bytes and registers, but no heap data identifying the referenced model. The same assertion/PC/sentinel class was recorded on October 27; that historical report also lacked a model binding. Neither chronology nor this builder bug establishes which current model triggered the crash, and updater compaction is not inferred to be the cause. The content lane is auditing the selected changed assets with this exact reader.
This commit changes the converter and a host test, not any installed model, codec or native binary. Existing generated hash tables require a scoped content rebuild if found incompatible. Queue76 remains open until the affected data is identified and a matching content correction is verified. Missing Stand requires its separate source/native-backed contract, not hash repair or invented animation rows.
## Signed-data follow-up
The content lane joined 8,003 embedded imported M2s and found 333 unreachable authored animation references across 81 distinct selected models. Six CreatureModelData models contain Stand but return the missing sentinel: 8850014, 8850034, 8850056, 8850163, 8850307 and 8850347. The host fixture now includes their exact numeric sequence IDs and signed hash entries, with content keys and a hash of the owning scene/imported.json receipt. These are six actual shipped-data witnesses; no proprietary model bodies are embedded.
Against the baseline converter (1371b971), all six fail native animation lookup assertions. Against db56f9fb, every authored ID in each case is reachable, including Stand. The original four independent contract tests remain valid; only the new signed-data unit was run for this new evidence. This establishes actual affected content in addition to the synthetic collision proof. It still does not identify which model the reporter's actor loaded. The content lane owns full-body preservation, all 81 repairs and the staged STORE candidate.