0x136 bit-reset
Opcode 0x136 (310), compute. Investigated by OME, with high confidence (from investigation).
(value)(bit_index) - clear the indexed bit in the destination integer.
Operands
| # | Role | Types seen | Access |
|---|---|---|---|
| 1 | — | g-int, l-int, l-ptr | read, write |
| 2 | — | imm, l-int, l-ptr | 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 | yes | 1 |
4.33G (SYS4433) | Kamidori Alchemy Meister | yes | — |
4.38D (SYS4438) | Soukoku no Arterial | yes | — |
Evidence
- native-re on SYS4422, high confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (
vm-map/opcodes.toml opcode 0x136): Ghidra /v2: op_0x136_handler@0x429730 fetches operand 2 as an unsigned bit index, traces RemBitの引数が不正です. for values >=32 and writes nothing (corrected 2026-11-17: no script error is thrown); otherwise it fetches operand 1 and writes value & ~(1 << index). HIDEWIN.BIN clears index 1 at 0x154 after testing mask 0x2.