ov097 β€” overlay detail

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

(no containers/strings -- pure code)

ov097 game_mode_logic

(no containers/strings -- pure code)

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 97
File ID 97
RAM load address 0x0215c540
RAM size 4,416 bytes (0x1140)
BSS size 0 bytes
On-disk compressed size 3,860 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 24
External calls 34
Jump tables 2
Data items 93
Code coverage 72% (3,176 of 4,416 bytes)

Reading the binary

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

To inspect this overlay outside the running game, decompress overlay/overlay_097.bin with ndspy.codeCompression.decompress() (Python ndspy library) and load the resulting plaintext into Ghidra or IDA at base address 0x0215c540. The raw Ghidra auto-analysis dump used to populate this page lives at notes/overlay_knowledgebase/raw/ov097.json; the per-overlay descriptive markdown is at notes/overlay_knowledgebase/ov097.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

This overlay references no container files β€” it is pure code (or reads only from globals shared with the persistent ARM9 binary).

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 24 functions
# Address Size Calls Strings Role hint
1 0x0215c624 16 0 0 trampoline / small helper
2 0x0215c634 402 14 0 code
3 0x0215c7e4 340 10 0 code
4 0x0215c94c 24 0 0 trampoline / small helper
5 0x0215c964 286 12 0 code
6 0x0215ca94 10 0 0 trampoline / small helper
7 0x0215caa0 126 3 0 code
8 0x0215cb24 320 10 0 code
9 0x0215cc94 202 7 0 code
10 0x0215cd68 342 15 0 code
11 0x0215ced0 72 2 0 code
12 0x0215cf24 216 9 0 code
13 0x0215d010 126 2 0 code
14 0x0215d098 32 1 0 trampoline / small helper
15 0x0215d0b8 46 3 0 code
16 0x0215d0e8 52 1 0 code
17 0x0215d11c 94 7 0 code
18 0x0215d188 20 1 0 trampoline / small helper
19 0x0215d19c 38 1 0 trampoline / small helper
20 0x0215d1d0 176 2 0 code
21 0x0215d290 168 10 0 code
22 0x0215d360 24 1 0 trampoline / small helper
23 0x0215d380 32 1 0 trampoline / small helper
24 0x0215d3ac 12 1 0 trampoline / small helper

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source