summaryrefslogtreecommitdiff
path: root/libs/revolution/src/homebuttonLib/nw4hbm/db/mapFile.h
blob: 15f7059d0b8581af8f6a206e00cc52e44211d436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef NW4R_DB_MAPFILE_H
#define NW4R_DB_MAPFILE_H

#include <revolution/os.h>

namespace nw4hbm {
    namespace db {
        struct MapFile {
            /* 0x00 */ u8* mapBuf;
            /* 0x04 */ OSModuleInfo* moduleInfo;
            /* 0x08 */ s32 fileEntry;
            /* 0x0C */ MapFile* next;
        }; // size = 0x10

        bool MapFile_Exists();
        bool MapFile_QuerySymbol(u32 address, u8* strBuf, u32 strBufSize);
    }  // namespace db
}  // namespace nw4r

#endif