ov071 β€” overlay detail

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

containers: saleranking

ov071 general_2d_ui

containers: saleranking

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 71
File ID 71
RAM load address 0x021597a0
RAM size 2,880 bytes (0xb40)
BSS size 0 bytes
On-disk compressed size 2,288 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 22
External calls 48
Jump tables 1
Data items 66
Code coverage 82% (2,364 of 2,880 bytes)

Reading the binary

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

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 22 functions
# Address Size Calls Strings Role hint
1 0x0215982c 60 7 0 code
2 0x02159870 440 28 1 refs: saleranking.lzs
3 0x02159a5c 16 0 0 trampoline / small helper
4 0x02159a6c 42 5 0 code
5 0x02159a98 26 1 0 trampoline / small helper
6 0x02159ab8 64 4 0 code
7 0x02159b00 26 3 0 trampoline / small helper
8 0x02159b20 10 0 0 trampoline / small helper
9 0x02159b34 10 0 0 trampoline / small helper
10 0x02159b48 314 10 0 code
11 0x02159c90 218 13 3 refs: saleranking \| saleranking \| saleranking
12 0x02159d80 66 5 0 code
13 0x02159dc4 144 7 0 code
14 0x02159e54 150 6 0 code
15 0x02159ef4 90 3 0 code
16 0x02159f58 132 2 0 code
17 0x02159fe8 106 4 0 code
18 0x0215a060 132 3 0 code
19 0x0215a0e8 92 3 0 code
20 0x0215a150 188 3 0 code
21 0x0215a210 16 1 0 trampoline / small helper
22 0x0215a224 22 2 0 trampoline / small helper

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source