adv_sfx_channel_table
Global of Himegari Dungeon Meister: the cell G:0x6242c, of type int[5], data-table, values SFX channel numbers (native manager channels 0..12).
SYSTEM4@0x1ca copies the inline table [0,4,5,6,9] here (op 0x64, copy-inline-int-array) on every boot. ADV scenes pass its cells as the channel operand of play-sound-effect (0xb4), schedule-sfx-start and sfx-start (0xb5): cell 1 (G[0x6242d] = 4, 37 scripts; SC0000@0xc31 preloads channel 4 in native's SFX trace) and cells 0 and 2 (G[0x6242c] = 0, 4 scripts; G[0x6242e] = 5, 7 scripts). No script uses cells 3 and 4. Frida's write capture misses op-0x64 copies, which once made G[0x6242d] look engine-owned (corrected 2026-11-05). A Godot direct-scene run is hosted by SYSTEM4, which copies it as on any boot.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
DEBUGADV | 24 | 0 | 0 |
SC0130 | 10 | 0 | 0 |
SC0000 | 8 | 0 | 0 |
SC0100 | 8 | 0 | 0 |
SC0240 | 8 | 0 | 0 |
SC0450 | 8 | 0 | 0 |
SP1368 | 8 | 0 | 0 |
SC0070 | 6 | 0 | 0 |
SC0190 | 6 | 0 | 0 |
SC0250 | 6 | 0 | 0 |
SP1239 | 6 | 0 | 0 |
SP1240 | 6 | 0 | 0 |
SP1241 | 6 | 0 | 0 |
SP1369 | 6 | 0 | 0 |
SC0050 | 4 | 0 | 0 |
SC0110 | 4 | 0 | 0 |
SC0490 | 4 | 0 | 0 |
SC0820 | 4 | 0 | 0 |
SP0183 | 4 | 0 | 0 |
$1$SC1260 | 2 | 0 | 0 |
SC0020 | 2 | 0 | 0 |
SC0120 | 2 | 0 | 0 |
SC0160 | 2 | 0 | 0 |
SC0220 | 2 | 0 | 0 |
SC0870 | 2 | 0 | 0 |
SC1530 | 2 | 0 | 0 |
SC1570 | 2 | 0 | 0 |
SP0051A | 2 | 0 | 0 |
SP0136 | 2 | 0 | 0 |
SP0180 | 2 | 0 | 0 |
SP0825 | 2 | 0 | 0 |
SP1350 | 2 | 0 | 0 |
SP1351 | 2 | 0 | 0 |
SP1352 | 2 | 0 | 0 |
SP1353 | 2 | 0 | 0 |
SP1354 | 2 | 0 | 0 |
SP1355 | 2 | 0 | 0 |
SP1356 | 2 | 0 | 0 |
SYSTEM4 | 0 | 0 | 1 |