# Crusader: No Remorse Movement System Reference ## Scope and Evidence The primary target is the Japanese Windows 9x build at `C:\RE\CRUSADER_JP_ISO\CRUSADER.EXE`, SHA-256 `037b7d2be829048a1b305eae15e7f78be72329af80425cc32e2f5fcee0ba5231`. Its address/name/comment map is `exports/CRUSADER_JP.EXE.xml`. The DOS executable is a separate NE build; `exports/src_remorse/CRUSADER.EXE.xml` and the DOS addresses below are consultation evidence, not proof that the JP build shares the same controls, selector meanings, timing, or animation behavior. Evidence is static. REA used Ghidra 12.1.4 on the JP PE. No runtime input trace or gameplay observation was made. The exported XML is useful for symbols and prior function analysis, but an XML function record is not equivalent to a procedure body successfully resolved by REA. Confidence labels used below: - **JP / REA:** directly returned by REA for the JP PE. - **JP / MCP:** directly inspected through read-only Ghidra MCP against the live JP PE. - **JP / export:** behavior recorded in the matching JP Ghidra XML, but not independently resolved as a procedure by the current REA session. - **DOS / comparison:** DOS behavior or address; useful for locating analogous code, not automatically portable to the JP build. - **Unresolved:** current evidence does not justify a behavior name or rule. ## System Outline The JP input path is process- and item-oriented rather than a single movement routine. The gameplay keyboard handler at `00416c7c` tracks input state, selects numeric action values, applies direction changes through `0040a004`, and calls `0044dc9c`. At entry it copies `DAT_0047b1da` into a local item-ID word and passes that word's address in `EAX` at four action-dispatch callsites. The dispatcher dereferences this hidden `EAX` input as the item ID; its explicit first argument is a separate control value. `00415678` updates `DAT_0047b1d6` and `DAT_0047b1da` together and performs item-record and viewport work using the selected value. The only direct writer found for `DAT_0047b1da` is this setter, and both identified callers pass item ID `1`; a small callback at `00418088` also copies `DAT_0047b1da` into `DAT_0047b1d6`. Thus `1` is the only keyboard target ID established by the current static references, but its definitive in-game identity and any indirect mutation remain unresolved. The JP export identifies `0044dc9c` as an item-action dispatcher: it switches over selectors `0x00`-`0x3f`, creates type-`0xf0` item processes, assigns selector-specific vtables, and applies item/process-state gates. Its individual selector meanings are explicitly unresolved in the export comments. Consequently, values such as `0x17`, `0x18`, `0x1c`, `0x1d`, `0x28`, `0x29`, `0x3a`, `0x3d`, and `0x3e` must be recorded as JP action selectors until their JP process bodies establish semantics. The same values have movement-animation names in the DOS animation enum, but numeric agreement alone is not a cross-build mapping. Live inspection of `0044dc9c` also confirms selectors `0`, `4`, and `0x3b` construct type-`0xf0` processes with vtables `0047f9a4`, `0047f974`, and `0047f254`, respectively. Their slot `+0` is the shared `00408874` callback; their slot `+4` targets are `004519d0`, `00451a20`, and `00452600`. These remain selector-specific process variants, not named movement behaviors. At the engine level, `0043efe0` runs `kernel_process_manager_update` (`0043c340`), which walks the process table and calls each eligible process object's primary vtable entry at `+0`. Its timer helper `00464390` converts `timeGetTime()` deltas into accumulated 10 ms ticks; the run loop stores the ticks elapsed across an update cycle in `DAT_00484368`. The type-`0x203` updater reads that value on a later cycle and clamps its integration factor to 1-4 ticks: values below 2 still use factor 1, with factors 2 and 3 at their respective thresholds and a maximum of 4. The startup call uses interval zero and no callback, so this loop does not impose a global frame delay; process flags, timer state, and scheduler gates still affect when callbacks run. Termination dispatch is separate from that per-cycle update: `Process_Terminate` (`00458980`) calls the process vtable at `+0x14`, then at `+4`, passing `EDX=0`. The type-`0x203` updater can enter this path through its own vtable slot `+8` at `0042b618` or `0042b63e`; its slot `+4` callback is therefore a termination callback, not a recurring movement update. ## JP Findings ### Input and Facing | JP address | Finding | Evidence / limit | |---|---|---| | `00416c7c` `input_keyboard_handle_gameplay_event` | Central gameplay key-event path. It copies `DAT_0047b1da` to local item-ID word `[EBP-0x30]`, queries tracked key states, handles multiple event families, calls the facing helper, applies a direction code, and dispatches action selectors. Four calls pass `&[EBP-0x30]` in `EAX` to `0044dc9c`; the dispatcher dereferences that input as its target item ID. At `00416dcc`-`00416e6d`, it queries navigation codes `0x26`, `0x28`, `0x25`, and `0x27` in rows 1 and 0, then `0x24`, `0x21`, `0x23`, `0x22`, and `0x6f` in row 1. | **JP / MCP and export.** Entry setup is at `00416caa`; action calls include `0041794e`, `00417a0c`, `00417a30`, and `00417ae7`. Helper `0043f7fc` indexes 16-bit key-state entries by key code and the low byte of its second argument, with `0xb` bytes per key and `0xb00` bytes per row. ID `1` is the only target value established by the current direct-reference scan; row meanings, action semantics, in-game identity, indirect mutations, and exact modifier effects remain unresolved. | | `00417b08` unbounded event-wrapper callback | Copies a 12-byte event record from `EBX` to local storage, invokes the JP cheat-sequence matcher `00418454`, and at `00417cb5` forwards the event-record pointer in `EDX` and saved context in `EAX` to `00416c7c`. The key-like byte is record offset `+1`. | **JP / MCP disassembly and xrefs.** `00417cb5` is the only direct callsite found for the gameplay keyboard handler; `00417b08` is referenced by a data-table entry at `0047e0bc`, with no direct code caller resolved. This exposes the event-record boundary but not the upstream key-code translation or the meaning of its fields. | | `0043f334` `input_keyboard_event_update` | Receives keyboard events from `win32_main_window_proc`, updates per-key timing/state, maintains a separate modifier word at `DAT_00482b76`, translates selected keypad virtual keys into navigation codes, translates characters with `GetKeyboardState`/`ToAscii`, and queues 12-byte records. The mapping is NumPad 0 `0x60` to Insert `0x2d`; NumPad 1 `0x61` to End `0x23`; NumPad 2 `0x62` to Down `0x28`; NumPad 3 `0x63` to Page Down `0x22`; NumPad 4 `0x64` to Left `0x25`; NumPad 6 `0x66` to Right `0x27`; NumPad 7 `0x67` to Home `0x24`; NumPad 8 `0x68` to Up `0x26`; NumPad 9 `0x69` to Page Up `0x21`; and NumPad decimal `0x6e` to Delete `0x2e`. NumPad 5 is not remapped in this block. | **JP / MCP decompilation and xrefs.** The window procedure calls it at `00445d34`, `00445d40`, and `00445d53`. Modifier-state handling covers virtual keys `0x10`, `0x11`, `0x12`, `0x14`, and `0x2d`. The event flag is derived from bit 31 of the second argument; interpreting it as a key-down/up flag follows the Win32 keyboard-message convention but is not runtime-confirmed. This establishes key translation and table mechanics, not the gameplay meaning of the action selectors or modifier combinations. | | `0043f334` `input_keyboard_event_update` | Receives keyboard events from `win32_main_window_proc`, updates per-key timing/state, maintains a separate modifier word at `DAT_00482b76`, translates selected keypad virtual keys into navigation codes, translates characters with `GetKeyboardState`/`ToAscii`, and queues 12-byte records. The mapping is NumPad 0 `0x60` to Insert `0x2d`; NumPad 1 `0x61` to End `0x23`; NumPad 2 `0x62` to Down `0x28`; NumPad 3 `0x63` to Page Down `0x22`; NumPad 4 `0x64` to Left `0x25`; NumPad 6 `0x66` to Right `0x27`; NumPad 7 `0x67` to Home `0x24`; NumPad 8 `0x68` to Up `0x26`; NumPad 9 `0x69` to Page Up `0x21`; and NumPad decimal `0x6e` to Delete `0x2e`. NumPad 5 is not remapped in this block. | **JP / MCP disassembly and data-use scans.** The window procedure calls it at `00445d34`, `00445d40`, and `00445d53`. The key-state array uses two `0xb00`-byte banks with `0xb` bytes per key entry; after keypad translation, output codes `0x21`-`0x2e` are assigned bank 1 and other codes default to bank 0. Each entry stores timing values at `+0`/`+4`, a 16-bit held-event count at `+8`, and an auxiliary byte at `+0xa`. `kernel_process_manager_update` scans 512 entries and emits held-key records with `0x42` then `0x10` millisecond thresholds. The gameplay handler polls arrow codes in both banks; the observed keyboard updater routes those codes to bank 1, so the source of bank-0 arrow state is not established. Modifier-state handling covers virtual keys `0x10`, `0x11`, `0x12`, `0x14`, and `0x2d`; the raw modifier masks are visible, but their gameplay effects are not established. The event flag is derived from bit 31 of the second argument; interpreting it as a key-down/up flag follows the Win32 keyboard-message convention but is not runtime-confirmed. This establishes translation, storage, and repeat timing, not action-selector or modifier semantics. | | `00415678` `runtime_mode_set` | On a mode change, copies the incoming word to both `DAT_0047b1d6` and `DAT_0047b1da`, then performs item-record checks and refreshes viewport state. Its two identified direct callers pass `1`, making that the only value observed at the setter. A small callback at `00418088` separately copies `DAT_0047b1da` into `DAT_0047b1d6`. | **JP / MCP and export.** Paired writes are at `00418655`/`0041865f`; the transition loads `EAX=1` at `00428e1a` before the call at `00428e1f`, and the cheat-option path loads `1` at `00415fbf` before `00415fc4`. A reference scan found no other direct writer to `DAT_0047b1da`; indirect mutation and definitive global semantics remain unresolved. The handler reads `DAT_0047b1da` at `00416caa`; facing, interaction, candidate-scan, and position-query paths also reference the pair. | | `00416a0c` `input_keyboard_adjust_facing` | When its guarded turn-key path runs, it adjusts a tracked direction, recomputes a 16-way direction from item coordinates, and stores the result. | **JP / REA and export.** The event/caller contract and direction field meaning are unresolved. Its references to item-marker helpers do not establish weapon aiming or target acquisition. | | `0040a004` `process_apply_direction_code` | Stores a low-nibble process direction at `+0x36`. Codes `0x10`-`0x12` resolve or adjust a base direction. Codes `0x11`/`0x12` change it by two slots when process flag `+0x4b` bit `0x40` is clear, or one slot when set; the result is masked to 16 directions. | **JP / REA and export.** The code and delta are visible; the gameplay names of the modes and flag are unresolved. | The direction updater is discrete, not evidence of a continuous angular speed. Do not substitute the DOS turn rates or infer a JP degrees-per-second value from these direction slots. ### Movement and Action Dispatch The handler at `00416c7c` assigns selectors including `0x01`, `0x02`, `0x04`, `0x0b`, `0x17`, `0x18`, `0x1c`, `0x1d`, `0x22`, `0x24`, `0x27`-`0x29`, `0x2e`, `0x3a`, and `0x3d`/`0x3e`. Some branches choose left/right variants from relative direction or item state; others gate on key state and current per-item fields. These are observed selector values, not yet named JP movement actions. The keyboard dispatcher passes the selected item ID through its item-action dispatcher; the type-`0xf0` constructor forwards its item-number argument to `Process_SetItemNo` (`004578c8`), which stores it at process `+2`. For the keyboard paths examined, the selected ID is `1`, though this does not establish that item `1` is the controlled avatar. `0044dc9c` accepts the selector and dispatches through a 64-entry switch. REA recovered cases including `0x17`, `0x18`, `0x1c`, `0x1d`, `0x22`, `0x24`, `0x28`, `0x29`, `0x3a`, `0x3d`, and `0x3e`; many paths construct a type-`0xf0` item process through `00407550` and install a selector-specific vtable. The export describes per-item process thresholds, optional replacement, tracked-item markers, and AutoFirer state as additional gates/effects. No selector should be renamed to walk, run, roll, crouch, or jump based only on the DOS enum. REA read the first 12 32-bit entries of the vtables below from the JP image. In each sampled table, the first entry is `00408874`, entries 3-12 match, and only the second entry varies. The process tick at `004076b0` dispatches slot `+0` to `00408874`; slot `+4` is not part of this recurring update path. All 13 listed slot-`+4` callbacks were disassembled through their returns in Ghidra. They share the same control flow: if the second argument has bit `0x04` set, the callback loads a selector-vtable-specific value into `EDX`, calls `resource_object_release_owned_allocation` (`00471ea4`) and `tracked_resource_release_thunk` (`00471ec4`), then returns. Otherwise it releases the process-owned arrays at `+0x24` and `+0x1c` through `dynamic_array_release_if_present` (`00446b34`); bit `0x02` additionally invokes `process_require_state_flag_4000` (`004578a0`), which enforces process-state flag `0x4000`. `Process_Terminate` (`00458980`) invokes slot `+0x14` at `00458b11`, then zeroes `EDX` and invokes slot `+4` at `00458b1b`. Thus the observed termination path takes the array-release branch and skips both optional branches. The only selector-specific difference is the value used by the bit-`0x04` resource-release branch; these callbacks are teardown hooks, not evidence for the selectors' action names or movement behavior. The separate selector-search virtual calls at `00439b6c`, `00439f4c`, and `0043a288` dispatch through search-record field `+0x26` and do not invoke these process-table callbacks. | JP selector | Installed vtable | Slot `+4` callback | `EDX` if argument bit `0x04` is set | |---|---|---|---| | `0x17` | `0047da60` | `0040a4e0` | `0047d98c` | | `0x18` | `0047da30` | `0040a530` | `0047d9a0` | | `0x1c` | `0047f614` | `00451fc0` | `0047f028` | | `0x1d` | `0047f5e4` | `00452010` | `0047f03c` | | `0x22` | `0047db80` | `0040a300` | `0047d914` | | `0x24` | `0047dc40` | `0040a1c0` | `0047d8c4` | | `0x27` | `0047f4f4` | `004521a0` | `0047f0a0` | | `0x28` | `0047f494` | `00452240` | `0047f0c8` | | `0x29` | `0047f464` | `00452290` | `0047f0dc` | | `0x2e` | `0047f3d4` | `00452380` | `0047f118` | | `0x3a` | `0047f2b4` | `00452560` | `0047f190` | | `0x3d` | `0047dac0` | `0040a440` | `0047d964` | | `0x3e` | `0047da90` | `0040a490` | `0047d978` | The `0x17`/`0x18` vtables are not exclusive to keyboard-selected actions. The dispatcher installs them at `0044e7e5`/`0044e84d`, and `item_process_probe_positions_and_update` also creates type-`0xf0` processes with these selectors/vtables at `004078f3`, `00407937`, `00407b00`, and `00407b44` while preparing per-item position probes. The probe path takes its item number from the source object's `+2` and direction from `+0x36`; the keyboard-dispatch path uses the selected item ID. In the constructor `00407550`, the item number is sent to `Process_SetItemNo`, selector `BX` is stored at `+0x34`, and direction `CL` at `+0x36`. The shared use supports treating these as reusable process/probe variants, not enough to name them as roll, walk, or another player action. Each callback has one analyzed data reference from its corresponding vtable slot `+4`; the table records the distinct `EDX` value loaded only on the optional bit-`0x04` path. This does not identify selector meanings. Selector-search virtual calls at `00439b6c`, `00439f4c`, and `0043a288` use the separate search-record field at `+0x26`. `00408874` is the shared first-slot process routine in the selector tables. It is called from `004076b0` and `00453c64`, and its body dispatches process methods at vtable offsets `+8`, `+0xc`, and `+0x2c`. The `00453c64` construction path installs the vtable at object `+0x2c` and explicitly invokes slot `+0`; the event dispatcher `0043d0c8` invokes slot `+0xc`. The shared routine queries shape collisions directly or through `00448bdc`'s step fallback according to process state, then invokes `00448818` when collision-result state is present. It also calls `00409ecc` in two process-state branches, which can feed position differences into the type-`0x203` delta helper. The selector-table slot `+8` callback at `0040984c` is invoked by this routine when the high word of process field `+0x32` is at least `0x40`; the gameplay keyboard handler also invokes the active item's slot `+8` at `004179be` before marking a dispatched process at `004179ec`. Callback `0040984c` conditionally calls `Process_Terminate` (`00458980`), which then invokes the selector-specific slot `+4` with `EDX=0`. These triggers establish timed/state-gated and keyboard-dispatch termination paths, but not whether they represent natural completion, interruption, or replacement. This confirms a shared process/collision route, not that every keyboard-selected action uses the same movement policy or that every path is the controlled avatar. `00408874` is the shared first-slot process routine in the selector tables. It is called from `004076b0` and `00453c64`, dispatches process methods at vtable offsets `+8`, `+0xc`, and `+0x2c`, and queries shape collisions directly or through `00448bdc`'s step fallback according to process state. It invokes `00448818` when collision-result state is present and calls `00409ecc` in two state branches, which can feed position differences into the type-`0x203` delta helper. The `00453c64` construction path explicitly invokes slot `+0`, while event dispatcher `0043d0c8` invokes slot `+0xc`. The selector-table slot `+8` callback at `0040984c` runs when the high word of process field `+0x32` is at least `0x40`; the gameplay handler also invokes the active item's slot `+8` at `004179be` before marking a dispatched process at `004179ec`. Callback `0040984c` conditionally calls `Process_Terminate` (`00458980`), which dispatches selector slot `+4` with `EDX=0`. These paths establish state-gated and keyboard-triggered termination, but not whether termination means natural completion, interruption, or replacement. This shared route does not establish that every keyboard-selected action uses the same movement policy or represents the controlled avatar. Additional process association evidence: `DAT_004955cc` is read as an item ID by type-`0x254` constructors `0041bcd8` and `0041be20` when they call `Process_SetItemNo`, and by type-`0xf0` egg-destination process `004244c8` while it saves, changes, and restores an item's coordinates during candidate checks. The adjacent `DAT_004955ce` is a separate action-state global. `viewport_render_node_update_bounds` (`00421700`) also consults `DAT_004955cc` only while processing render-node item ID `1`, using it to look up related item/shape data for bounds adjustment; this does not identify the global as the keyboard target or prove item identity. **JP / MCP data-use and decompilation.** The complete returned xref set has no direct `WRITE` reference. A save-restore code reference at `00459e8b` passes the address as an unused first argument to `0045112c`, whose body invokes a virtual `+0x0c` method using its second argument; it does not establish a setter. Indirect mutation remains possible. `0043120c` only compares a word through its incoming pointer against `DAT_0047b1d6` and is not a writer. The option helper `00450aed` updates an option-related item field or creates a type-`0x254` process, but does not establish the identity or setter for `DAT_004955cc`. Its item identity and relationship to the keyboard target remain unresolved. JP animation infrastructure is visible but is not yet linked to keyboard action variants or controlled-avatar displacement. `00429c00` constructs a type-`0x230` process; startup initialization at `00429d44` creates it. Its vtable at `0047e7a8` has a primary slot `+0` target at `00429e50`, which is a `RET`, and slot `+4` points to cleanup at `00429df0`. The visible-item animation helper `00420368` has one direct callsite, `00411fe7`, inside unbounded viewport/update code; its visible-frame work contains no demonstrated controlled-avatar coordinate update. This corrects the earlier “no direct callers” statement without establishing a link to movement. | Requested behavior | JP status | DOS comparison reference | |---|---|---| | Walk / run / reverse | JP selectors `0x01`, `0x02`, and several other values appear in the handler, but their movement semantics are not established by the resolved dispatcher evidence. | `Animation` enum in `exports/src_remorse/CRUSADER.EXE.xml`: walk `0x01`, small-weapon retreat `0x02`, run `0x03`; controller selection at `1130:12d6`. | | Crouch / kneel | JP handler emits values including `0x28`, `0x29`, and `0x2e`; semantic equivalence is unresolved. | DOS enum: kneel start/stop `0x28`/`0x29`, kneel poses `0x2e`/`0x2f`; controller pose selection at `1130:10cf`. | | Sidestep / slide | JP handler emits `0x1c`/`0x1d` in directional branches; do not yet label these as slides in the JP spec. | DOS enum names `0x1c`/`0x1d` slide left/right. | | Jump | JP handler emits `0x3a` under a gated branch; the JP action process meaning and airborne transition are not verified. | DOS enum names forward jump `0x38`, quick jump `0x3a`, and landing `0x3b`; DOS key handling includes a jump-forward replacement at `1130:2648`. | | Roll | JP handler emits `0x17`/`0x18` and `0x3d`/`0x3e` in separate branches; action-process names and interruption rules are unresolved. | DOS enum names combat rolls `0x17`/`0x18` and slow combat rolls `0x3d`/`0x3e`. | | Aim / target selection | The JP turn/facing helper recomputes a direction from coordinates, but this alone does not prove aiming, weapon readiness, firing, or target selection. | DOS angle/pose update `1130:10cf`; small crosshair update `1130:0708`; weapon readiness and firing are handled separately by `1130:2211` and `10e8:0252`. | ### Collision, Position, and Gravity | JP address | Finding | Evidence / limit | |---|---|---| | `00448174` `item_position_query_shape_collisions` | Initializes a shape-position query, scans nearby spatial items, and tests candidates for collision. | **JP / export** comment and REA body. The caller flags determine details; exact movement/contact policy is not fully established here. | | `00448818` `item_process_collision_contacts_and_events` | Processes a collision-query result, including item position/event state and linked contact records. | **JP / export** comment and REA body. Do not assume this matches the DOS hit/hurl response. | | `00448bdc` `item_query_shape_collision_with_step_fallback` | Wraps the shape collision query and conditionally retries at nearby vertical offsets for a step-compatible result. | **JP / REA** confirms the wrapper and its call to `00448174`; the XML comment describes the retries. Exact eligibility, probe geometry, and successful-position commit are not fully documented here. | | `004076b0` | Passes local sweep/result records to `00448bdc`; one successful-probe path forwards a record to `00448818`. On the action-construction path, it creates type-`0xf0` processes, installs the selected vtable, then dispatches that constructed process through slot `+0`. Other branches dispatch a process object's slot `+0`. The resolved body reads item X/Y/Z arrays into candidate records but has no direct writes to those arrays. | **JP / REA pseudocode and assembly; JP / MCP caller scans.** Four action-construction call sites dispatch to `00408874` for the selected tables. The contact helper `00448818` updates collision/event state and contact-process lists, not candidate coordinates. Direct caller scans for `00437768` and `0044fed4` show no type-`0xf0` or type-`0x250` updater call. The type-`0x203` table installed by `0042aa14` has slot `+0 = 0042ad04`; that updater conditionally commits a candidate when its `+0x3c` field is nonzero. All three located constructor callsites pass zero for `+0x3c`, so ordinary creation does not establish that commit branch. These are direct-call findings only; indirect effects, tick ordering, displacement formula, and controlled-item identity remain unresolved. | | `00408874` | Dispatches process methods at vtable offsets `+8`, `+0xc`, and `+0x2c`; collision-query paths can call `00409ecc` before dispatching later methods. It directly calls `004076b0` under a process-state gate. In turn, selected type-`0xf0` objects created by `004076b0` use selector tables `0047da60`, `0047da30`, `0047dac0`, or `0047da90` and dispatch slot `+0` to `00408874`, forming a conditional nested callback/probe path. | **JP / REA pseudocode and assembly.** Calls to `00409ecc` occur at `004095e9` and `00409669`; the call to `004076b0` is at `00408900`, and slot-`+0` dispatches are at `0040799f`, `00407b9a`, `00408063`, and `004084ef`. This does not establish a generic frame scheduler or identify every instance/state transition in the nested path. | | `0041b208` `position_query_build_candidate_and_dispatch` | Processes candidate positions through `0041a434` and conditionally `004656dc`; for candidates that pass its state checks, it can construct a type-`0x250` process through `00461cfc` and choose motion configuration via `00461e68`, `0046227c`, or `00462300`. Its direct caller instructions are `004072d2` in item-action resolver `004071a0` and `0042ca4e` in usecode dispatcher `0042c6ac`. The first derives a query from related-item/shape and catalog fields; the second loads a tuple from records reached through `+0xcc`. | **JP / REA pseudocode and call graph; JP / MCP callsites.** The candidate loop and configuration branches are in `ev_81ff8efe5d17f78a87ca2d4c780f0eb434766cacb408d260c6b2f6abe6b76c3d`; `004071a0`'s item/catalog flow is in `ev_c4f40db127f57c40786d1e7a3e2b9a8b9ffefa837fd3ef12226b8cd34a32bf0b`; caller/callee sets are `ev_1bfe64abe81422451c7e21e55f13d43089acd4da7b557652e4ab2dffee06c5ed` and `ev_611507b5c3f32c6dc782d9341e687775459e257bb6a7e1194f6ce9deb95725d4`. A fresh MCP caller scan and instruction windows verify callsites `004072d2`/`0042ca4e`. The builder compares its candidate-record item ID with `DAT_0047b1d6` at `0041b648`/`0041b731` and passes that ID into motion configuration, where equality selects a distinct step divisor; this establishes target-aware tuning for a matching item ID. It still does not prove the type-`0x250` process commits that item's world coordinates or represents avatar locomotion. | | `0041b208` `position_query_build_candidate_and_dispatch` | Processes candidate positions through `0041a434` and conditionally `004656dc`; for candidates that pass its state checks, it can construct a type-`0x250` process through `00461cfc` and choose motion configuration via `00461e68`, `0046227c`, or `00462300`. Its direct caller instructions are `004072d2` in item-action resolver `004071a0` and `0042ca4e` in usecode dispatcher `0042c6ac`. The first derives a query from related-item/shape and catalog fields; the second loads a tuple from records reached through `+0xcc`. | **JP / REA pseudocode and call graph; JP / MCP callsites.** The candidate loop and configuration branches are in `ev_81ff8efe5d17f78a87ca2d4c780f0eb434766cacb408d260c6b2f6abe6b76c3d`; `004071a0`'s item/catalog flow is in `ev_c4f40db127f57c40786d1e7a3e2b9a8b9ffefa837fd3ef12226b8cd34a32bf0b`; caller/callee sets are `ev_1bfe64abe81422451c7e21e55f13d43089acd4da7b557652e4ab2dffee06c5ed` and `ev_611507b5c3f32c6dc782d9341e687775459e257bb6a7e1194f6ce9deb95725d4`. A fresh MCP caller scan and instruction windows verify callsites `004072d2`/`0042ca4e`. The builder compares its candidate-record item ID with `DAT_0047b1d6` at `0041b648`/`0041b731` and passes that ID into motion configuration, where equality selects a distinct step divisor. `DAT_0047b1d6` is synchronized with keyboard target `DAT_0047b1da` by `runtime_mode_set` (the two located setter callers pass `1`) and callback `00418088`; therefore the candidate match is target-aware for the observed item-1 configuration. Separately, constructor `00461cfc` leaves the type-`0x250` item-ID field `+2` at the base initializer's zero value; no `Process_SetItemNo` call is present in the traced builder. This does not prove that the query process or its candidate represents the controlled avatar or commits that item's world coordinates. | | `00462994` | First entry in the type-`0x250` vtable at `004800f4`; the process manager invokes it indirectly through vtable slot `+0`. Its unbounded code region calls `00462414` at `00462f66`, configures motion at `00463124`, and calls `004624f0` at `00463204`. | **JP / MCP disassembly and data references.** The vtable's first DWORD is `00462994`; `0043c340` performs the primary virtual dispatch. The code region returns at `00463215`, but neither REA nor the live Ghidra database defines a function boundary there. This resolves call ownership without proving that the process represents the controlled avatar. | | `00461e68` `position_query_process_configure_motion` | Stores the requested mode/state and target coordinate tuple, derives component deltas and a step count from the maximum component distance, and applies bounded random offsets to eligible targets. It copies the target tuple to process fields `+0x70/+0x74`; deltas and stepping state occupy fields including `+0x58`, `+0x5c`, `+0x60`, `+0x6a`, and `+0x6c`. The candidate item ID passed by `0041b208` is compared with `DAT_0047b1d6`; equality selects a distinct step divisor according to the configured mode/state. Called from the type-`0x250` callback at `00463124`, in addition to the construction/configuration paths above. | **JP / MCP decompilation and disassembly.** Builder callsites `0041b623`/`0041b6d4` pass the candidate record's first word as the compared item ID; the equality branch is at `00461f92`. The tuple is stored as two 16-bit components and one byte component; the world-axis labels, units, mode meanings, and exact gameplay role of the fields remain unresolved. | | `00462414` `position_query_process_update` | Copies the process's pending position fields, may route a contact result through `00448818`, and calls `0046093c` to write a sprite-manager position when the process's sprite handle is valid. It also advances a mode-specific sprite frame or creates a related sprite process in selected modes. | **JP / REA and MCP.** Its owner is the type-`0x250` vtable method at `00462994` (call at `00462f66`), not an unresolved direct caller. The sprite-manager write is not proof of a write to the item's `g_item_x/y/z` arrays. | | `0046093c` `sprite_manager_set_world_position` | When any supplied component differs, writes the sprite record's two 16-bit position fields and byte component at offsets `+0x0a`, `+0x0c`, and `+0x0e`, then marks the old screen bounds dirty. | **JP / MCP decompilation.** This is a concrete sprite-record position commit; its relationship to item-world coordinates or controlled-avatar movement is not established. | | `004624f0` `position_query_process_step_toward_target` | Interpolates the source-to-target coordinate tuple in `ceil(max_component_distance / 0x10)` increments and tests each candidate through `00448174`, passing the type-`0x250` process's associated item ID from `+0x3c`. After a candidate query, it copies the selected item ID from process field `+0x9e` to `+0x75`; on the accepted path it passes that ID and the candidate-position record through `0041a434`, may scan nearby items through `004656dc`, plays a selector-associated sound, then terminates the process or removes its associated item. | **JP / REA and MCP.** At `004627cc`, the selected ID is passed to `0041a434`; that dispatcher forwards it to `0042b7a4`, which finds or creates a type-`0x203` process for the ID. The gravity updater has a conditional item-coordinate commit through `004327e0`/`00437768`, dependent on its optional `+0x3c` record pointer. All three located gravity constructor callsites pass null for that pointer, so this handoff alone does not demonstrate a coordinate commit. The selected process/item ID has not been equated to the keyboard target globals `DAT_0047b1da`/`DAT_0047b1d6`. | | `004624f0` `position_query_process_step_toward_target` | Interpolates the source-to-target coordinate tuple in `ceil(max_component_distance / 0x10)` increments and tests each candidate through `00448174`, passing the stored `+0x3c` value as a collision-query argument (its meaning is unresolved). After a candidate query, it copies the selected item ID from process field `+0x9e` to `+0x75`; on the accepted path it passes a local copy of its own item-ID field `+2` to `0041a434`, may scan nearby items through `004656dc`, plays a selector-associated sound, then terminates the process or removes its associated item. | **JP / REA and MCP.** The type-`0x250` constructor initializes item ID `+2` to zero and the traced builder does not assign another value. At `004627cc`, the stepper passes a pointer to that local `+2` copy; `0041a434` forwards the same record to `0042b7a4`, which uses its first word when creating a type-`0x203` process. Thus these nested processes share the type-`0x250` item-ID value (zero in the observed construction path); this is distinct from the candidate item ID matched against keyboard target `DAT_0047b1d6`. The gravity updater has a conditional item-coordinate commit through `004327e0`/`00437768`, dependent on its optional `+0x3c` record pointer. All three located gravity constructor callsites pass null for that pointer, so this path does not demonstrate a coordinate commit or controlled-avatar movement. | | `004624f0` `position_query_process_step_toward_target` | Interpolates the source-to-target coordinate tuple in `ceil(max_component_distance / 0x10)` increments and tests each candidate through `00448174`, passing the stored `+0x3c` value as a collision-query argument (its meaning is unresolved). After a candidate query, it copies the selected item ID from process field `+0x9e` to `+0x75`; on the accepted path it passes a local copy of its own item-ID field `+2` to `0041a434`, may scan nearby items through `004656dc`, plays a selector-associated sound, then terminates the process or removes its associated item. | **JP / REA and MCP.** The type-`0x250` constructor initializes item ID `+2` to zero; the traced builder and its motion-configuration helpers do not call `Process_SetItemNo` or otherwise assign a replacement item ID. At `004627cc`, the stepper passes a pointer to that local `+2` copy; `0041a434` forwards the same record to `0042b7a4`, which uses its first word when creating a type-`0x203` process. Therefore the nested type-`0x203` process receives the type-`0x250` item-ID value, zero if unchanged; this is distinct from the candidate item ID matched against keyboard target `DAT_0047b1d6`. The gravity updater has a conditional item-coordinate commit through `004327e0`/`00437768`, dependent on its optional `+0x3c` record pointer. All three located gravity constructor callsites pass null for that pointer, so this path does not demonstrate a coordinate commit or controlled-avatar movement. | | `004656dc` `position_state_dispatch_for_nearby_items` | Scans a nearby-item candidate path and calls `0041a434` with a computed scalar and the current position record. | **JP / REA pseudocode.** The call is direct; loop bounds and the physical meaning of the computed scalar remain unclear in the decompiler output. | | `0041a434` `position_state_dispatch_by_selector` | Shared selector/position dispatcher. A gated branch for state values `3` or `4`, after position/collision helper checks, computes two table-scaled values and calls `0042b7a4` with those values and a zero third component. | **JP / REA pseudocode and assembly.** At `0041b1cc`, `EDX` and `EBX` hold the two scaled values and `ECX` is zero; the helper adds them to gravity-process fields `+0x30`, `+0x32`, and `+0x34`. The updater applies those fields to item X/Y/Z arrays in that order, so this path adds to the X/Y rate-like components and zero to Z; scale and event semantics remain unresolved. | | `00409ecc` | In the shared process path, queries directional edge-overlap flags, then compares two five-byte sweep records. It sign-extends the differences of their 16-bit fields at `+0` and `+2` and subtracts their bytes at `+4`, passing those three deltas to `0042b7a4`; another state branch sets a process flag and invokes vtable slot `+0xc`. | **JP / REA pseudocode and assembly.** This maps record fields `+0/+2/+4` in order to the X/Y/Z rate-like accumulators `+0x30/+0x32/+0x34`; the updater multiplies those components by its update factor to form candidate coordinates. The input units and their event semantics remain unresolved. | | `0042aa14` `gravity_process_construct` | Constructs a type-`0x203` process, installs the table at `0047e878` as its vtable, and stores the final constructor argument at process `+0x3c`; updater `0042ad04` dereferences this field as a pointer to a three-component record. The table's first entry is `0042ad04`. | **JP / REA and MCP.** Located creation paths pass null for the optional record pointer. The record's role in the update remains unresolved. | | `0042aaec` `gravity_process_vtable_slot4` | Type-`0x203` vtable slot `+4`, reached from `Process_Terminate` (`00458980`) after slot `+0x14`, with `EDX=0`. Under outermost-Z and item-record gates, item ID `1` can dispatch selector `0x3b`, then selector `0` or `4` according to a per-item flag, followed by helper selector `0x8f`; shape codes `0x3a`, `0x3d`, `0x3e`, `0x17`, and `0x18` are excluded from that branch. An alternate branch can mark an existing type-`0xf0` process with flag `0x40`. | **JP / MCP decompilation and vtable evidence.** This is a termination callback, not a per-tick callback. Selector meanings, the gameplay event that terminates this process, and whether item ID `1` is the controlled avatar remain unresolved. | | `0042b7a4` `gravity_process_apply_position_delta` | If a type-`0x203` process exists, adds incoming signed values from `EDX`, `EBX`, and `ECX` to process fields `+0x30`, `+0x32`, and `+0x34`, respectively. If absent, it may create the process through `0042aa14` when the allocation gate passes. Its direct producers include collision sweep differences (`00409ecc`), the gated two-component position dispatcher (`0041a434`), two event-switch cases (`0042c6ac`), and the indexed position/usecode path ending at `00446a04`. | **JP / REA pseudocode and assembly.** The updater multiplies `+0x30/+0x32/+0x34` by its update factor and applies them to `g_item_x_by_id`, `g_item_y_by_id`, and `g_item_z_by_id` in that order; these are rate-like coordinate components, with units and precise time scale unresolved. `+0x36` is added into the Z component during updates (the updater-local constructor at `0042af76` initializes it to `2`). `00409ecc` maps record differences `+0/+2/+4` to X/Y/Z; `0041a434` adds two scaled components to X/Y and zero to Z. `0042c6ac` receives usecode opcode `0x0f` through `0042ddc8`; the meaning of its event IDs and of the `00446a04` position-query inputs remains unresolved. | | `0042c6ac` | Event/process switch dispatcher: cases `0x8e`, `0xbf`, `0xc2`, `0xc4`, `0xd6`, `0xf9`, `0x106`, `0x108`, `0x128`, and `0x12e` call `0042b7a4`; case `0x40` calls `0042b834`. | **JP / REA.** These switch values are observed dispatch cases; their event/gameplay meanings are unresolved. | | `0042b834` `gravity_process_create_for_item_if_needed` | Checks an indexed metadata record (byte 0 bit 0 clear and byte `+7` nonzero), then creates a type-`0x203` process only if none exists and the allocation gate passes. | **JP / REA.** The metadata fields' gameplay meaning and the created process's update behavior remain unresolved. | | `0044fed4` `item_update_position_and_marker` | Writes an item's X/Y/Z values to the item-coordinate arrays and updates its marker byte, then performs item-pool/tracked-item and viewport-cache maintenance. | **JP / MCP decompilation and caller scan.** Direct callers are `0042907d`/`004290ff` in `game_runtime_transition_dispatch`, three call sites in the type-`0xf0` egg-destination process at `00424551`, `00424623`, and `00424703`, and `0042d197` in `usecode_opcode_dispatch`. No direct call from the type-`0x250` or type-`0x203` update callbacks is established. | | `004244c8` `FUN_004244c8` | Type-`0xf0` vtable `0047e528` slot `+0`. It queries for an egg destination; on the `DAT_0047bed4` path it temporarily sets the item whose ID is stored in `DAT_004955cc` to the origin, tests candidate positions by setting the item to each candidate, and restores its saved coordinates when no destination is found. The failure path displays "No destination for this egg!"; the alternate path updates the map tile cache instead. | **JP / MCP boundary, decompilation, disassembly, and vtable evidence.** Constructor `00424764` installs this table and is called by `game_runtime_transition_dispatch` at `00429042`/`00429111` and `usecode_opcode_dispatch` at `0042d2d6`; another call is at `00429640` in unbounded code. This is an item-coordinate update on an egg-destination path, not evidence of ordinary locomotion or a gravity commit; the item's identity and relation to the controlled avatar remain unknown. | | `0042ad04` `gravity_process_update` | The live Ghidra MCP resolves the body `0042ad04`-`0042b673`. It reads the associated item's X/Y/Z and forms candidate coordinates using process `+0x30/+0x32/+0x34` multiplied by an update factor derived from `DAT_00484368`. Collision responses adjust, damp, reverse, or zero these components; `+0x36` is added into the Z component. It also dereferences the optional record pointer at process `+0x3c`; at `0042b09f`, when that pointer is non-null, it passes the item ID and a candidate X/Y/Z record to `004327e0`; otherwise it processes collision contacts through `00448818`. | **JP / MCP decompilation and disassembly.** `DAT_00484368` is derived from `timeGetTime()` in 10 ms quanta by the process-manager loop, and the updater uses thresholds up to four quanta for its factor. The three rate-like components map to item X/Y/Z arrays in order. `004327e0` queues/unlinks the item ID and calls `00437768`, which writes the item's X/Y/Z to those arrays before reinserting it into the spatial grid. This is a real but conditional item-world coordinate commit, although it does not call `0044fed4`. All three located constructor callsites (`0042af76`, `0042b811`, `0042b894`) pass null for `+0x3c`; no later non-null assignment is established, so whether a non-null record is supplied in ordinary gameplay remains open. The item's identity, coordinate units, and relation to the controlled avatar also remain unresolved. It may terminate through vtable slot `+8` (`Process_Terminate`, `00458980`). | | `004327e0` `item_restore_position_from_record` | Reads an item ID through its first argument, queues it for removal from its current spatial placement, then passes the supplied position record's X/Y/Z to `00437768`. | **JP / MCP disassembly and decompilation.** The call from `gravity_process_update` is at `0042b09f`; its item-ID input is the process's `+2` field and its position input is a local candidate record. | | `00437768` `item_grid_insert_item_at_position` | Inserts an item at the supplied X/Y/Z, directly writing `g_item_x_by_id`, `g_item_y_by_id`, and `g_item_z_by_id` and updating its spatial-cell linkage. | **JP / MCP decompilation.** Called by `004327e0` at `00432801`; this is the concrete coordinate-array write in the conditional gravity commit path. | Other JP process comments indicate item-position probing at `004076b0`, target-direction process creation/update at `00453500`/`004536ac`/`004538c0`, and direction selection at `00453c64`. They document NPC/process behavior and are not, by themselves, proof that the controlled avatar uses the same path. ## DOS Consultation Map These NE locations give detailed movement references for No Remorse, but remain a separate build from the primary JP PE target. | DOS address | Reference role | |---|---| | `1130:2211` | `Controller_HandleKeyEvent`: key-event entry and action/animation handoff. | | `1130:12d6` | `Controller_PickNextAnimByKeyevent`: chooses movement/pose actions from key state, current facing, weapon, and stance. | | `1130:10cf` | `Controller_UpdateAvatarAngle`: turn/aim-facing and combat/kneel pose selection. | | `10e8:0252` | `NPC_DoAnim`: requests an NPC/avatar animation, including weapon-size remapping. | | `1150:016f` | `AnimPrimitive_CheckToStartNewAnimation`: starts or transitions an animation process. | | `1150:1906` | `AnimPrimitiveProcess_Run`: advances animation metadata and applies frame displacement. | | `10e0:162f` | Grounded shape sweep with step-up retries. The DOS analysis records probes at start-Z `+8`, then `+9`, when its grounded/endpoint gates pass. | | `10e0:0b39` | Point-sweep path used directly for airborne frames; does not take the grounded step-up retry. | | `10e0:032e` | Candidate collision filtering and blocking-contact determination. | | `10e0:123a` | Commits resolved movement and queues eligible collision/contact processes. | | `1038:12a6` | `Item_Hurl`: reuses an existing type-`0x203` gravity process or creates one for a fall request. | | `1038:06d2` | `GravityProcess_Run`; see also downward sweep helper `1038:1131`. | ### DOS Controller and Action Detail | Roll | JP handler emits `0x17`/`0x18` and `0x3d`/`0x3e` in separate branches; action-process names and interruption rules are unresolved. | DOS controller `1130:12d6` chooses `0x17` or `0x18` in a direction-relative branch, adjusts the selected direction by four slots, and forwards the chosen animation through `10e8:0252`. The DOS enum names these combat rolls and identifies `0x3d`/`0x3e` as slow combat rolls. | At `1130:12d6`, `Controller_PickNextAnimByKeyevent` uses facing-relative advance/reverse and left/right turn paths in its NumLock mode; turn selection uses stand pose `0` when unarmed and combat stand `4` when armed. Its walk/run choice defaults to walk without a weapon and run with one, with Shift reversing that choice. Armed running selects animation `0x30` rather than the unarmed run `3`. These are DOS rules, not confirmed JP input semantics. The DOS animation enum and controller paths distinguish several movement/stance actions: reverse step `2`; slides `0x1c`/`0x1d`; kneel start/stop `0x28`/`0x29` and kneel poses including `0x2e`/`0x2f`; forward jump `0x38`, quick jump `0x3a`, and landing `0x3b`; combat rolls `0x17`/`0x18` and slow combat rolls `0x3d`/`0x3e`. `Controller_UpdateAvatarAngle` (`1130:10cf`) selects combat-stand or kneeling poses while updating facing. `Controller_HandleKeyEvent` (`1130:2211`) handles a separate Space-key weapon-ready transition; readiness persists after key release, while a later Space key-down can request firing. Pointer/crosshair target selection is a separate path. These enum/action names are evidence for DOS only and do not promote same-numbered JP selectors to those meanings. ### DOS Animation and Collision Integration The DOS animation process is also a movement integrator. `AnimPrimitiveProcess_Run` (`1150:1906`) reads direction-specific frame metadata, applies signed stride through the native direction projection, applies signed Z displacement and frame/flip state, then chooses grounded or airborne collision handling. Grounded frames use `AreaSearch_SweepShapeBetweenPointsWithStepUp` (`10e0:162f`): after a failed sweep, eligible level-Z destinations are retried at start-Z `+8`, then `+9`. Airborne frames use the direct point-sweep path (`10e0:0b39`) without those retries. A successful clipped sweep can commit the contact-resolved position; `AreaSearch_CollideMove` (`10e0:123a`) commits it and queues eligible collision/contact processes. Candidate blocking depends on the mover/candidate solid-mask intersection (`10e0:032e`), so recording a geometric contact is not alone proof that movement blocks. The DOS analysis identifies `GravityProcess_Run` (`1038:06d2`) and its downward-sweep helper (`1038:1131`). Vertical impacts use sweep mode 4 followed by `AreaSearch_CollideMove` (`10e0:123a`); response branches on controlled-NPC state and masks from the separate `g_itemStatus` table, with callback/termination paths and controlled-item rebound using `RandomVal`. Collision movement can also queue hit/got-hit processes. `Item_Hurl` (`1038:12a6`) reuses an existing type-`0x203` process or creates one with zero velocity, gravity 2, and a 20-tick sleep for a fall request. These response and initialization details do not establish an acceleration, terminal speed, or complete landing formula. None of the animation displacement, step-up, contact, or gravity details above has been confirmed for the JP PE. The DOS controller evidence also distinguishes turn/aim facing from weapon readiness. The controller can select stand/combat-stand or kneel poses while updating facing; a separate Space-key path requests weapon-ready poses and later firing. Map pointer/crosshair behavior and target acquisition are further separate. Keep these distinctions when using DOS addresses to guide JP follow-up. ## REA Evidence Ledger (This Pass) | Finding | Evidence and remaining limit | |---|---| | JP world-coordinate units are anchored to the spatial grid and renderer projection. | **Observed / static:** `item_grid_insert_item_at_position` (`00437768`) computes X/Y cell indices with `coordinate >> 9`, then indexes a 64-by-64 grid with 64 two-byte entries per row; this is 512 raw item-coordinate units per spatial cell. It writes the raw X/Y values to the item coordinate arrays. `item_test_projected_shape_bounds` (`004352b4`) loads those arrays and calls `isometric_project_world_xy_to_screen` (`004194c0`), which projects to screen X `(X-Y)/2` and screen Y `(X+Y)/4` minus the camera origins. Therefore, one raw X/Y unit contributes nominally 0.5 screen pixels horizontally and 0.25 vertically per axis; a 512-unit cell step projects to 256 horizontal and 128 vertical pixels. The bounds path subtracts the item's Z byte directly from projected screen Y, giving Z a 1:1 screen-coordinate offset. The gravity updater scales `+0x30/+0x32/+0x34` by the 1-4 accumulated-tick factor; `+0x34` is applied to item Z, then `+0x36 * factor` is subtracted from the Z rate. Thus `+0x34` is measured in Z-coordinate units per integration tick and `+0x36` changes that rate per tick; two located constructors pass 2 for `+0x36`, while the delta-created path supplies a caller-derived value. This resolves stored coordinate scale and encoded acceleration units, not physical distance, exact runtime cadence, or collision-dependent displacement. | 1. **Resolved statically; runtime interpretation remains open:** one JP X/Y spatial-grid cell is 512 raw item-coordinate units (`00437768`, `>>9`); rendering maps X/Y through screen X `(X-Y)/2` and screen Y `(X+Y)/4`, while item Z is subtracted 1:1 from projected screen Y (`004194c0`, `004352b4`). Thus `+0x30/+0x32` accumulate raw X/Y coordinate increments, `+0x34` is the Z-rate increment in stored Z units per integration tick, and `+0x36` changes that Z rate per tick. The updater applies a 1-4 accumulated 10 ms tick factor. Two constructor paths pass `2` for `+0x36`; a third supplies a caller-derived value. Actual wall-clock motion, scheduler jitter, and physical-world interpretation still require runtime evidence. | The gravity updater's integration factor has a 1-tick floor and 4-tick cap; scheduler ticks are 10 ms. | **Observed / static:** `00464390` divides elapsed `timeGetTime()` milliseconds by 10 before adding ticks to its accumulator; `0043efe0` records elapsed accumulated ticks in `DAT_00484368`. At `0042ad35`, the updater initializes the factor to 1; `0043120c` preserves `EDX`, and comparisons at `0042ad4b`-`0042ad70` raise the factor to 2, 3, or 4. Thus elapsed values 0/1, 2, 3, and 4+ produce factors 1, 2, 3, and 4 respectively. **Unknown:** relation of these factors to world-coordinate units and runtime scheduler jitter. | | `00409ecc` sweep-record differences enter `0042b7a4`, whose three inputs accumulate at `+0x30`, `+0x32`, and `+0x34`. | **Observed / static:** assembly `ev_5fe9cfb69e2986d02eac341c3198c0ae7aea95e29b261ab52e8753fd3c4a6129` and `ev_e69a4d345ab9e0032b842458c7f8bb3468fdde5e42c31af06be5ca40f5ac495a`; the updater applies these fields to X/Y/Z arrays in order and scales them by an update factor. **Unknown:** units and exact relation to velocity/displacement. | | `004624f0` routes the selected item ID and candidate record through `0041a434`, which can update a type-`0x203` process keyed to that ID. | **Observed / static:** pseudocode `ev_5a7dffd5732ac223a83eec5a072d7f920d589485ca7ea395ef0ef447148171da` and assembly `ev_718818c713074ff5f879f9d75e33a9a73180893fd83f5fd3c5cf966c1b8b039`; the selected-ID load and call are at `004626d1`/`004627cc`, and `0041a434` calls `0042b7a4` at `0041b1cc`. The type-`0x203` updater conditionally commits item coordinates through `004327e0`/`00437768`, dependent on its optional `+0x3c` record pointer; the three located constructor callsites pass null. **Unknown:** whether later state restoration or mutation can supply a non-null record and whether the selected item is the controlled avatar. | | Type-`0x250` position-query construction is reached from item-action and event/process paths; its primary callback is tied to vtable slot `+0`. | **Observed / static:** builder pseudocode `ev_81ff8efe5d17f78a87ca2d4c780f0eb434766cacb408d260c6b2f6abe6b76c3d`, resolver pseudocode `ev_c4f40db127f57c40786d1e7a3e2b9a8b9ffefa837fd3ef12226b8cd34a32bf0b`, and caller/callee sets `ev_1bfe64abe81422451c7e21e55f13d43089acd4da7b557652e4ab2dffee06c5ed` / `ev_611507b5c3f32c6dc782d9341e687775459e257bb6a7e1194f6ce9deb95725d4` establish construction/configuration. Calls to `00462414` and `004624f0` occur at `00462f66` and `00463204` inside the callback region at `00462994`; vtable `004800f4` points slot `+0` there and `0043c340` dispatches that slot. The `00462414` caller query is empty because the call is indirect. **Unknown:** scheduler ordering, process lifetime, controlled-avatar identity, and an item-coordinate commit from this path. | | The motion configurator `00461e68` is called from the type-`0x250` vtable callback. | **Observed / static:** call at `00463124` (`ev_09b742f174c8111b831ee9d17179aad3f3fe692281675c83ec8e5d878568c473`) is inside callback region `00462994`, reached by the process manager's slot-`+0` dispatch. **Unknown:** mode values and the exact gameplay role of its fields. | | The type-`0x250` vtable does not directly store its update/step helper routines. | **Observed / static:** bytes for table `004800f4` (`ev_6c8f788770226e925774a5214732bea1bedc39e024a284ef56651588304150f6`) show no `00462414` or `004624f0` target among its first 22 DWORDs; slot `+0x28` at `0048011c` points to `004632a0` (`ev_12ceec7f7f3e6428744ada7107d94f91bed749e3d4b7de5769fdef43958c4da7`), which decodes as a one-byte `RET` (`ev_939ba9ece40cf78984ea5a45451815878eb43a17f40bd65c2d29bea9f89a1c7d`). Their call owner is the slot-`+0` callback at `00462994`. **Unknown:** scheduler ordering, process lifetime, and the relationship between that callback and controlled-avatar movement. | | `0041a434` has four direct callers and can add two table-scaled components plus zero to the type-`0x203` process under state/helper gates. | **Observed / static:** pseudocode `ev_48d8a8a1f6854bb8ff9e175368b035a4db17ef58e20b2d29e651db60e844af04`, assembly `ev_eb9fa77842f4d0e79abdf59eb581b6b8e746ae7eac0893ba1595f06c28a3cd30`, and caller set `ev_b3fe8c473f5c8d7f62f1c134652fbe07b7ab89b2cb34cafce1e72feda77f0090`. The two components map to X/Y rate-like accumulators; selector-state semantics and scale remain unresolved. | | Usecode opcode `0x0f` dispatches to `0042c6ac`; separate indexed-position query path `0043496c` calls `00446a04`. | **Observed / static:** interpreter pseudocode `ev_c785cc091e2db58349425914db136481ccab4cf03a318447ca0e6fead9e59d5e`, `0042c6ac` pseudocode `ev_6d4183c28ac6b9ffe20cb2fc1892b372d73f1c6f7f81aa178bbbce8b888ce348`, caller set for `00446a04` `ev_5e23ef5cedd458eda8a5f4553bc29e092d22a47c9f1b4ec5608a3300d18d32a9`, and `0043496c` pseudocode `ev_fefa30f251400fe15ef34481ff7e74882e83d451f1899d7fb10bccd507766a5a`. **Unknown:** event IDs and position-query meaning. | | `0042ad04` is the type-`0x203` slot-`+0` updater and has a conditional item-coordinate commit. | **Observed / static:** live Ghidra MCP resolves the body at `0042ad04`-`0042b673`; it applies `+0x30/+0x32/+0x34` to X/Y/Z using an update factor, adds `+0x36` into the Z component, and when the optional `+0x3c` record pointer is non-null calls `004327e0`/`00437768` to commit item X/Y/Z and reinsert it into the spatial grid. Constructor `0042aa14` stores its first stack argument at `+0x3c`; the three located callers `0042af76`, `0042b811`, and `0042b894` all pass null. No additional direct store is established on this process path. A broad search also finds `00422fd2` writing a newly allocated object to another `[object+0x3c]`; the code is unbounded, but the allocated object is initialized by `surface_bitmap_buffer_initialize` at `004683e4`, so this is not evidence of a type-`0x203` field mutation. **Unknown:** units, whether another path supplies a non-null record, and whether this process belongs to the controlled avatar. | | Selected type-`0xf0` process variants dispatch slot `+0` to `00408874`; that routine can call `004076b0` under a state gate. | **Observed / static:** assembly `ev_df0fcbe95dabaa1dbf11405d811f45d87af8f43ca3d52d8a19cf8a9f32081225` and `ev_032cf6cfb23f04648fa9fb2d628f841e9aab93cb27d2cbdd2c7fc815e44ba785`. **Unknown:** all nested-instance transitions and whether other process variants use the same path. | | Type-`0xf0` egg-destination process `004244c8` can write item coordinates while checking candidate destinations. | **Observed / static:** Ghidra MCP boundary `004244c8`-`00424763`, calls to `0044fed4` at `00424551`, `00424623`, and `00424703`, vtable `0047e528` slot `+0`, failure string "No destination for this egg!", and constructor call paths from transition/usecode dispatch. **Unknown:** successful destination semantics and whether the referenced item is the controlled avatar. | | `00420368` updates visible-item shape/frame state; its only located direct call is at `00411fe7` inside an unbounded viewport/update region. | **Observed / static:** pseudocode `ev_ebdf672cada4a653caf1d053c384f96d6c13d20b986035c36c2db01cab7007e3`, callees `ev_be3105aecbd3bdb5017a46c5d2b69eec0879855da8bc67ef98bf814092870a96`, and caller set `ev_c76e6d6464340d999908595c6ecaaeeaf376b4bdae44ea01b65275f7d71a97d9`, plus a fresh MCP direct-call scan. **Unknown:** ownership/meaning of the callsite, indirect callback relationships, and any animation-driven displacement. | | Gravity slot `+4` is a termination callback that may dispatch follow-on item-action processes for item ID `1`. | **Observed / static:** vtable `0047e878` maps `+0/+4/+8` to `0042ad04`/`0042aaec`/`00458980`; `Process_Terminate` at `00458b0c`-`00458b1b` calls slot `+0x14`, then slot `+4` with `EDX=0`. The updater reaches slot `+8` at `0042b618` and `0042b63e`. The slot-`+4` body at `0042aaec` conditionally requests selectors `0x3b`, then `0` or `4`, for item ID `1`; no selector behavior name is established. **Unknown:** which gameplay events reach the terminal branches and whether item ID `1` is the controlled avatar. | ## Open Verification Items | The optional gravity record has no non-null value established by the located direct construction paths. | **Observed / static:** a fresh `get_xrefs_to(0x0042aa14)` query returned exactly three direct constructor callers: `0042af76`, `0042b811`, and `0042b894`; their call setup passes null for `+0x3c`. This bounds the result to direct xrefs and inspected call arguments, not indirect field mutation. | | Window input separates keyboard and mouse paths; cursor positioning remains screen-space evidence only. | **Observed / static:** `00445ba8` routes keyboard events through the keyboard updater and mouse events through process listeners. `0044a400` changes the Windows cursor position and queues screen-space state. **Unknown:** world-coordinate targeting and any controlled-avatar relation. | | AutoFirer creation is separate from facing and position-query work. | **Observed / static:** `00418910` creates a type-`0x260` AutoFirer process. Resolver `004071a0` gates its creation/toggle, then proceeds separately into position-query work. This does not establish weapon-ready or firing semantics. | | Keyboard dispatch can trigger process termination, but lifecycle meaning remains unknown. | **Observed / static:** the gameplay handler invokes the active item's slot `+8` before dispatching a new action; `0040984c` can call `Process_Terminate` (`00458980`), whose termination path invokes slot `+0x14` and then slot `+4` with `EDX=0`. This supports interruption/replacement as a possible trigger, not a complete lifecycle interpretation. | | `DAT_004955cc` has no direct writer established by the bounded reference search. | **Observed / static:** a fresh MCP `get_data_uses` query with operand scans returned reads/address uses but no direct `WRITE` xref; scanned direct operands load from the global. Inspected address-passing helpers did not establish a setter; adjacent `DAT_004955ce` is separate action-state data. Indirect mutation remains possible, so item identity and initialization path remain unresolved. | ## Open Verification Items 1. **Resolved statically; runtime interpretation remains open:** one JP X/Y spatial-grid cell is 512 raw item-coordinate units (`00437768`, `>>9`); rendering maps X/Y through screen X `(X-Y)/2` and screen Y `(X+Y)/4`, while item Z is subtracted 1:1 from projected screen Y (`004194c0`, `004352b4`). Thus `+0x30/+0x32` are raw X/Y coordinate increments and `+0x34/+0x36` use the stored Z/screen-height unit; the updater scales them by 1-4 accumulated 10 ms ticks, and `+0x36` reduces the Z rate. Two constructor paths pass `2` for `+0x36`; a third supplies a caller-derived value. Actual wall-clock motion, scheduler jitter, and physical-world interpretation still require runtime evidence. 2. **Partially resolved:** all three located type-`0x203` constructor callers pass null for `+0x3c`; no later non-null assignment is established in the inspected direct paths. The traced type-`0x250` constructor initializes item-ID field `+2` to zero, and its builder/configuration path has no `Process_SetItemNo` call; if unchanged, the nested type-`0x203` path receives zero. Candidate-ID comparison is target-aware for the observed value `1`. **Unresolved:** unlocated or indirect assignments, collision-query `+0x3c` meaning, and proof of controlled-avatar coordinate commit. 3. **Partially resolved:** `00409ecc` maps its three sweep-record differences to X/Y/Z rate-like accumulators, and `0041a434` adds two table-scaled components to X/Y with zero to Z. The source values' semantics and units, and the scaling meaning, remain unresolved. 4. **Partially resolved:** `0043f334` assigns translated navigation/editing codes `0x21`-`0x2e` to bank 1, stores timing/count data in 11-byte entries, and the process manager uses `0x42`/`0x10` ms held-key thresholds. The gameplay handler's bank-0 arrow queries have no identified producer. Modifier effects and action meanings remain unresolved. 5. **Partially resolved:** `00416a0c` is a facing/tracked-item path, not proof of weapon aim. AutoFirer is a separate type-`0x260` process created by `00418910`; resolver `004071a0` gates its creation/toggle and separately proceeds into position-query work. `00445ba8` separates keyboard and mouse event routing, while `0044a400` establishes only Windows cursor/screen-space handling. Weapon-ready, firing, and world-pointer targeting semantics remain unresolved. 6. **Partially resolved:** the type-`0x230` primary callback at `00429e50` is a `RET`; `00420368` changes visible render/frame state and is called at `00411fe7` from viewport/update code. No controlled-avatar displacement link is established. 7. **Blocked:** REA rejected workspace `CRUSADER_NE.EXE` as an unsupported format, and the live Ghidra project is locked by the existing GUI instance. No JP/DOS branch comparison was made in this pass. Resume only with a supported DOS export/analysis route or after the user makes the DOS program available in the existing Ghidra session. 7. **Partially resolved:** the DOS controller's roll path at `1130:12d6` selects animation `0x17` or `0x18` from a direction-relative calculation and adjusts direction by four slots before passing the animation through `10e8:0252`. In JP, `00416c7c` passes the same numeric values to `0044dc9c` as item-action selectors; their type-`0xf0` vtables are also reused by position probes. This is not enough to equate the actions across builds. More branches remain to compare; the DOS program is now available in the existing Ghidra session. 8. **Blocked on runtime access:** no controlled JP gameplay session or input trace was available; all current conclusions remain static-analysis findings. 9. **Partially resolved:** `00408874` invokes selector-table slot `+8` (`0040984c`) when the high word of process field `+0x32` is at least `0x40`; the keyboard handler invokes the active item's slot `+8` before new action dispatch. `0040984c` can call `Process_Terminate` (`00458980`), which invokes slot `+0x14` and then selector-specific slot `+4` cleanup with `EDX=0`. These triggers do not distinguish completion from interruption or replacement. Generic `+4` calls through selector-search records are a separate interface. 10. **Partially resolved:** `DAT_004955cc` is used as an item ID in the egg-destination and type-`0x254` paths, but its item identity is unknown. The fresh returned reference set contained no direct `WRITE` xref, and inspected address-passing helpers did not establish a setter. This bounded negative search does not exclude indirect mutation; initialization and relationship to the keyboard target remain open.