0x2d5 mov-float
Opcode 0x2d5 (725), compute. Investigated by OME, with high confidence (from investigation).
(destination)(source) — destination = source, as a float.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | destination | g-float, l-float, l-float-ptr | write-float |
| 2 | source | imm, float, g-int, l-int, l-float, l-ptr | 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 | — |
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 0x2d5): op_0x2d5_mov_float@0x42dea0 stores the instruction length (5 dwords), fetches operand 2 as a float and writes it to operand 1. 創刻のアテリアル has 31,045 sites.
Details
OME’s notes on it, as the registry keeps them.
The operand comes through the float accessor (vm_operand_fetch_float), which leaves an integer exact on the x87 stack; vm_operand_write_float rounds it to a float once as it stores it, and so does the port. A float-pointer operand (type 0xd) is a local float reference (docs/engine-re.md, "Float cells as arrays, and float references").