$2$CGINIT
Script $2$CGINIT.BIN of Kamidori Alchemy Meister: id 0x2000105, 101 instructions, fingerprint 31f6358d6799.
A layer: the game mounts it over CGINIT, the base script it writes over.
What its base script does, from OME’s notes on it:
The CG gallery. Built at boot.
Source: docs/kamidori-data-tables.md (Table inventory)
Calls
Called by $2$AUTORUN.
It calls no script by a constant id.
Globals
The named globals its instructions read, write or index (take as an array’s base), with how many operands do each.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
gallery_image_assets | 0 | 34 | 0 |
gallery_page_ids | 0 | 21 | 0 |
gallery_slot_ids | 0 | 21 | 0 |
gallery_variant_ordinals | 0 | 21 | 0 |
gallery_thumbnail_asset_ids | 0 | 3 | 0 |