SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
PlacementInfoOrdered.hpp
1#pragma once
2
3#include "Game/Util.hpp"
4
5typedef NameObj* (*CreationFuncPtr)(const char *);
6
8public:
9 class Index {
10 public:
11 Index();
12 ~Index();
13
14 MR::BothDirPtrLink mLink; // _0
15 u32 _10;
16 s32 _14;
17 };
18
19 class SameIdSet {
20 public:
21 SameIdSet();
22 ~SameIdSet();
23
24 u32 _0;
25 s32 _4;
26 u32 _8;
27 MR::BothDirPtrList mList; // _C
28 };
29
30 class Identifier {
31 public:
32 const char* mName; // _0
33 s32 _4;
34 u32 _8;
35 u32 _C;
36 JMapInfoIter mInfoIter; // _10
37 };
38
40
41 void sort();
42 void requestFileLoad();
43 void initPlacement();
44 void insert(const Identifier &, const JMapInfoIter &);
45 u32 getUsedArrayNum() const;
46 SameIdSet* find(const Identifier &) const;
47 SameIdSet* createSameIdSet(const Identifier &);
48 Index* createIndex(const JMapInfoIter &);
49
50 Index* mIndexArray; // _0
51 u32 _4;
52 SameIdSet* mSetArray; // _8
53 Identifier** mIdentiferArray; // _C
54 int mCount; // _10
55};
56
57namespace {
58 CreationFuncPtr getCreator(const PlacementInfoOrdered::Identifier &);
59};
The most basic form of an object.
Definition NameObj.hpp:11