implement LegoSoundManager vtable (#231)

* LegoSoundManager

* Fix virtual function declarations/locations

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Misha
2023-10-22 09:48:20 -04:00
committed by GitHub
parent ae908a74cc
commit 50fe5f9c83
4 changed files with 56 additions and 8 deletions

View File

@@ -10,11 +10,17 @@ class LegoSoundManager : public MxSoundManager
public:
LegoSoundManager();
virtual ~LegoSoundManager() override;
virtual MxResult Tickle() override; // vtable+08
virtual void Destroy() override; // vtable+18
virtual MxResult Create(MxU32 p_frequencyMS, MxBool p_createThread) override; //vtable+0x30
private:
void Init();
void Destroy(MxBool p_fromDestructor);
undefined4 unk0x3c;
undefined4 unk0x40;
};
#endif // LEGOSOUNDMANAGER_H