ov151 β€” overlay detail

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

containers: /ucc/act/stch_mdl.ofs, /ucc/act/stch_mdl_sub.ofs, /ucc/uccstich.lzs (+1 more)

ov151 ucc

containers: /ucc/act/stch_mdl.ofs, /ucc/act/stch_mdl_sub.ofs, /ucc/uccstich.lzs (+1 more)

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 151
File ID 151
RAM load address 0x021b1ba0
RAM size 11,072 bytes (0x2b40)
BSS size 0 bytes
On-disk compressed size 9,300 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 54
External calls 76
Jump tables 6
Data items 275
Code coverage 71% (7,874 of 11,072 bytes)

Reading the binary

The overlay ships on the cart at file ID 151 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 + 151 * 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_151.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/ov151.json; the per-overlay descriptive markdown is at notes/overlay_knowledgebase/ov151.md.

Embedded strings

No UTF-16 LE strings are embedded directly in this overlay's binary. Any text it displays at runtime comes from a container file loaded via the content cache.

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 54 functions
# Address Size Calls Strings Role hint
1 0x021b1f70 254 11 0 code
2 0x021b2094 66 2 0 code
3 0x021b20d8 58 2 0 code
4 0x021b211c 700 31 4 refs: /ucc/act/stch_mdl_sub.ofs \| /ucc/act/stch_mdl_sub.ofs \| /ucc/act/stch_mdl_sub.ofs \| /ucc/uccstich.lzs
5 0x021b2440 352 12 0 code
6 0x021b25a4 60 3 0 code
7 0x021b25ec 116 4 1 refs: /ucc/uccstichlst.ofs
8 0x021b2674 42 2 0 code
9 0x021b26a8 44 0 0 code
10 0x021b26dc 276 13 1 refs: /ucc/act/stch_mdl.ofs
11 0x021b2804 282 14 1 refs: /ucc/act/stch_mdl.ofs
12 0x021b2930 140 12 0 code
13 0x021b29bc 16 0 0 trampoline / small helper
14 0x021b29cc 262 13 0 code
15 0x021b2ae8 148 9 0 code
16 0x021b2b90 146 4 0 code
17 0x021b2c30 60 0 0 code
18 0x021b2c80 76 0 0 code
19 0x021b2cd0 84 1 0 code
20 0x021b2d2c 418 8 0 code
21 0x021b2ee4 132 6 0 code
22 0x021b2f6c 146 8 0 code
23 0x021b3008 204 6 0 code
24 0x021b30e0 110 6 0 code
25 0x021b315c 16 0 0 trampoline / small helper
26 0x021b3170 16 0 0 trampoline / small helper
27 0x021b326c 128 6 0 code
28 0x021b32f4 58 0 0 code
29 0x021b3448 184 7 0 code
30 0x021b3504 178 7 0 code
31 0x021b35bc 160 7 0 code
32 0x021b3660 192 10 0 code
33 0x021b372c 162 4 0 code
34 0x021b37ec 280 10 0 code
35 0x021b3924 258 8 0 code
36 0x021b3a44 164 3 0 code
37 0x021b3af0 114 3 0 code
38 0x021b3b6c 24 0 0 trampoline / small helper
39 0x021b3b8c 248 8 0 code
40 0x021b3c98 56 1 0 code
41 0x021b3cd4 190 13 0 code
42 0x021b3d94 92 3 0 code
43 0x021b3e40 22 0 0 trampoline / small helper
44 0x021b3e58 208 6 0 code
45 0x021b3f2c 362 16 0 code
46 0x021b40a4 104 5 0 code
47 0x021b4114 150 6 0 code
48 0x021b41b8 52 3 0 code
49 0x021b41f4 20 1 0 trampoline / small helper
50 0x021b4378 8 0 0 trampoline / small helper
51 0x021b444c 4 0 0 trampoline / small helper
52 0x021b4454 138 8 0 code
53 0x021b44ec 82 5 0 code
54 0x021b4568 12 1 0 trampoline / small helper

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source