ov064 minigame
containers: minigame/pcrunway.lzs, model/meffect/meffect.ofs, model/meffect/mefftex.ofs (+1 more)
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.
Reading the binary
The overlay ships on the cart at file ID 64 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 + 64 * 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_064.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/ov064.json;
the per-overlay descriptive markdown is at
notes/overlay_knowledgebase/ov064.md.
Embedded strings
2 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.
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.
-
pcrunwayβdata/minigame/pcrunway.lzs
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.
-
minigame/pcrunway.lzsβ no matching container found in clean extract -
model/meffect/meffect.ofsβ no matching container found in clean extract -
model/meffect/mefftex.ofsβ no matching container found in clean extract
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 61 functions
| # | Address | Size | Calls | Strings | Role hint |
|---|---|---|---|---|---|
| 1 | 0x02155a00 | 8 | 0 | 0 | trampoline / small helper |
| 2 | 0x02155a08 | 26 | 1 | 0 | trampoline / small helper |
| 3 | 0x02155a24 | 32 | 0 | 0 | trampoline / small helper |
| 4 | 0x02155a44 | 84 | 0 | 0 | code |
| 5 | 0x02155a98 | 142 | 8 | 0 | code |
| 6 | 0x02155b2c | 34 | 1 | 0 | trampoline / small helper |
| 7 | 0x02155b54 | 160 | 1 | 0 | code |
| 8 | 0x02155bf4 | 386 | 5 | 0 | code |
| 9 | 0x02155d80 | 154 | 9 | 0 | code |
| 10 | 0x02155e20 | 16 | 0 | 0 | trampoline / small helper |
| 11 | 0x02155e30 | 6 | 0 | 0 | trampoline / small helper |
| 12 | 0x02155e38 | 140 | 3 | 0 | code |
| 13 | 0x02155ec4 | 38 | 0 | 0 | trampoline / small helper |
| 14 | 0x02155eec | 34 | 1 | 0 | trampoline / small helper |
| 15 | 0x02155f14 | 12 | 1 | 0 | trampoline / small helper |
| 16 | 0x02155f20 | 26 | 0 | 0 | trampoline / small helper |
| 17 | 0x02155f3c | 74 | 4 | 0 | code |
| 18 | 0x02155f88 | 26 | 2 | 0 | trampoline / small helper |
| 19 | 0x02155fa4 | 150 | 7 | 0 | code |
| 20 | 0x0215603c | 18 | 0 | 0 | trampoline / small helper |
| 21 | 0x02156050 | 14 | 0 | 0 | trampoline / small helper |
| 22 | 0x02156064 | 6 | 0 | 0 | trampoline / small helper |
| 23 | 0x0215606c | 72 | 4 | 0 | code |
| 24 | 0x021560b8 | 22 | 2 | 0 | trampoline / small helper |
| 25 | 0x021560d4 | 24 | 1 | 0 | trampoline / small helper |
| 26 | 0x021560f0 | 70 | 1 | 0 | code |
| 27 | 0x02156138 | 82 | 1 | 0 | code |
| 28 | 0x0215618c | 140 | 8 | 0 | code |
| 29 | 0x0215621c | 8 | 0 | 0 | trampoline / small helper |
| 30 | 0x02156224 | 6 | 0 | 0 | trampoline / small helper |
| 31 | 0x0215622c | 300 | 25 | 0 | high-fan-out (likely dispatcher / setup) |
| 32 | 0x021563b8 | 658 | 13 | 0 | code |
| 33 | 0x0215684e | 40 | 3 | 0 | code |
| 34 | 0x02157056 | 88 | 7 | 0 | code |
| 35 | 0x021570ae | 4 | 0 | 0 | trampoline / small helper |
| 36 | 0x021570d8 | 6 | 0 | 0 | trampoline / small helper |
| 37 | 0x021570e0 | 16 | 0 | 0 | trampoline / small helper |
| 38 | 0x021570f0 | 8 | 0 | 0 | trampoline / small helper |
| 39 | 0x02157428 | 690 | 33 | 1 | refs: pcrunway |
| 40 | 0x02157710 | 18 | 0 | 0 | trampoline / small helper |
| 41 | 0x02157728 | 88 | 2 | 0 | code |
| 42 | 0x0215778c | 744 | 29 | 0 | high-fan-out (likely dispatcher / setup) |
| 43 | 0x02157a94 | 1,036 | 34 | 0 | high-fan-out (likely dispatcher / setup) |
| 44 | 0x021580ac | 170 | 6 | 0 | code |
| 45 | 0x02158160 | 66 | 3 | 0 | code |
| 46 | 0x021581ac | 136 | 4 | 0 | code |
| 47 | 0x02158240 | 54 | 3 | 0 | code |
| 48 | 0x02158280 | 204 | 9 | 0 | code |
| 49 | 0x02158358 | 8 | 0 | 0 | trampoline / small helper |
| 50 | 0x02158360 | 640 | 20 | 0 | code |
| 51 | 0x021585e8 | 4 | 0 | 0 | trampoline / small helper |
| 52 | 0x021585ec | 54 | 3 | 0 | code |
| 53 | 0x0215862c | 170 | 7 | 0 | code |
| 54 | 0x021586dc | 6 | 0 | 0 | trampoline / small helper |
| 55 | 0x021586e4 | 56 | 1 | 0 | code |
| 56 | 0x0215871c | 56 | 1 | 0 | code |
| 57 | 0x02158754 | 52 | 4 | 0 | code |
| 58 | 0x02158788 | 12 | 1 | 0 | trampoline / small helper |
| 59 | 0x02158794 | 12 | 1 | 0 | trampoline / small helper |
| 60 | 0x021587a0 | 12 | 1 | 0 | trampoline / small helper |
| 61 | 0x021587ac | 202 | 18 | 0 | code |
Open questions & conflicts
Open questions / unknowns
- Auto-analysis identified 61 functions covering 7620 of 12608 overlay bytes.
- Function names are auto-generated `FUN_<addr>`. Manual renaming based on call-graph + string-ref analysis is a follow-up.
- BSS size is 0 bytes; Ghidra-imported overlay does not include BSS so any references into the BSS range appear as unresolved.
Conflicts with the prior shallow pass
- Partial overlap: prior-pass had `['pcrunway']`; Ghidra adds `['minigame/pcrunway.lzs', 'model/meffect/meffect.ofs', 'model/meffect/mefftex.ofs']`.
Source
- Per-overlay markdown:
notes/overlay_knowledgebase/ov064.md - Raw Ghidra dump:
notes/overlay_knowledgebase/raw/ov064.json - Overlay-system explainer: overlays system
- Plain-English overlay primer: overlay knowledgebase