ov147 β€” overlay detail

DS game only γ¨γ‚“γŒγ‚Šγƒœγ‚¦γ‚·γ¨γŠγ—γ‚ƒγ‚Œγͺまほう぀かい The field guide documents the DS game's internals.

containers: /ucc/uccroll.lzs

ov147 ucc

containers: /ucc/uccroll.lzs

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.

Overlay ID 147
File ID 147
RAM load address 0x021b1ba0
RAM size 5,888 bytes (0x1700)
BSS size 0 bytes
On-disk compressed size 5,252 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 32
External calls 57
Jump tables 3
Data items 100
Code coverage 68% (3,994 of 5,888 bytes)

Reading the binary

The overlay ships on the cart at file ID 147 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 + 147 * 0x20, allocates the destination RAM region at 0x021b1ba0, decompresses the body in-place (if compressed), and resolves any external relocations.

To inspect this overlay outside the running game, decompress overlay/overlay_147.bin with ndspy.codeCompression.decompress() (Python ndspy library) and load the resulting plaintext into Ghidra or IDA at base address 0x021b1ba0. The raw Ghidra auto-analysis dump used to populate this page lives at notes/overlay_knowledgebase/raw/ov147.json; the per-overlay descriptive markdown is at notes/overlay_knowledgebase/ov147.md.

Embedded strings

4 UTF-16 LE strings 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.

0x021b214c `ε’ζ’ι Œι¨„γƒžε€‘ι€Œ`
0x021b2b1d `摐睫モ揿`
0x021b2c61 `ζ‡‘ζ€œγ–ε˜œ`
0x021b2c7b `ζ Ήζ…ζ€œγ–ε˜œθ“Ά`

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.

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.

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 32 functions
# Address Size Calls Strings Role hint
1 0x021b1e40 22 0 0 trampoline / small helper
2 0x021b1e58 242 12 0 code
3 0x021b1f58 10 0 0 trampoline / small helper
4 0x021b1f6c 28 1 0 trampoline / small helper
5 0x021b1f88 592 20 0 code
6 0x021b21e4 36 2 0 trampoline / small helper
7 0x021b2208 6 0 0 trampoline / small helper
8 0x021b2210 114 7 0 code
9 0x021b23b4 410 20 0 code
10 0x021b2554 38 1 0 trampoline / small helper
11 0x021b257c 98 1 0 code
12 0x021b25e4 140 7 0 code
13 0x021b2680 16 0 0 trampoline / small helper
14 0x021b2694 16 0 0 trampoline / small helper
15 0x021b26b4 22 2 0 trampoline / small helper
16 0x021b26cc 146 8 0 code
17 0x021b2760 18 0 0 trampoline / small helper
18 0x021b2778 90 2 0 code
19 0x021b27dc 280 4 0 code
20 0x021b28f8 22 0 0 trampoline / small helper
21 0x021b2910 84 3 0 code
22 0x021b2968 338 1 0 code
23 0x021b2ac8 246 11 0 code
24 0x021b2bcc 280 17 1 refs: /ucc/uccroll.lzs
25 0x021b2cf0 64 2 0 code
26 0x021b2d38 60 1 0 code
27 0x021b2d80 304 8 0 code
28 0x021b2ec0 50 2 0 code
29 0x021b2ef8 24 0 0 trampoline / small helper
30 0x021b2f14 22 0 0 trampoline / small helper
31 0x021b2f2c 18 0 0 trampoline / small helper
32 0x021b2f40 158 12 0 code

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source