0x22c set-gfx-range-translation-current
Opcode 0x22c (556), draw. Investigated by OME, with high confidence (from investigation).
(translate_x)(translate_y)(translate_z) — immediately replace the selected retained-gfx range transform's current translation matrix.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | translation X | l-int | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
| 2 | translation Y | l-int | — (by build: SYS4422 read; SYS4433 read-float; SYS4438 read-float) |
| 3 | translation Z | 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 | yes | 1 |
4.33G (SYS4433) | Kamidori Alchemy Meister | yes | — |
4.38D (SYS4438) | Soukoku no Arterial | no | — |
Evidence
- native-re on SYS4422, high confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (
vm-map/opcodes.toml opcode 0x22c): Ghidra /v2: op_0x22c_set_gfx_range_translation_current@0x423900 passes the three integer operands as floats to gfx_range_transform_set_translation_current@0x472d00, which builds owner+0x594. FIELD computes (400-camera_x, 300-camera_y, 0), making the selected map anchor land at screen center; LOOK uses the same camera helper.