Files
st/include/Unknown/UnkStruct_027e09a0.hpp
T
Yanis 8d759ee331 Decompile overlay 1 (Part 7) (#106)
* run ninja format

* delink what's left from overlay 1 (except dsprotect)

* fix regressions

* UnkStruct_027e0ce0_1C_001 97%

* UnkStruct_0204a110_001 OK

* UnkStruct_ov024_020d86a0_001 OK

* UnkStruct_ov000_020b50c0_001 OK

* GameModeCreate OK

* AdventureModeManager_001 OK

* GameModeAdventure_001 OK

* AdventureModeManager_001 OKn't because weak issues

* ZeldaCollisionBinary OK

* UnkStruct_027e09c0_001 OK

* UnkStruct_ov000_020b504c_001 OK

* UnkStruct_ov000_02067bc4.hpp -> UnkStruct_ov000_020b504c.hpp

* match overlay 97

* match overlay 100

* run ninja format
2026-07-13 18:41:32 +02:00

54 lines
1.4 KiB
C++

#pragma once
#include "Course/Course.hpp"
#include "Unknown/UnkFileSystem.hpp"
#include "files.h"
#include "global.h"
#include "math.hpp"
#include "types.h"
struct UnkStruct_func_ov000_020702a8 {
/* 00 */ STRUCT_PAD(0x00, 0x10);
/* 10 */ Vec2s mUnk_10;
/* 14 */ u8 mUnk_14;
/* 18 */ unk32 mUnk_18;
/* 1C */ unk32 mUnk_1C;
/* 20 */ unk16 mUnk_20;
/* 22 */ unk16 mUnk_22;
};
class CourseInitBinary {
public:
/* 0000 */ CourseInitEntry mEntries[SceneIndex_Max];
/* 1104 */
CourseInitBinary();
};
class UnkStruct_027e09a0 : public AutoInstance<UnkStruct_027e09a0> {
public:
/* 00 */ CourseListEntry **mpCourseTable; // elements from courselist.clb
/* 04 */ UnkFileSystem5 *mpCourseFile;
/* 08 */ unk8 mUnk_08[0x10];
/* 18 */
UnkStruct_027e09a0();
~UnkStruct_027e09a0();
CourseListEntry *GetCourseEntry(u32 sceneIndex);
UnkStruct_func_ov000_020702a8 *func_ov000_020702a8(u32 sceneIndex);
unk32 GetRoomEntryIndex();
CourseListRoomEntry *GetRoomEntry(u32 sceneIndex, unk32 param2);
u32 GetSceneIndexFromName(const char *sceneName);
bool func_ov000_02070378(u32 param1);
void func_ov000_02070310(u32 sceneIndex, u8 roomIndex, void *param3);
// overlay 1
void InitCourseTable();
static UnkStruct_027e09a0 *Create();
static void Destroy();
};
extern UnkStruct_027e09a0 *data_027e09a0;