Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

0x214 swap-gfx-objects

Opcode 0x214 (532), draw. Investigated by OME, with high confidence (from investigation).

(first_handle)(second_handle) — exchange the complete retained graphics-object records at two handles. If exactly one handle exists, move its record to the missing handle; if both are absent, leave the map empty.

Operands

#RoleTypes seenAccess
1first retained gfx object handlel-intread
2second retained gfx object handlel-intread

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.

BuildGameUsed by its scriptsEvidence
4.24J (SYS4422)Himegari Dungeon Meisterno1
4.33G (SYS4433)Kamidori Alchemy Meisteryes1
4.38D (SYS4438)Soukoku no Arterialyes—

Evidence

  • native-re on SYS4422, SYS4433, high confidence; Himegari SYS4422 Ghidra /v2 and Kamidori SYS4433 Ghidra /kamidori/SYS4433 (4.33F), addresses given for /kamidori/4.33G (vm-map/opcodes.toml opcode 0x214): SYS4422 op_0x214_swap_gfx_objects@0x423170 calls gfx_object_swap_records@0x47e310; SYS4433 equivalents are @0x4211c0 and @0x485000. Each worker looks up both handles, swaps complete records when both exist, inserts/copies/erases to move the sole record when exactly one exists, leaves two missing handles absent, and always raises the retained-gfx dirty flag. SYS4422 copies 0xb5 dwords per record; SYS4433 copies its expanded 0xb9-dword record. Kamidori has ten identical local-int signatures in SC0000, SC0710, SC0800, SC1050, SC1360, SC3030, SC3510, SC5550, SC6400, and SP6604; every site mirrors the two object swaps in a paired script metadata table.

Details

OME’s notes on it, as the registry keeps them.

Both-found swaps every object field, including surface binding, geometry, color, animation channels, matrices, cyclic state, and native persistence bytes. One-found inserts a complete copy at the other key and erases the original. Equal handles are unchanged. The retained manager is marked dirty in every case. Kamidori's ten sites each run this in a two-iteration loop and immediately swap the matching two metadata-table rows, confirming presentation-object reordering rather than a surface-resource operation.