0x22e set-gfx-range-rotation-target
Opcode 0x22e (558), draw. Investigated by OME, with high confidence (from investigation).
(delay_ms)(duration_ms)(axis_x)(axis_y)(axis_z)(angle_degrees) — animate the selected retained-gfx range transform's axis-angle rotation from its current matrix to the target.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | delay milliseconds | imm | read |
| 2 | duration milliseconds | imm | read |
| 3 | target rotation axis X | imm | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
| 4 | target rotation axis Y | imm | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
| 5 | target rotation axis Z | imm | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
| 6 | target rotation angle in degrees | imm | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
In the port
OME’s port implements it. It never waits: a wait parks the engine until input, a sleep, a transition, a dialog or a movie ends. What it can do with control besides waiting:
falls: it returns to the next instruction
OME derives these facts from the port’s handler (its tools/opcode_flow.py), and they over-approximate: a fact some path can reach is given.
By build
Whether each build’s scripts use it, as OME’s survey of the game’s scripts saw them, and how many evidence items name the build.
| Build | Game | Used by its scripts | Evidence |
|---|---|---|---|
4.24J (SYS4422) | Himegari Dungeon Meister | no | 1 |
4.33G (SYS4433) | Kamidori Alchemy Meister | yes | 1 |
4.38D (SYS4438) | Soukoku no Arterial | yes | — |
Evidence
- native-re on SYS4422, SYS4433, high confidence; Himegari SYS4422 Ghidra /v2 and Kamidori SYS4433 Ghidra /kamidori/SYS4433 (4.33F), addresses given for /kamidori/4.33G (
vm-map/opcodes.toml opcode 0x22e): SYS4422 op_0x22e_set_gfx_range_rotation_target@0x423a40 calls gfx_range_transform_set_rotation_target with delay/duration and four integer-to-float axis-angle operands; SYS4433 equivalents @0x421970 and @0x479020 use the same embedded-object fields and target matrix while accepting float-aware operands 3..6. Both workers arm the ordinary one-shot rotation channel, clear its shared start timestamp, and dirty the retained range. Kamidori has one all-immediate call at SC6400.BIN@0x4c33:(0,700,0,0,1,0).
Details
OME’s notes on it, as the registry keeps them.
The range transform is selected by opcode 0x229 and applies only to handles in that half-open range. This channel shares the embedded transform object's one-shot start clock with range scale and translation. SYS4422 fetches the four axis-angle operands through its integer reader; SYS4433 uses its float-aware reader. Kamidori's sole SC6400 call is all-immediate `(0,700,0,0,1,0)`, so both revisions have the same observable contract there.