ov032 — overlay detail

DS game only とんがりボウシとおしゃれなまほうつかい The field guide documents the DS game's internals.

containers: 2d/makechime.lzs, makechime

ov032 general_2d_ui

containers: 2d/makechime.lzs, makechime

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 32
File ID 32
RAM load address 0x02155a00
RAM size 10,240 bytes (0x2800)
BSS size 0 bytes
On-disk compressed size 8,220 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 65
External calls 50
Jump tables 4
Data items 227
Code coverage 80% (8,218 of 10,240 bytes)

Reading the binary

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

0x021567e0 `偪姩ぢ倩定`

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 65 functions
# Address Size Calls Strings Role hint
1 0x02155a00 136 1 0 code
2 0x02155a90 48 5 0 code
3 0x02155c34 16 0 0 trampoline / small helper
4 0x02155c44 614 42 0 high-fan-out (likely dispatcher / setup)
5 0x02155edc 310 19 3 refs: makechime.lzs \| makechime.lzs \| makechime.lzs
6 0x02156030 64 5 0 code
7 0x02156074 76 9 0 code
8 0x021560c4 182 15 7 refs: makechime.lzs \| makechime.lzs \| makechime.lzs \| makechime.lzs \| makechime.lzs \| makechime.lzs
9 0x0215619c 122 2 0 code
10 0x02156224 16 0 0 trampoline / small helper
11 0x02156238 12 0 0 trampoline / small helper
12 0x02156248 190 10 0 code
13 0x02156318 346 24 0 high-fan-out (likely dispatcher / setup)
14 0x021564a0 140 11 0 code
15 0x02156534 118 6 0 code
16 0x021565b8 126 11 0 code
17 0x02156648 78 1 0 code
18 0x021566a8 42 0 0 code
19 0x021566d8 36 0 0 trampoline / small helper
20 0x02156700 28 0 0 trampoline / small helper
21 0x02156720 62 4 0 code
22 0x02156768 198 6 0 code
23 0x02156854 96 3 0 code
24 0x021568b8 36 3 0 trampoline / small helper
25 0x021568dc 92 3 0 code
26 0x0215693c 270 22 0 high-fan-out (likely dispatcher / setup)
27 0x02156a74 70 6 0 code
28 0x02156ac0 68 6 0 code
29 0x02156b08 88 0 0 code
30 0x02156b6c 32 0 0 trampoline / small helper
31 0x02156b90 50 1 0 code
32 0x02156bc8 38 0 0 trampoline / small helper
33 0x02156bf4 34 0 0 trampoline / small helper
34 0x02156c1c 96 2 0 code
35 0x02156c80 6 0 0 trampoline / small helper
36 0x02156c88 40 5 0 code
37 0x02156cb0 36 1 0 trampoline / small helper
38 0x02156cdc 382 6 0 code
39 0x02156e64 52 5 0 code
40 0x02156e9c 154 6 0 code
41 0x02156f38 54 4 0 code
42 0x02156f80 114 5 0 code
43 0x02157008 196 6 0 code
44 0x021570d4 260 5 0 code
45 0x021571e8 280 6 0 code
46 0x02157314 210 11 0 code
47 0x021573fc 120 3 0 code
48 0x0215747c 366 18 0 code
49 0x02157604 184 1 0 code
50 0x021576c4 480 22 0 high-fan-out (likely dispatcher / setup)
51 0x021578d0 140 9 0 code
52 0x02157980 58 4 0 code
53 0x021579c8 58 4 0 code
54 0x02157a0c 22 1 0 trampoline / small helper
55 0x02157a28 212 13 0 code
56 0x02157b0c 60 0 0 code
57 0x02157b48 60 0 0 code
58 0x02157b84 116 3 0 code
59 0x02157bf8 96 1 0 code
60 0x02157c5c 106 1 0 code
61 0x02157cd0 114 5 0 code
62 0x02157d4c 244 8 1 refs: makechime.lzs
63 0x02157e58 12 0 0 trampoline / small helper
64 0x02157e68 44 0 0 code
65 0x02157e9c 12 1 0 trampoline / small helper

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source