0x1fc gfx-reset-transform-current
Opcode 0x1fc (508), draw. Investigated by OME, with high confidence (from investigation).
(handle) — get or create the retained object, clear its transform mark and set its current scale, rotation and translation matrices to identity.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | handle | imm, l-int | read |
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 | — |
4.33G (SYS4433) | Kamidori Alchemy Meister | no | — |
4.38D (SYS4438) | Soukoku no Arterial | yes | 1 |
Evidence
- native-re on SYS4438, high confidence; Arterial SYS4438 Ghidra /arterial/4.38D and the complete Arterial catalog (
vm-map/opcodes.toml opcode 0x1fc): op_0x1fc_handler@0x421dc0 passes operand 1 to 0x494bd0, which calls gfx_object_get_or_create, zeroes obj+0x68, writes the identity matrix at obj+0x6c, +0xec and +0x16c, and sets the manager's dirty flag (+0xb58c).
Details
OME’s notes on it, as the registry keeps them.
Native clears obj+0x68 and writes identity to the three matrices at obj+0x6c, +0xec and +0x16c; the axis and angle floats at obj+0x1ec..0x204 and the channel targets are left alone. The port keeps a rotation as its axis and angle: it keeps the axis and sets the angle to 0, so a later read of the current rotation gives angle 0 where native gives the angle last set. 創刻のアテリアル has 5 sites; neither Himegari nor Kamidori calls it.