mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-27 04:38:15 -05:00
First cleanup batch. All twenty matched at score 0, and every file they came from is now gone: asm/main_0204F9F4.s 2 functions asm/main_02017C50.s 4 asm/overlay_29_02344B44.s 2 asm/overlay_11_0230CCE0.s 2 asm/overlay_11_022E9D6C.s 5 asm/main_0201BEB0.s 5 main.lsf drops from 1181 objects to 1175, the first net reduction on this branch. Each removal also retires the matching asm/include/*.inc. Most of these reuse types landed earlier and add nothing: the OAM group reuses unk_0201BCCC with unk_oam_sub and unk_oam_elem, and the overlay_11 fade group reuses unk_023890A0 and unk_0238916C. Only unk_0238A098 and unk_023531A4 are new. Note for later cleanup work: six of the twenty are the last function in their file, so emptying it leaves them with no following address and the object-level size check cannot cover them. On a cleanup batch the matching build carries more of the verification than usual. Authored by Claude (Opus 5) under human direction. Confirmed by a matching build: build/pmdsky.us/pmdsky.us.nds: OK. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
37 lines
830 B
C
37 lines
830 B
C
#ifndef PMDSKY_MAIN_0201BCCC_H
|
|
#define PMDSKY_MAIN_0201BCCC_H
|
|
|
|
struct unk_oam_sub {
|
|
u8 field_0x0[0x70];
|
|
};
|
|
|
|
struct unk_oam_elem {
|
|
u8 field_0x0[0x78];
|
|
u8 field_0x78;
|
|
u8 field_0x79[0x23];
|
|
};
|
|
|
|
struct unk_0201BCCC {
|
|
struct unk_oam_sub field_0x0[4];
|
|
u8 field_0x1C0[0x1C08];
|
|
struct unk_oam_elem field_0x1DC8[2];
|
|
};
|
|
|
|
void sub_0201BCCC(s32 idx);
|
|
void sub_0201BCF4(s32 idx);
|
|
void sub_0201BD1C(u32 a, s32 idx);
|
|
void sub_0201BD50(s32 a, s32 idx);
|
|
void sub_0201BD80(s32 a, s32 b, s32 idx);
|
|
void CopyAttributesToOamBothScreens(void);
|
|
void sub_0201BDEC(void);
|
|
void sub_0201BE28(void);
|
|
void GroupOamAttributesBothScreens(void);
|
|
void sub_0201BE84(void);
|
|
void sub_0201BEB0(void);
|
|
void sub_0201BF10(void);
|
|
void sub_0201BF4C(void);
|
|
void sub_0201BF64(void);
|
|
void sub_0201BFAC(s32 a, s32 b, s32 c, s32 d, s32 idx);
|
|
|
|
#endif
|