ov085 β€” overlay detail

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

containers: 2d/status/my.lzs

ov085 general_2d_ui

containers: 2d/status/my.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 85
File ID 85
RAM load address 0x021597a0
RAM size 5,984 bytes (0x1760)
BSS size 0 bytes
On-disk compressed size 5,156 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 40
External calls 96
Jump tables 3
Data items 120
Code coverage 91% (5,446 of 5,984 bytes)

Reading the binary

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

To inspect this overlay outside the running game, decompress overlay/overlay_085.bin with ndspy.codeCompression.decompress() (Python ndspy library) and load the resulting plaintext into Ghidra or IDA at base address 0x021597a0. The raw Ghidra auto-analysis dump used to populate this page lives at notes/overlay_knowledgebase/raw/ov085.json; the per-overlay descriptive markdown is at notes/overlay_knowledgebase/ov085.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 40 functions
# Address Size Calls Strings Role hint
1 0x021597a0 88 0 0 code
2 0x021597f8 118 17 0 code
3 0x02159874 1,312 73 1 refs: 2d/status/my.lzs
4 0x02159dec 30 2 0 trampoline / small helper
5 0x02159e0c 30 2 0 trampoline / small helper
6 0x02159e30 54 7 0 code
7 0x02159e68 710 44 0 high-fan-out (likely dispatcher / setup)
8 0x0215a13c 18 1 0 trampoline / small helper
9 0x0215a150 18 1 0 trampoline / small helper
10 0x0215a164 18 1 0 trampoline / small helper
11 0x0215a178 108 6 0 code
12 0x0215a1ec 44 0 0 code
13 0x0215a21c 64 6 0 code
14 0x0215a268 164 10 0 code
15 0x0215a318 44 1 0 code
16 0x0215a344 56 1 0 code
17 0x0215a380 78 5 0 code
18 0x0215a3d0 20 1 0 trampoline / small helper
19 0x0215a3e4 8 0 0 trampoline / small helper
20 0x0215a3f4 56 5 0 code
21 0x0215a42c 176 10 0 code
22 0x0215a4f4 28 2 0 trampoline / small helper
23 0x0215a514 24 0 0 trampoline / small helper
24 0x0215a530 16 1 0 trampoline / small helper
25 0x0215a544 52 3 0 code
26 0x0215a580 36 2 0 trampoline / small helper
27 0x0215a5a8 790 22 0 high-fan-out (likely dispatcher / setup)
28 0x0215a908 200 10 0 code
29 0x0215a9fc 76 4 0 code
30 0x0215aa50 26 1 0 trampoline / small helper
31 0x0215aa74 336 7 0 code
32 0x0215abe0 94 4 0 code
33 0x0215ac48 30 1 0 trampoline / small helper
34 0x0215ac68 54 3 0 code
35 0x0215aca0 42 1 0 code
36 0x0215accc 46 1 0 code
37 0x0215acfc 162 8 0 code
38 0x0215adac 42 2 0 code
39 0x0215add8 166 12 0 code
40 0x0215ae90 12 1 0 trampoline / small helper

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source