ov030 β€” overlay detail

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

containers: 2d/mainmenu/mainmenu.lzs, 2d/mainmenu/title_pack.ofs, mainmenu

ov030 general_2d_ui

containers: 2d/mainmenu/mainmenu.lzs, 2d/mainmenu/title_pack.ofs, mainmenu

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 30
File ID 30
RAM load address 0x02155a00
RAM size 6,432 bytes (0x1920)
BSS size 0 bytes
On-disk compressed size 5,520 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 35
External calls 66
Jump tables 7
Data items 172
Code coverage 60% (3,890 of 6,432 bytes)

Reading the binary

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

0x021569f0 `橨ζ©ͺγͺ樰噖噖橦`

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 35 functions
# Address Size Calls Strings Role hint
1 0x02155a88 8 0 0 trampoline / small helper
2 0x02155b28 6 0 0 trampoline / small helper
3 0x0215614c 16 0 0 trampoline / small helper
4 0x0215615c 6 0 0 trampoline / small helper
5 0x02156164 254 6 0 code
6 0x02156268 776 26 0 high-fan-out (likely dispatcher / setup)
7 0x02156580 222 2 0 code
8 0x02156670 56 1 0 code
9 0x021566ac 46 1 0 code
10 0x021566dc 250 9 0 code
11 0x021567dc 228 0 0 code
12 0x021568e8 126 2 0 code
13 0x021569ac 34 1 0 trampoline / small helper
14 0x021569d4 124 7 0 code
15 0x02156a64 8 0 0 trampoline / small helper
16 0x02156a6c 12 0 0 trampoline / small helper
17 0x02156a78 178 11 0 code
18 0x02156b4c 82 2 0 code
19 0x02156ba0 98 2 0 code
20 0x02156c04 104 0 0 code
21 0x02156c6c 54 1 0 code
22 0x02156ca8 88 3 0 code
23 0x02156d04 48 2 0 code
24 0x02156d38 78 1 0 code
25 0x02156d8c 44 1 0 code
26 0x02156dbc 138 3 0 code
27 0x02156e50 214 6 0 code
28 0x02156f28 198 11 0 code
29 0x02156ffc 198 16 0 code
30 0x021570c8 40 4 0 code
31 0x021570f0 76 3 1 refs: mainmenu
32 0x02157154 52 5 0 code
33 0x02157188 8 0 0 trampoline / small helper
34 0x02157194 8 0 0 trampoline / small helper
35 0x021571a4 12 1 0 trampoline / small helper

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source