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.

0x2ec string-to-int

Opcode 0x2ec (748), compute. Investigated by OME, with high confidence (from investigation).

(out)(string) — out = atol(string): the integer a string begins with, 0 when it begins with none.

Operands

#RoleTypes seenAccess
1destinationl-intwrite
2stringl-strread-string

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 Meisterno—
4.33G (SYS4433)Kamidori Alchemy Meisterno—
4.38D (SYS4438)Soukoku no Arterialyes1

Evidence

  • native-re on SYS4438, high confidence; Arterial SYS4438 Ghidra /arterial/4.38D and the complete Arterial catalog (vm-map/opcodes.toml opcode 0x2ec): op_0x2ec_string_to_int@0x42e460 reads operand 2 through vm_operand_read_string_buffer, calls the CRT's atol (0x585710, the routine vm_operand_fetch parses a string operand with) and writes the result to operand 1 through vm_operand_write.

Details

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

The port matches (NativeAtol over the string as the read-string accessor gives it). 創刻のアテリアル has 3 sites; TITLE@0x74d takes the version text's first number.