0x102 register-stepped-joy-callback
Opcode 0x102 (258), input. Investigated by OME, with high confidence (from investigation).
(action)(step)(target) — store a local code target for one logical action at one step of the stepped callback table, which op 0x104 dispatches.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | action | imm | read |
| 2 | step | imm | read |
| 3 | target | imm | 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 0x102): op_0x102_handler@0x420b40 stores operand 3 at ctx+0x6a36c + (step + (action + frame * 33) * 10) * 4 after testing 0 <= action < 32 and 0 <= step < 10, signed; a failed test throws {0x5a5c68, 0x10005}. The frame setup 0x40e740 fills the frame's 0x528 bytes of the table with 0xff, and 0x405400 (the scene reset and op 0xfc) the whole table.
Details
OME’s notes on it, as the registry keeps them.
The table has ten steps for each of 32 rows per script frame; the row of the action count is the idle callback's, as with op 0xfb. An action outside 0..31 or a step outside 0..9 throws a script error with flags 0x10005, the はい/いいえ box, worded SetKeyJumpExの第1引数が不正です. for either. A frame starts with every target -1. 創刻のアテリアル has 11 sites.