Header
Numeric metadata for this overlay as read from the overlay table at ROM
offset 0x8DE00 (per-entry stride 32 bytes). Function
counts, data-item counts, and the call-graph fan-out are from a Ghidra
11.3.1 headless auto-analysis pass.
Reading the binary
The overlay ships on the cart at file ID 38 under the BLZ code-LZ compression wrapper (the same backward-LZ scheme Nintendo uses for executable ARM9 code).
At load time the engine reads the overlay table entry at ROM offset
0x8DE00 + 38 * 0x20, allocates the destination
RAM region at 0x02155a00, decompresses
the body in-place (if compressed), and resolves any external
relocations.
To inspect this overlay outside the running game, decompress
overlay/overlay_038.bin with
ndspy.codeCompression.decompress() (Python ndspy library)
and load the resulting plaintext into Ghidra or
IDA at base address 0x02155a00. The
raw Ghidra auto-analysis dump used to populate this page lives at
notes/overlay_knowledgebase/raw/ov038.json;
the per-overlay descriptive markdown is at
notes/overlay_knowledgebase/ov038.md.
Embedded strings
1 UTF-16 LE string live inside this overlay's compiled binary. These addresses are absolute (inside the overlay's RAM image after load). The text is stored as little-endian UTF-16 code units, NUL-terminated.
Container references
Distinct container basenames referenced by this overlay. Each is loaded via the content cache by passing the basename string to a lookup that resolves it to a file ID in the ROM's FAT. The path column shows the file's location in the clean extract, where resolved.
-
picturebookβdata/2d/picturebook.lzs
Unresolved
These container basenames appeared in the overlay's string table but no file of that name was found in the clean extract. Most are false-positive ASCII matches (function names, register maps, fragments of other strings); a few may be containers that the overlay names but never actually opens. Listed for completeness.
-
2d/picturebook.lzsβ no matching container found in clean extract
Function list
Functions Ghidra auto-identified inside this overlay's RAM range.
Names prefixed FUN_ are auto-generated from the function's
entry address; size is in bytes; the "calls" column counts both
intra-overlay branches and external ARM9 call targets. The "strings"
column counts how many UTF-16 LE strings each function references.
Show all 76 functions
| # | Address | Size | Calls | Strings | Role hint |
|---|---|---|---|---|---|
| 1 | 0x02155a00 | 152 | 5 | 0 | code |
| 2 | 0x02155b40 | 600 | 46 | 1 | refs: 2d/picturebook.lzs |
| 3 | 0x02155dc4 | 58 | 6 | 0 | code |
| 4 | 0x02155e00 | 740 | 33 | 0 | high-fan-out (likely dispatcher / setup) |
| 5 | 0x021560f0 | 38 | 4 | 0 | trampoline / small helper |
| 6 | 0x0215611c | 34 | 4 | 0 | trampoline / small helper |
| 7 | 0x02156144 | 42 | 4 | 0 | code |
| 8 | 0x02156174 | 160 | 7 | 0 | code |
| 9 | 0x0215621c | 68 | 2 | 0 | code |
| 10 | 0x02156264 | 56 | 1 | 0 | code |
| 11 | 0x021562a0 | 124 | 5 | 0 | code |
| 12 | 0x02156320 | 48 | 3 | 0 | code |
| 13 | 0x02156354 | 26 | 3 | 0 | trampoline / small helper |
| 14 | 0x02156374 | 10 | 0 | 0 | trampoline / small helper |
| 15 | 0x02156388 | 10 | 0 | 0 | trampoline / small helper |
| 16 | 0x0215639c | 506 | 23 | 0 | high-fan-out (likely dispatcher / setup) |
| 17 | 0x021565b4 | 156 | 9 | 0 | code |
| 18 | 0x02156668 | 62 | 3 | 0 | code |
| 19 | 0x021566ac | 76 | 2 | 0 | code |
| 20 | 0x021566f8 | 102 | 6 | 0 | code |
| 21 | 0x02156760 | 102 | 4 | 0 | code |
| 22 | 0x021567c8 | 28 | 3 | 0 | trampoline / small helper |
| 23 | 0x021567e4 | 34 | 4 | 0 | trampoline / small helper |
| 24 | 0x0215680c | 22 | 3 | 0 | trampoline / small helper |
| 25 | 0x02156824 | 34 | 4 | 0 | trampoline / small helper |
| 26 | 0x02156848 | 28 | 3 | 0 | trampoline / small helper |
| 27 | 0x02156868 | 34 | 5 | 0 | trampoline / small helper |
| 28 | 0x0215688c | 620 | 10 | 0 | code |
| 29 | 0x02156af8 | 24 | 0 | 0 | trampoline / small helper |
| 30 | 0x02156b10 | 168 | 2 | 0 | code |
| 31 | 0x02156bc0 | 76 | 1 | 0 | code |
| 32 | 0x02156c14 | 40 | 4 | 0 | code |
| 33 | 0x02156c3c | 40 | 4 | 0 | code |
| 34 | 0x02156c64 | 36 | 1 | 0 | trampoline / small helper |
| 35 | 0x02156c88 | 26 | 0 | 0 | trampoline / small helper |
| 36 | 0x02156ca4 | 60 | 2 | 0 | code |
| 37 | 0x02156ce0 | 98 | 3 | 2 | refs: picturebook \| picturebook |
| 38 | 0x02156d4c | 100 | 3 | 2 | refs: picturebook \| picturebook |
| 39 | 0x02156db8 | 24 | 2 | 0 | trampoline / small helper |
| 40 | 0x02156dd0 | 68 | 3 | 1 | refs: picturebook |
| 41 | 0x02156e1c | 10 | 0 | 0 | trampoline / small helper |
| 42 | 0x02156e2c | 30 | 3 | 0 | trampoline / small helper |
| 43 | 0x02156e4c | 44 | 1 | 0 | code |
| 44 | 0x02156e78 | 24 | 1 | 0 | trampoline / small helper |
| 45 | 0x02156e90 | 146 | 4 | 2 | refs: picturebook \| picturebook |
| 46 | 0x02156f30 | 30 | 1 | 0 | trampoline / small helper |
| 47 | 0x02156f50 | 46 | 3 | 0 | code |
| 48 | 0x02156f80 | 18 | 0 | 0 | trampoline / small helper |
| 49 | 0x02156f98 | 34 | 1 | 0 | trampoline / small helper |
| 50 | 0x02156fbc | 142 | 4 | 2 | refs: picturebook \| picturebook |
| 51 | 0x02157058 | 30 | 1 | 0 | trampoline / small helper |
| 52 | 0x02157078 | 54 | 3 | 0 | code |
| 53 | 0x021570b0 | 102 | 4 | 1 | refs: picturebook |
| 54 | 0x02157124 | 36 | 1 | 0 | trampoline / small helper |
| 55 | 0x0215714c | 58 | 3 | 0 | code |
| 56 | 0x0215718c | 112 | 3 | 2 | refs: picturebook \| picturebook |
| 57 | 0x0215720c | 8 | 0 | 0 | trampoline / small helper |
| 58 | 0x0215721c | 28 | 3 | 0 | trampoline / small helper |
| 59 | 0x0215723c | 80 | 3 | 1 | refs: picturebook |
| 60 | 0x02157298 | 28 | 1 | 0 | trampoline / small helper |
| 61 | 0x021572b8 | 140 | 6 | 0 | code |
| 62 | 0x02157348 | 68 | 3 | 1 | refs: picturebook |
| 63 | 0x02157398 | 8 | 0 | 0 | trampoline / small helper |
| 64 | 0x021573a8 | 94 | 6 | 0 | code |
| 65 | 0x0215740c | 12 | 0 | 0 | trampoline / small helper |
| 66 | 0x02157420 | 10 | 0 | 0 | trampoline / small helper |
| 67 | 0x02157434 | 164 | 4 | 2 | refs: picturebook \| picturebook |
| 68 | 0x021574e4 | 30 | 1 | 0 | trampoline / small helper |
| 69 | 0x02157504 | 104 | 6 | 0 | code |
| 70 | 0x0215756c | 60 | 1 | 0 | code |
| 71 | 0x021575a8 | 230 | 3 | 0 | code |
| 72 | 0x021576a0 | 254 | 4 | 0 | code |
| 73 | 0x021577ac | 8 | 0 | 0 | trampoline / small helper |
| 74 | 0x021577b8 | 216 | 7 | 0 | code |
| 75 | 0x021578a0 | 16 | 1 | 0 | trampoline / small helper |
| 76 | 0x021578b4 | 22 | 2 | 0 | trampoline / small helper |
Open questions & conflicts
Open questions / unknowns
- Auto-analysis identified 76 functions covering 7226 of 8512 overlay bytes.
- Function names are auto-generated `FUN_<addr>`. Manual renaming based on call-graph + string-ref analysis is a follow-up.
- BSS size is 0 bytes; Ghidra-imported overlay does not include BSS so any references into the BSS range appear as unresolved.
Conflicts with the prior shallow pass
- Partial overlap: prior-pass had `['picturebook']`; Ghidra adds `['2d/picturebook.lzs']`.
Source
- Per-overlay markdown:
notes/overlay_knowledgebase/ov038.md - Raw Ghidra dump:
notes/overlay_knowledgebase/raw/ov038.json - Overlay-system explainer: overlays system
- Plain-English overlay primer: overlay knowledgebase