Files
st/include/Unknown/UnkStruct_0204a088.hpp
T
Yanis 6d7abbdfec Decompile overlay 17 (CourseExec Part 2) (#155)
* UnkStruct_027e09b4_017 (part 1?) OK

* code_020c0b24_017 68%

* rename file

* AdventureModeManager_15C_20_00_017 96%

* AdventureModeManager_15C_017 OK

* match remaining .init, .ctor and .bss

* fix build issues on other versions

* UnkStruct_027e0cec_017 OK

* UnkStruct_027e0cf8_017 OK

* UnkStruct_ov024_020d86a0_017 OK

* UnkStruct_027e09c0_017 OK

* UnkStruct_027e0cec_18_017 OK

* fix other versions build

* code_020c201c_017 OK

* SaveManager_017 OK

* remove extern "C"s

* port progression to the other versions

* ninja format

* fix regressions
2026-10-07 00:35:38 +02:00

62 lines
1.8 KiB
C++

#pragma once
#include "FileSelect/FileSelectUnkDraw.hpp"
#include "System/SysNew.hpp"
#include "types.h"
class Actor;
class FileSelectManager_UnkDrawBase;
// members 00 04 and 08 are used in data_ov000_020b1d74 to figure out which overlay to load next in slot 1
class UnkStruct_0204a088 : public AutoInstance<UnkStruct_0204a088> {
public:
/* 000 */ unk32 mUnk_00; // current index
/* 000 */ unk32 mUnk_04; // prev index
/* 000 */ unk32 mUnk_08; // next index
/* 00C */ FileSelectManager_UnkDrawBase mUnk_0C[23]; // 23 possible overlays
/* 120 */ u16 mUnk_120;
/* 122 */ bool mUnk_122;
/* 123 */ bool mUnk_123;
/* 124 */ bool mUnk_124;
/* 125 */ bool mUnk_125;
/* 126 */ bool mUnk_126;
/* 127 */ bool mUnk_127;
/* 128 */ unk16 mUnk_128;
/* 12C */
const BOOL IsUnknownCheck1(unk32 value1, unk32 value2) const {
bool ret = false;
if (!(this->mUnk_04 != value1 || this->mUnk_08 != value2)) {
ret = true;
}
return ret;
}
const bool IsUnknownCheck2(unk32 value1, unk32 value2) const {
return this->mUnk_04 == value1 && this->mUnk_08 == value2;
}
const bool IsUnknownCheck3(unk32 value1, unk32 value2) const {
return *(volatile u32 *) &this->mUnk_04 != value1 || this->mUnk_08 != value2;
}
UnkStruct_0204a088();
// overlay 0
void func_ov000_02061098(void);
void func_ov000_020611dc(FileSelectManager_UnkDrawBase *param1, unk32 param2);
bool func_ov000_020611fc(unk32 param2); // sets new index
void func_ov000_02061224(void);
void func_ov000_02061230(void);
void func_ov000_02061248(void);
// overlay 1
void func_ov001_020bd6f8();
static UnkStruct_0204a088 *Create();
};
extern UnkStruct_0204a088 *data_0204a088;