Files
pmd-sky/include/main_0202BCBC.h
cecilarmitais b088fd5f27 Decomp five leftover single-function asm files
Each of these was the only function left in its own asm file -- fragments left
behind when earlier work split a larger file around them. Decompiling them
removes five asm files and their includes outright:

  asm/main_0204FD38.s          IncrementNbSteals
  asm/overlay_29_022EAC78.s    ov29_022EAC78
  asm/overlay_29_0234B010.s    ov29_0234B010
  asm/main_0202BCDC.s          IsAdvancedMenuActive
  asm/main_02030A2C.s          SetWindowTitle

IncrementNbSteals and ov29_022EAC78 are empty in retail -- a single bx lr. Their
signatures are not evidenced by anything and are written void(void).

IsAdvancedMenuActive reads unk_0202AAA8::field_0x1A0, the same field and the same
shape as CheckParentMenuField0x1A0 next door.

SetWindowTitle writes a halfword at offset 0x20 of the same struct, which was
inside the opaque field_0x9[0x97] placeholder. That array is split into
field_0x9[0x17] / u16 field_0x20 / field_0x22[0x7E] -- same total size, and
nothing indexed the placeholder.

Authored by Claude (Opus 5) under human direction. All five verified at score 0.
Confirmed by a matching build: build/pmdsky.us/pmdsky.us.nds: OK. None carries a
region conditional, so US alone is sufficient.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-19 17:56:13 -07:00

10 lines
175 B
C

#ifndef PMDSKY_MAIN_0202BCBC_H
#define PMDSKY_MAIN_0202BCBC_H
#include "util.h"
u32 IsAdvancedMenuActive2(s32 window_id);
bool8 IsAdvancedMenuActive(s32 window_id);
#endif