Files

3.5 KiB
Raw Permalink Blame History

Grappler shared body/contact composition

2026-11-04. Original EXE SHA256 f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8. Static VAs in this report map to file offset VA−400000. Source ranges/hashes, relocation allowlist and generator: tools/binary/grappler_body.py; artifacts/grappler-body-live/source.json. Reuses REA47B4B0 ev_d45e078c585d3773494c0e0dfb1696178dd0b8ce8b696caf133892ff070e552e and43AA40 ev_4f2a6aa666451db831efd46f5c587573e22d8072315626b8bc2f844f9c6f0cae. This checkpoint adds execution of copied components, not new whole-original play.

Recovered ownership and order

479BC0..479D1B traverses enabled body integration before ordinary object callbacks. 479D20 initializes shared sphere state once: last polygon695D4C=NULL, nearest face695D5C=130000, nearest edge5CFBE0=radius. Sphere hit point is5CFBE8. Body motion invokes47B4B0; callback370 handles normalY<=−.7 and374 handles normalY>−.7. Support47B890→47C6E0 and ray47C210 use selected polygon695D54 / hit5CFC60 instead. They preserve all four sphere state fields.

429D00's attached branch invokes47B4B0 at42A016 without resetting that sphere context. Therefore movement away from a previously accepted wall can replay 374 even when the new movement accepts no polygon. Zero delta skips dispatch. A fresh context on each attached move would silently lose this callback.

Jimmy374→42A660 first invokes full Player43AA40. For the bounded VR08 material IDs0/2/3/4, all probed grounded/mature combinations leave the body unchanged. The derived suffix clears horizontal swing globals4F82BC/C0, then detaches strictly when their incoming magnitude exceeds60; equality60 stays attached. The action latch is set by this same fast-contact branch. Detach429C10 zeros velocity, selects FALL, damps swing .96 and stops loop34; it adds no impulse. Ordinary ceiling370→472690 clears positive Y velocity and acceleration separately. Attached input later clears Vy unconditionally. After an attached callback the 429D00 tail still executes, including swing publication and pre-collision rope root. Normal frame/player update still runs after input returns.

Copied-original observations

artifacts/grappler-body-live/probe/wine.log ends GRAPPLER_BODY_COMPONENT_COMPLETE; private Wine32 probe exit0. Generated code uses copied original body/support/ray/static dispatcher, synthetic grid and callback counters. Its8 chained observations cover body wall+floor, support/ray preservation, stale replay, zero delta and the −.7 boundary.32 cases execute full 43AA40 then42A660 across four materials ×grounded ×mature ×fast/slow swing. A final case checks ceiling's independent positive-Y rules.41 observations and input/log hashes are retained in tests/GamePort.GrapplerLiveTests/original-body-reference.json. These are original-component execution with synthetic inputs, not whole-game, original scheduler, historical hardware or original render evidence.

Implemented bridge and limits

OriginalBodyPhysics retains its mutable StaticCollisionContext. MoveAttached requires the preceding body phase and reuses that object. LabSimulation invokes 370/374 after publication, feeds attached contact back to GrapplerGadget and continues ordinary player update. Normal physics wall callbacks also reach it. Bounded live admission adds only VR08, whose materials are independently guarded. Other actors/global sphere-context interleavings, dynamic pairs, special-material callbacks and other levels remain outside this integration. The per-player context is a bounded adapter, not a recovered general scene-global scheduler.