99
1010class GuiBase ;
1111
12+ struct GuiDeferredCallback
13+ {
14+ /* 0x0000 */ std::string m_identifier;
15+ /* 0x0020 */ std::function<void (void )> m_callback;
16+ }; // Size: 0x60
17+
18+ static_assert (offsetof(GuiDeferredCallback, GuiDeferredCallback::m_identifier) == 0x0 , " GuiDeferredCallback::m_identifier: Incorrect offset" );
19+ static_assert (offsetof(GuiDeferredCallback, GuiDeferredCallback::m_callback) == 0x20 , " GuiDeferredCallback::m_callback: Incorrect offset" );
20+
21+ static_assert (sizeof (GuiDeferredCallback) == 0x60 , " GuiDeferredCallback: Incorrect Size" );
22+
1223class GuiInterface
1324{
1425public:
1526 virtual ~GuiInterface () = default ;
16- virtual void func2 () {}
17- virtual void func3 () {}
27+ virtual void open () {}
28+ virtual void close () {}
1829 virtual void func4 () {}
1930 virtual void func5 (const std::string& str) { SMSDK_UNREF (str); }
2031 virtual void func6 (const std::string& str, __int64 a3) { SMSDK_UNREF2 (str, a3); }
2132 virtual void func7 (const std::string& str, const std::string& str2) { SMSDK_UNREF2 (str, str2); }
2233 virtual void func8 (const std::string& str, const std::string& str2) { SMSDK_UNREF2 (str, str2); }
2334 virtual void func9 (const std::string& str, const std::string& str2, const Json::Value& json_val) { SMSDK_UNREF3 (str, str2, json_val); }
2435 virtual void func10 (const std::string& str, const std::string& str2, std::size_t idx, const Json::Value& json_val) { SMSDK_UNREF4 (str, str2, idx, json_val); }
36+ virtual void func11 () {}
37+ virtual void func12 () {}
38+ virtual void processDeferredCallbacks () {}
2539
2640 /* 0x0008 */ std::shared_ptr<GuiBase> m_pGuiBase;
41+ /* 0x0018 */ bool m_bSomeBool;
2742private:
28- /* 0x0018 */ char pad_0x18[ 0xC8 ];
43+ /* 0x0019 */ char pad_0x19[ 0x7 ];
2944public:
45+ /* 0x0020 */ std::function<void (void )> m_closeCallback;
46+ /* 0x0060 */ std::unordered_map<std::string, std::function<void (void )>> m_mapEmptyFunctionCallbacks;
47+ /* 0x00A0 */ std::unordered_map<std::string, std::function<void (__int64)>> m_mapOneArgFunctionCallbacks;
3048 /* 0x00E0 */ std::unordered_map<std::string, std::function<void (const std::string&)>> m_mapStringToFunction;
3149private:
3250 /* 0x0120 */ char pad_0x120[0x80 ];
3351public:
3452 /* 0x01A0 */ std::unordered_map<std::string, std::unordered_map<std::string, std::function<void (std::size_t , const Json::Value&)>>> m_mapMapCallbackStorage;
3553private:
36- /* 0x01E0 */ char pad_0x1E0[0xC0 ];
54+ /* 0x01E0 */ char pad_0x1E0[0x80 ];
55+ public:
56+ /* 0x0260 */ std::deque<std::function<void (void )>> m_deferredCallbackDeque;
57+ /* 0x0288 */ std::vector<GuiDeferredCallback> m_vecDeferredCallbacks;
3758
3859}; // Size: 0x2A0
3960
61+ static_assert (offsetof(GuiInterface, GuiInterface::m_pGuiBase) == 0x8 , " GuiInterface::m_pGuiBase: Incorrect offset" );
62+ static_assert (offsetof(GuiInterface, GuiInterface::m_bSomeBool) == 0x18 , " GuiInterface::m_bSomeBool: Incorrect offset" );
63+ static_assert (offsetof(GuiInterface, GuiInterface::m_closeCallback) == 0x20 , " GuiInterface::m_closeCallback: Incorrect offset" );
64+ static_assert (offsetof(GuiInterface, GuiInterface::m_mapEmptyFunctionCallbacks) == 0x60 , " GuiInterface::m_mapEmptyFunctionCallbacks: Incorrect offset" );
65+ static_assert (offsetof(GuiInterface, GuiInterface::m_mapOneArgFunctionCallbacks) == 0xA0 , " GuiInterface::m_mapOneArgFunctionCallbacks: Incorrect offset" );
66+ static_assert (offsetof(GuiInterface, GuiInterface::m_mapStringToFunction) == 0xE0 , " GuiInterface::m_mapStringToFunction: Incorrect offset" );
67+ static_assert (offsetof(GuiInterface, GuiInterface::m_mapMapCallbackStorage) == 0x1A0 , " GuiInterface::m_mapMapCallbackStorage: Incorrect offset" );
68+ static_assert (offsetof(GuiInterface, GuiInterface::m_deferredCallbackDeque) == 0x260 , " GuiInterface::m_deferredCallbackDeque: Incorrect offset" );
69+ static_assert (offsetof(GuiInterface, GuiInterface::m_vecDeferredCallbacks) == 0x288 , " GuiInterface::m_vecDeferredCallbacks: Incorrect offset" );
70+
4071static_assert (sizeof (GuiInterface) == 0x2A0 , " GuiInterface: Incorrect Size" );
0 commit comments