#ifndef D_BG_D_BG_PLC_H #define D_BG_D_BG_PLC_H #include "d/d_bg_pc.h" enum { /* 0x14 */ ZELDA_CODE_SIZE = 0x14 }; struct PLC { /* 0x0 */ u32 magic; /* 0x4 */ u16 m_code_size; /* 0x6 */ u16 m_num; /* 0x8 */ sBgPc field_0x8[0]; }; class dBgPlc { public: /* 80074074 */ dBgPlc(); /* 80074080 */ ~dBgPlc(); /* 800740BC */ void setBase(void*); /* 800740C4 */ sBgPc* getCode(int, sBgPc**) const; /* 800740DC */ u32 getGrpCode(int) const; private: /* 0x00 */ PLC* m_base; }; #endif /* D_BG_D_BG_PLC_H */