From c11bc57db916a8c963f422897b5bf24451e54d1c Mon Sep 17 00:00:00 2001 From: superp00t Date: Wed, 29 Apr 2026 03:08:08 -0400 Subject: [PATCH] feat(profile): add UIADDON --- .../3.3.5a-windows-386/include/ui/uiaddon.h | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 profile/3.3.5a-windows-386/include/ui/uiaddon.h diff --git a/profile/3.3.5a-windows-386/include/ui/uiaddon.h b/profile/3.3.5a-windows-386/include/ui/uiaddon.h new file mode 100644 index 0000000..8cb41dd --- /dev/null +++ b/profile/3.3.5a-windows-386/include/ui/uiaddon.h @@ -0,0 +1,53 @@ +#ifndef UI_UI_ADDON_H +#define UI_UI_ADDON_H + +DECLARE_ENUM(UIADDON_LOADABLE_REASON); +DECLARE_ENUM(UIADDON_SECURITY_STATUS); +DECLARE_STRUCT(UIADDON); + +#include "storm/array/pointer_to_char.h" +#include "storm/hash.h" + +enum UIADDON_LOADABLE_REASON { + ADDON_LOADABLE, + ADDON_MISSING, + ADDON_DISABLED, + ADDON_BANNED, + ADDON_CORRUPT, + ADDON_INSECURE, + ADDON_DEMAND_LOADED, + ADDON_INTERFACE_VERSION, + ADDON_INCOMPATIBLE +}; + +enum UIADDON_SECURITY_STATUS { + ADDON_SECURITY_SECURE, + ADDON_SECURITY_INSECURE, + ADDON_SECURITY_BANNED +}; + +STORM_TS_HASH(UIADDON, HASHKEY_STRI); +// struct UIADDON : public TSHashObject +struct UIADDON { + TSHashObject_UIADDON_HASHKEY_STRI _; + // + uint32_t m_unk18; + uint32_t m_interface; // Interface version, current = 30300 + uint32_t m_unk20; + UIADDON_SECURITY_STATUS m_security; + int8_t m_unk28_0; + int8_t m_unk28_1; + int8_t m_unk28_2; + int8_t m_unk28_3; + uint32_t m_unk2C; + const char* m_url; + uint32_t m_unk34; + uint32_t m_unk38; + uint32_t m_unk3C; + uint32_t m_unk40; + uint32_t m_unk44; + // + TSGrowableArray_pointer_to_char m_dependencies; +}; + +#endif