Same-instance weapon re-equip after native unwear
Scope: read-only original native evidence plus inspection of root's actual WASM captures. No production source or fixtures were edited by this research agent. No browser/game/server processes were started here. Both owned REA sessions were exported and closed.
Exact original identities:
- KKR:
a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0. - LLR:
ebb09047f6ead192388f7ddfb4795da5013a60f7c2d1c3933ec02eef58a10132.
re-equip-kkr-evidence.json/snapshot contain539 records; LLR evidence/snapshot
contain32. re-equip-focused-evidence.json and re-equip-citations.json retain
24 complete selected records with exact target identities. tmp_re_equip.py
validates those and hashes the parent-owned runtime captures in
re-equip-failure-provenance.json (includes both failure and fix captures).
Observed original cause
WeaponItemFullUpdate is a creation path for a previously unknown native dynel. It is not an update/re-equip operation for an existing identity.
10011200 registers class name WeaponItemFullUpdateIIR_t with factory10011180.
That factory calls100b3720, which installs vtable10174e70. Exact vtable bytes
resolve activation+8 to100b38b0, setup+20 to100b3870, attach+24 to100b25c0.
100b38b0 begins by GetDynel(envelope identity). If the result is nonzero,
it returns0 immediately. It creates, sets up and attaches a WeaponItem only
when that identity is absent, its type is51018 and the playfield exists.
This guard runs before any skill-lock check, item template reload, OnActivate
event, holder binding or equipment appearance callback.
The first setup path100b3870 ->100b2830 loads template/QL, sets inventory page stat55 and slot220, and runs event10 OnActivate. Attach100b25c0 finds parent actor and calls10063340. Page1/slot6-or8 in that function binds the WeaponBase through holder+30 and invokes WeaponItem virtual+d8, the equip callback100ad0b0. That callback establishes mesh/behavior and adds Fast Attack147 from caps0x40000. Registration10057370 does not reject an existing lock: it creates the action then marks it locked. Therefore active147 lock does not explain missing holder and action in this re-equip failure.
CharacterAction97 dispatches1007a1d0(slot). It invokes the actual item's unwear callbacks and10078f00, clearing the hand and restoring fists. The inspected handler does not destroy the item dynel or remove its registry entry. Original unwear100ad4e0 removes the Fast action if the other hand lacks its capability; the independent lock vector remains. The failing runtime confirms the owner retained enough native instance state to trigger the FullUpdate guard.
Exact KKR records:
- Class registration:
ev_9a64af19c208580a03b460c675f562e2c7153ee9ba1118ae45457540018bb8f9. - Factory:
ev_c299ae84c450860816c69773a42ae48beef33c3b2c6caf3b8265d1fb001d3e0d. - Constructor:
ev_e7ff52865839248f305df5322c3b5ddd1f0b8c2666ad39d9ce69b56c4e2c17a5. - Vtable:
ev_b2b304a325f21b57003ff6c76dd3eecd11dc3a5bb7cc935bc3901b34bab16b6f. - Existing-identity guard:
ev_6ad357ca30912f7fdb800917d4ad31823cfef2a1722a3a1c335b0e528b4b13fd. - Setup:
ev_2552f0c6f7bbaad61c7846a542aff9457f58b45192eddf5272feb1aa1fd8a02dandev_06a54a4e5296f634115da21462e98d97fe0b90e53de27c2fd3929a4f555f9c85. - Attachment:
ev_9fab4fbc5cd930032d5fb4ae3d31570b6b63d3b3ebe70ba4a53a57fe762beeecandev_96055f65aca55433045456f5b32829a666a20baa8944e9fd2371a52ece725eb6. - Unwear97:
ev_223696489bdd9821c5653e19b274d48d11fb2b09501bdea9ea56ec195f9fd4ba. - Weapon unwear:
ev_820baceb04f209397f02d88449e8efaa53d62a6ac0da07a1b0e49bd18d623ab7. - Locked action registration:
ev_cc5dccd7d3e25c6884c4ea66cd799dd05718c0ca252885e49c0b7ff1c64fa039.
Original Quit receiver and cleanup boundary
Original current LLR n3ToClientQuitIIR_t constructor10043690 installs vtable1004f974; its+8 activation is10043770. The receiver clears forwarding, finds the addressed dynel and checks that it is not already dying and is not the local player identity. It invokes addressed dynel virtual+28 with false. The item identity51018/164 differs from local actor50000/10, so it passes the local-player exclusion.
WeaponItem's embedded n3Dynel vtable101744f4+28 points to thunk1015fae4. Exact decoded instruction/ref resolves its import to LLR n3Dynel_t::DieDeep at1001a6d0. DieDeep calls virtual+5c, recursively marks children through1001b640 when in the scene tree, sets dying byte+94 to1/state+98 to2, and releases immediately when outside the tree. The Quit receiver and direct DieDeep body contain no raw owner inventory-slot mutation. Deeper virtual dying/parent/tree cleanup callbacks were deliberately not exhaustively traced: static evidence alone does not prove inventory preservation in every state or for every item class.
Fresh LLR address10043770 is important: older docs refer to1003ba50 from a different LLR hash863205... . In the currently selected original LLR,1003ba50 is surface-intersection code and was not used as Quit evidence here.
- Current Quit constructor:
ev_1f14ccf3c5a27de811e1aebaeeba25cc2a6e9f62a16b4dc6535ad58bc5b8b06a. - Current Quit vtable:
ev_aac48922f9257dca52a58ba9b489a66c5f4def3850c6a482e53441378406415d. - Current Quit activation:
ev_f8b2fd944e9bd52259e0bee708acd9190a839238349291a1be2986fd082e8178. - KKR n3Dynel vtable:
ev_20933d85cf9d7d4d08e32f174c25a08397867fb604780e2ae16e821286e3d0b6. - Import thunk:
ev_7dee427ef1b85aaf7705632570b031cd1c9bbca310aef367adc9c9c8a0cc89d2. - Import symbol:
ev_ebbda25e4001501e519ab971a0c766b8f4ab32408d91fb0937eec4fa1a463279. - DieDeep:
ev_53f70f553cfc31ad7c7dcbe70233029c5928520bac43558ceccb5e19e47a4458. - Child recursion:
ev_929de79e61b79b70483ad012b72aa224f7f11c182bcef348a406d1ebd1a02aa3.
Runtime evidence and verified fix scope
Root's failing wire capture shows owner97 then container-move acknowledgement on unwear; only the observer got Quit51018/164. Owner ordinary inventory row moved to native48, holder restored fists0, Fast action disappeared, lock123 remained. Same-identity FullUpdate on re-equip moved the icon to6 but left fists and no147. This matches the exact existing-identity guard above.
Root changed the server's unwear sequence to send Quit to owner and observer after CharacterAction97 and before the owner's move acknowledgement. This removes the transient native dynel while retaining the persistent item identity. No client adapter change was needed.
Parent-owned actual fixed WASM captures, inspected here:
| Capture | Native raw row | Holder | Fast action | Remaining lock |
|---|---|---|---|---|
| fixed-equipped.json | slot6,51018/164 | hand6,164 | source164,flags1 | 168 |
| fixed-stored.json | slot48,51018/164 | fists0 | absent | 127 |
| fixed-re-equipped.json | slot6,51018/164 | hand6,164 | source164,flags1 | 121 |
The three corresponding *-db.json captures retain one persistent item164,
template209283, QL1, count1, ammo0. No item duplication/consumption or lock reset
occurred. Root reports both owner and observer appearance and no client errors;
fixed-errors.json, fixed-wire.json, screenshots and database snapshots remain
under local/fast-attack-smoke/. Their hashes are retained by the curator.
These runtime checks prove inventory-row preservation and same-identity re-equip for this unwear/active147-lock scenario. They do not generalize the generic DieDeep cleanup to bags, occupied child containers, every item subtype, or every combat/swap state. Historical server packet sequencing is not proved by this reconstruction fix; the original client lifetime contract and tested behavior are established.
Targeted probe if another regression appears: GetDynel(51018,itemID) before/after Quit; its WeaponItem base is returned n3Dynel pointer minus0x8c. Independently check raw inventory row, holder slot, item page55/slot220, WeaponItem+1a8, action147 source/flags and shared lock147. A moved icon alone does not prove that10063340 or100ad0b0 executed.