ov145 — overlay detail

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

containers: tonosmahds, yVDLG69rcRjdgfN2

ov145 ucc_engine_slot

containers: tonosmahds, yVDLG69rcRjdgfN2

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 145
File ID 145
RAM load address 0x021b1ba0
RAM size 17,504 bytes (0x4460)
BSS size 128 bytes
On-disk compressed size 14,256 bytes
Compression flag 0x1 (BLZ-compressed)
Functions 118
External calls 87
Jump tables 5
Data items 300
Code coverage 46% (8,084 of 17,504 bytes)

Reading the binary

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

To inspect this overlay outside the running game, decompress overlay/overlay_145.bin with ndspy.codeCompression.decompress() (Python ndspy library) and load the resulting plaintext into Ghidra or IDA at base address 0x021b1ba0. The raw Ghidra auto-analysis dump used to populate this page lives at notes/overlay_knowledgebase/raw/ov145.json; the per-overlay descriptive markdown is at notes/overlay_knowledgebase/ov145.md.

Embedded strings

4 UTF-16 LE strings 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.

0x021b3a7c `惠亗兠妠ダ`
0x021b433b `氦賶峽ヶ`
0x021b4ef8 `項つ逅堨`
0x021b5e8d `低児卒啔坖奘慚换敤杦楨歪浬潮煰獲畴睶祸ぺ`

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 118 functions
# Address Size Calls Strings Role hint
1 0x021b1ba0 34 0 0 trampoline / small helper
2 0x021b1be0 14 0 0 trampoline / small helper
3 0x021b1bf0 4 0 0 trampoline / small helper
4 0x021b1bf4 20 1 0 trampoline / small helper
5 0x021b1c10 6 0 0 trampoline / small helper
6 0x021b1c18 4 0 0 trampoline / small helper
7 0x021b1c1c 10 0 0 trampoline / small helper
8 0x021b1c2c 12 1 0 trampoline / small helper
9 0x021b1c38 30 2 0 trampoline / small helper
10 0x021b1c58 38 2 0 trampoline / small helper
11 0x021b1c80 22 1 0 trampoline / small helper
12 0x021b1cb8 12 1 0 trampoline / small helper
13 0x021b1cc8 26 2 0 trampoline / small helper
14 0x021b1ce4 30 3 0 trampoline / small helper
15 0x021b1d04 22 2 0 trampoline / small helper
16 0x021b1d1c 36 3 0 trampoline / small helper
17 0x021b1d40 36 3 0 trampoline / small helper
18 0x021b1d64 36 3 0 trampoline / small helper
19 0x021b1d88 90 5 0 code
20 0x021b1de4 18 1 0 trampoline / small helper
21 0x021b1df8 42 1 0 code
22 0x021b1e24 44 1 0 code
23 0x021b1e50 16 1 1 refs: %012llu
24 0x021b20a8 6 0 0 trampoline / small helper
25 0x021b20e4 56 2 0 code
26 0x021b2220 58 4 0 code
27 0x021b225c 28 1 0 trampoline / small helper
28 0x021b2278 36 3 0 trampoline / small helper
29 0x021b229c 56 4 0 code
30 0x021b22d4 32 3 0 trampoline / small helper
31 0x021b239c 250 6 4 refs: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef \| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef \| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef \| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef
32 0x021b249c 234 0 0 code
33 0x021b259c 76 0 0 code
34 0x021b261c 16 0 0 trampoline / small helper
35 0x021b2658 32 2 0 trampoline / small helper
36 0x021b267c 200 13 2 refs: sdkdev.gamespy.com \| gamestats.gs.nintendowifi.net
37 0x021b2774 6 0 0 trampoline / small helper
38 0x021b2780 4 0 0 trampoline / small helper
39 0x021b2784 10 0 0 trampoline / small helper
40 0x021b2794 10 1 0 trampoline / small helper
41 0x021b27a0 12 0 0 trampoline / small helper
42 0x021b27b4 6 0 0 trampoline / small helper
43 0x021b27c0 28 1 0 trampoline / small helper
44 0x021b27e0 30 1 0 trampoline / small helper
45 0x021b2804 16 1 0 trampoline / small helper
46 0x021b2814 42 1 0 code
47 0x021b28e4 112 4 0 code
48 0x021b2968 22 1 0 trampoline / small helper
49 0x021b2984 38 2 0 trampoline / small helper
50 0x021b29b0 120 8 0 code
51 0x021b2a30 40 1 0 code
52 0x021b2a5c 8 0 0 trampoline / small helper
53 0x021b2aa4 68 3 0 code
54 0x021b2ae8 8 0 0 trampoline / small helper
55 0x021b2b24 38 0 0 trampoline / small helper
56 0x021b2b4c 22 0 0 trampoline / small helper
57 0x021b2b64 64 3 0 code
58 0x021b2ba4 30 0 0 trampoline / small helper
59 0x021b2bc4 676 23 0 high-fan-out (likely dispatcher / setup)
60 0x021b2eb4 84 6 0 code
61 0x021b2f0c 68 5 0 code
62 0x021b2f54 46 2 0 code
63 0x021b2f84 62 4 0 code
64 0x021b2fe8 112 3 0 code
65 0x021b3070 544 23 0 high-fan-out (likely dispatcher / setup)
66 0x021b32a8 160 8 0 code
67 0x021b334c 82 4 0 code
68 0x021b33a0 28 1 0 trampoline / small helper
69 0x021b33bc 256 1 0 code
70 0x021b34cc 308 9 0 code
71 0x021b3610 48 2 0 code
72 0x021b3640 56 2 0 code
73 0x021b3678 264 8 0 code
74 0x021b3790 62 1 0 code
75 0x021b37d0 54 1 0 code
76 0x021b3808 16 1 0 trampoline / small helper
77 0x021b38d4 60 4 0 code
78 0x021b39ac 18 0 0 trampoline / small helper
79 0x021b3ce8 96 1 0 code
80 0x021b3d4c 402 4 0 code
81 0x021b4900 16 1 0 trampoline / small helper
82 0x021b4914 172 5 0 code
83 0x021b49cc 24 2 0 trampoline / small helper
84 0x021b4a10 20 0 0 trampoline / small helper
85 0x021b4a24 8 0 0 trampoline / small helper
86 0x021b4a2c 10 0 0 trampoline / small helper
87 0x021b4a38 36 1 0 trampoline / small helper
88 0x021b4a64 156 11 0 code
89 0x021b4b0c 22 1 0 trampoline / small helper
90 0x021b4b28 62 1 0 code
91 0x021b5070 100 4 0 code
92 0x021b50d8 36 2 0 trampoline / small helper
93 0x021b50fc 36 4 0 trampoline / small helper
94 0x021b5240 8 0 0 trampoline / small helper
95 0x021b5250 8 0 0 trampoline / small helper
96 0x021b5320 24 2 0 trampoline / small helper
97 0x021b533c 44 1 0 code
98 0x021b536c 60 1 0 code
99 0x021b53b0 6 0 0 trampoline / small helper
100 0x021b53f8 66 3 0 code
101 0x021b55ac 18 1 0 trampoline / small helper
102 0x021b55c0 20 0 0 trampoline / small helper
103 0x021b55d8 22 0 0 trampoline / small helper
104 0x021b5664 130 12 0 code
105 0x021b578c 22 1 0 trampoline / small helper
106 0x021b57a8 94 3 0 code
107 0x021b5824 22 1 0 trampoline / small helper
108 0x021b5840 112 3 1 refs: yVDLG69rcRjdgfN2
109 0x021b58c4 24 1 0 trampoline / small helper
110 0x021b58e0 174 7 0 code
111 0x021b599c 32 1 0 trampoline / small helper
112 0x021b59c0 188 7 0 code
113 0x021b5a88 32 1 0 trampoline / small helper
114 0x021b5aac 188 7 0 code
115 0x021b5b74 22 1 0 trampoline / small helper
116 0x021b5b90 92 2 0 code
117 0x021b5da8 30 2 1 refs: tonosmahds
118 0x021b5dd8 30 2 1 refs: tonosmahds

Open questions & conflicts

Open questions / unknowns

Conflicts with the prior shallow pass

Source