diff --git a/lsteamclient/cxx.h b/lsteamclient/cxx.h index 67bc2c5b..701ab02f 100644 --- a/lsteamclient/cxx.h +++ b/lsteamclient/cxx.h @@ -16,43 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* Copied from dlls/msvcrt/cxx.h */ -#undef __thiscall - -#ifdef __APPLE__ -# define __ASM_NAME(name) "_" name -#else -# define __ASM_NAME(name) name -#endif - -#ifdef __i386__ /* thiscall functions are i386-specific */ - -#ifdef __APPLE__ -# define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl _" #name suffix "\n\t\n_" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc\n\t.previous"); -#else -# define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl " #name suffix "\n\t.type " #name suffix ",@function\n" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc\n\t.previous"); -#endif -#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,"",code) -#define __ASM_STDCALL(args) "" - -#define THISCALL(func) __thiscall_ ## func -#define THISCALL_NAME(func) __ASM_NAME("__thiscall_" #func) -#define __thiscall __stdcall -#define DEFINE_THISCALL_WRAPPER(func,args) \ - extern void THISCALL(func)(void); \ - __ASM_GLOBAL_FUNC(__thiscall_ ## func, \ - "popl %eax\n\t" \ - "pushl %ecx\n\t" \ - "pushl %eax\n\t" \ - "jmp " __ASM_NAME(#func) __ASM_STDCALL(args) ) -#else /* __i386__ */ - -#define THISCALL(func) func -#define THISCALL_NAME(func) __ASM_NAME(#func) -#define __thiscall __cdecl -#define DEFINE_THISCALL_WRAPPER(func,args) /* nothing */ - -#endif /* __i386__ */ +#include "wine/asm.h" #ifdef _WIN64 @@ -60,8 +24,8 @@ #define __ASM_VTABLE(name,funcs) \ __asm__(".data\n" \ - "\t.align 8\n" \ - "\t.quad 0\n" \ + "\t.balign 8\n" \ + "\t.quad " __ASM_NAME(#name "_rtti") "\n" \ "\t.globl " __ASM_NAME(#name "_vtable") "\n" \ __ASM_NAME(#name "_vtable") ":\n" \ funcs "\n\t.text") @@ -72,8 +36,8 @@ #define __ASM_VTABLE(name,funcs) \ __asm__(".data\n" \ - "\t.align 4\n" \ - "\t.long 0\n" \ + "\t.balign 4\n" \ + "\t.long " __ASM_NAME(#name "_rtti") "\n" \ "\t.globl " __ASM_NAME(#name "_vtable") "\n" \ __ASM_NAME(#name "_vtable") ":\n" \ funcs "\n\t.text") @@ -82,9 +46,9 @@ #ifndef __x86_64__ -#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ - static const type_info name ## _type_info = { \ - &MSVCP_type_info_vtable, \ +#define DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + static type_info name ## _type_info = { \ + &type_info_vtable, \ NULL, \ mangled_name \ }; \ @@ -94,7 +58,10 @@ static const rtti_base_descriptor name ## _rtti_base_descriptor = { \ base_classes_no, \ { 0, -1, 0}, \ 64 \ -}; \ +}; + +#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ + DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ \ static const rtti_base_array name ## _rtti_base_array = { \ { \ @@ -126,22 +93,26 @@ const rtti_object_locator name ## _rtti = { \ &name ## _hierarchy \ }; -#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, dtor) \ -\ +#define DEFINE_CXX_TYPE_INFO(type) \ static const cxx_type_info type ## _cxx_type_info = { \ 0, \ & type ##_type_info, \ { 0, -1, 0 }, \ sizeof(type), \ - (cxx_copy_ctor)THISCALL(MSVCP_ ## type ##_copy_ctor) \ -}; \ + (cxx_copy_ctor)THISCALL(type ##_copy_ctor) \ +}; + +#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, cl3, cl4, dtor) \ +DEFINE_CXX_TYPE_INFO(type) \ \ static const cxx_type_info_table type ## _cxx_type_table = { \ base_no+1, \ { \ & type ## _cxx_type_info, \ cl1, \ - cl2 \ + cl2, \ + cl3, \ + cl4 \ } \ }; \ \ @@ -154,9 +125,9 @@ static const cxx_exception_type type ## _cxx_type = { \ #else -#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ - static const type_info name ## _type_info = { \ - &MSVCP_type_info_vtable, \ +#define __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + static type_info name ## _type_info = { \ + &type_info_vtable, \ NULL, \ mangled_name \ }; \ @@ -166,7 +137,18 @@ static rtti_base_descriptor name ## _rtti_base_descriptor = { \ base_classes_no, \ { 0, -1, 0}, \ 64 \ -}; \ +}; + +#define DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + \ + static void init_ ## name ## _rtti(char *base) \ + { \ + name ## _rtti_base_descriptor.type_descriptor = (char*)&name ## _type_info - base; \ + } + +#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ + __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ \ static rtti_base_array name ## _rtti_base_array = { \ { \ @@ -218,8 +200,7 @@ static void init_ ## name ## _rtti(char *base) \ name ## _rtti.object_locator = (char*)&name ## _rtti - base; \ } -#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, dtor) \ -\ +#define DEFINE_CXX_TYPE_INFO(type) \ static cxx_type_info type ## _cxx_type_info = { \ 0, \ 0xdeadbeef, \ @@ -228,9 +209,21 @@ static cxx_type_info type ## _cxx_type_info = { \ 0xdeadbeef \ }; \ \ +static void init_ ## type ## _cxx_type_info(char *base) \ +{ \ + type ## _cxx_type_info.type_info = (char *)&type ## _type_info - base; \ + type ## _cxx_type_info.copy_ctor = (char *)type ## _copy_ctor - base; \ +} + +#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, cl3, cl4, dtor) \ +\ +DEFINE_CXX_TYPE_INFO(type) \ +\ static cxx_type_info_table type ## _cxx_type_table = { \ base_no+1, \ { \ + 0xdeadbeef, \ + 0xdeadbeef, \ 0xdeadbeef, \ 0xdeadbeef, \ 0xdeadbeef \ @@ -246,11 +239,12 @@ static cxx_exception_type type ##_cxx_type = { \ \ static void init_ ## type ## _cxx(char *base) \ { \ - type ## _cxx_type_info.type_info = (char *)&type ## _type_info - base; \ - type ## _cxx_type_info.copy_ctor = (char *)MSVCP_ ## type ## _copy_ctor - base; \ + init_ ## type ## _cxx_type_info(base); \ type ## _cxx_type_table.info[0] = (char *)&type ## _cxx_type_info - base; \ type ## _cxx_type_table.info[1] = (char *)cl1 - base; \ type ## _cxx_type_table.info[2] = (char *)cl2 - base; \ + type ## _cxx_type_table.info[3] = (char *)cl3 - base; \ + type ## _cxx_type_table.info[4] = (char *)cl4 - base; \ type ## _cxx_type.destructor = (char *)dtor - base; \ type ## _cxx_type.type_info_table = (char *)&type ## _cxx_type_table - base; \ } @@ -267,19 +261,25 @@ static void init_ ## type ## _cxx(char *base) \ DEFINE_RTTI_DATA(name, off, 3, cl1, cl2, cl3, NULL, NULL, NULL, NULL, NULL, NULL, mangled_name) #define DEFINE_RTTI_DATA4(name, off, cl1, cl2, cl3, cl4, mangled_name) \ DEFINE_RTTI_DATA(name, off, 4, cl1, cl2, cl3, cl4, NULL, NULL, NULL, NULL, NULL, mangled_name) +#define DEFINE_RTTI_DATA5(name, off, cl1, cl2, cl3, cl4, cl5, mangled_name) \ + DEFINE_RTTI_DATA(name, off, 5, cl1, cl2, cl3, cl4, cl5, NULL, NULL, NULL, NULL, mangled_name) #define DEFINE_RTTI_DATA8(name, off, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, mangled_name) \ DEFINE_RTTI_DATA(name, off, 8, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, NULL, mangled_name) #define DEFINE_RTTI_DATA9(name, off, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ DEFINE_RTTI_DATA(name, off, 9, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) #define DEFINE_CXX_DATA0(name, dtor) \ - DEFINE_CXX_DATA(name, 0, NULL, NULL, dtor) + DEFINE_CXX_DATA(name, 0, NULL, NULL, NULL, NULL, dtor) #define DEFINE_CXX_DATA1(name, cl1, dtor) \ - DEFINE_CXX_DATA(name, 1, cl1, NULL, dtor) + DEFINE_CXX_DATA(name, 1, cl1, NULL, NULL, NULL, dtor) #define DEFINE_CXX_DATA2(name, cl1, cl2, dtor) \ - DEFINE_CXX_DATA(name, 2, cl1, cl2, dtor) + DEFINE_CXX_DATA(name, 2, cl1, cl2, NULL, NULL, dtor) +#define DEFINE_CXX_DATA3(name, cl1, cl2, cl3, dtor) \ + DEFINE_CXX_DATA(name, 3, cl1, cl2, cl3, NULL, dtor) +#define DEFINE_CXX_DATA4(name, cl1, cl2, cl3, cl4, dtor) \ + DEFINE_CXX_DATA(name, 4, cl1, cl2, cl3, cl4, dtor) -#ifdef __i386__ +#ifdef __ASM_USE_THISCALL_WRAPPER #define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (WINAPI*)type)&vtbl_wrapper_##off)args @@ -301,7 +301,7 @@ extern void *vtbl_wrapper_56; #else -#define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (__cdecl***)type)this)[0][off/4]args +#define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (__thiscall***)type)this)[0][off/4]args #endif @@ -314,21 +314,6 @@ typedef struct __exception int do_free; /* Whether to free 'name' in our dtor */ } exception; -/* Internal: throws selected exception */ -typedef enum __exception_type { - EXCEPTION_RERAISE, - EXCEPTION, - EXCEPTION_BAD_ALLOC, - EXCEPTION_BAD_CAST, - EXCEPTION_LOGIC_ERROR, - EXCEPTION_LENGTH_ERROR, - EXCEPTION_OUT_OF_RANGE, - EXCEPTION_INVALID_ARGUMENT, - EXCEPTION_RUNTIME_ERROR, - EXCEPTION_FAILURE, -} exception_type; -void throw_exception(exception_type, const char *); - /* rtti */ typedef struct __type_info { @@ -337,7 +322,7 @@ typedef struct __type_info char mangled[128]; /* Variable length, but we declare it large enough for static RTTI */ } type_info; -extern const vtable_ptr MSVCP_type_info_vtable; +extern const vtable_ptr type_info_vtable; /* offsets for computing the this pointer */ typedef struct @@ -394,7 +379,7 @@ typedef struct typedef struct { UINT count; - const cxx_type_info *info[3]; + const cxx_type_info *info[5]; } cxx_type_info_table; typedef struct @@ -450,7 +435,7 @@ typedef struct typedef struct { UINT count; - unsigned int info[3]; + unsigned int info[5]; } cxx_type_info_table; typedef struct @@ -462,3 +447,30 @@ typedef struct } cxx_exception_type; #endif + +#define CREATE_TYPE_INFO_VTABLE \ +DEFINE_THISCALL_WRAPPER(type_info_vector_dtor,8) \ +void * __thiscall type_info_vector_dtor(type_info * _this, unsigned int flags) \ +{ \ + if (flags & 2) \ + { \ + /* we have an array, with the number of elements stored before the first object */ \ + INT_PTR i, *ptr = (INT_PTR *)_this - 1; \ +\ + for (i = *ptr - 1; i >= 0; i--) free(_this[i].name); \ + free(ptr); \ + } \ + else \ + { \ + free(_this->name); \ + if (flags & 1) free(_this); \ + } \ + return _this; \ +} \ +\ +DEFINE_RTTI_DATA0( type_info, 0, ".?AVtype_info@@" ) \ +\ +__ASM_BLOCK_BEGIN(type_info_vtables) \ + __ASM_VTABLE(type_info, \ + VTABLE_ADD_FUNC(type_info_vector_dtor)); \ +__ASM_BLOCK_END diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index af28160f..38245ca8 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -1110,16 +1110,14 @@ def handle_class(klass): out(f'extern vtable_ptr {winclassname}_vtable;\n') out(u'\n') - out(u'#ifndef __GNUC__\n') - out(u'void __asm_dummy_vtables(void) {\n') - out(u'#endif\n') + out(f'DEFINE_RTTI_DATA0({winclassname}, 0, \".?AV{klass.name}@@\")\n') + out(u'\n') + out(f'__ASM_BLOCK_BEGIN({winclassname}_vtables)\n') out(f' __ASM_VTABLE({winclassname},\n') for method in sorted(klass.methods, key=lambda x: (x._index, -x._override)): out(f' VTABLE_ADD_FUNC({winclassname}_{method.name})\n') out(u' );\n') - out(u'#ifndef __GNUC__\n') - out(u'}\n') - out(u'#endif\n') + out(u'__ASM_BLOCK_END\n') out(u'\n') out(f'struct w_steam_iface *create_{winclassname}(void *u_iface)\n') out(u'{\n') @@ -1314,6 +1312,25 @@ for _, klass in sorted(all_classes.items()): handle_class(klass) +for name in sorted(set(k.name for k in all_classes.values())): + with open(f"win{name}.c", "a") as file: + out = file.write + out(f'void init_win{name}_rtti( char *base )\n') + out(u'{\n') + out(u'#ifdef __x86_64__\n') + +for _, klass in sorted(all_classes.items()): + with open(f"win{klass.name}.c", "a") as file: + out = file.write + out(f' init_win{klass.full_name}_rtti( base );\n') + +for name in sorted(set(k.name for k in all_classes.values())): + with open(f"win{name}.c", "a") as file: + out = file.write + out(u'#endif /* __x86_64__ */\n') + out(u'}\n') + + with open("steamclient_generated.h", "w") as file: out = file.write @@ -1344,6 +1361,15 @@ with open("steamclient_generated.c", "w") as file: out(u' if (!strcmp( iface_version, constructors[i].iface_version ))\n') out(u' return constructors[i].ctor;\n') out(u' return NULL;\n') + out(u'}\n\n') + + for name in sorted(set(k.name for k in all_classes.values())): + out(f'extern void init_win{name}_rtti( char * );\n') + out(u'\n') + out(u'void init_rtti( char *base )\n') + out(u'{\n') + for name in sorted(set(k.name for k in all_classes.values())): + out(f' init_win{name}_rtti( base );\n') out(u'}\n') diff --git a/lsteamclient/steamclient_generated.c b/lsteamclient/steamclient_generated.c index 342108c3..c3f8ade7 100644 --- a/lsteamclient/steamclient_generated.c +++ b/lsteamclient/steamclient_generated.c @@ -216,3 +216,82 @@ iface_constructor find_iface_constructor( const char *iface_version ) return constructors[i].ctor; return NULL; } + +extern void init_winISteamAppList_rtti( char * ); +extern void init_winISteamAppTicket_rtti( char * ); +extern void init_winISteamApps_rtti( char * ); +extern void init_winISteamClient_rtti( char * ); +extern void init_winISteamController_rtti( char * ); +extern void init_winISteamFriends_rtti( char * ); +extern void init_winISteamGameCoordinator_rtti( char * ); +extern void init_winISteamGameSearch_rtti( char * ); +extern void init_winISteamGameServer_rtti( char * ); +extern void init_winISteamGameServerStats_rtti( char * ); +extern void init_winISteamGameStats_rtti( char * ); +extern void init_winISteamHTMLSurface_rtti( char * ); +extern void init_winISteamHTTP_rtti( char * ); +extern void init_winISteamInput_rtti( char * ); +extern void init_winISteamInventory_rtti( char * ); +extern void init_winISteamMasterServerUpdater_rtti( char * ); +extern void init_winISteamMatchmaking_rtti( char * ); +extern void init_winISteamMatchmakingServers_rtti( char * ); +extern void init_winISteamMusic_rtti( char * ); +extern void init_winISteamMusicRemote_rtti( char * ); +extern void init_winISteamNetworking_rtti( char * ); +extern void init_winISteamNetworkingFakeUDPPort_rtti( char * ); +extern void init_winISteamNetworkingMessages_rtti( char * ); +extern void init_winISteamNetworkingSockets_rtti( char * ); +extern void init_winISteamNetworkingSocketsSerialized_rtti( char * ); +extern void init_winISteamNetworkingUtils_rtti( char * ); +extern void init_winISteamParentalSettings_rtti( char * ); +extern void init_winISteamParties_rtti( char * ); +extern void init_winISteamRemotePlay_rtti( char * ); +extern void init_winISteamRemoteStorage_rtti( char * ); +extern void init_winISteamScreenshots_rtti( char * ); +extern void init_winISteamUGC_rtti( char * ); +extern void init_winISteamUnifiedMessages_rtti( char * ); +extern void init_winISteamUser_rtti( char * ); +extern void init_winISteamUserStats_rtti( char * ); +extern void init_winISteamUtils_rtti( char * ); +extern void init_winISteamVideo_rtti( char * ); + +void init_rtti( char *base ) +{ + init_winISteamAppList_rtti( base ); + init_winISteamAppTicket_rtti( base ); + init_winISteamApps_rtti( base ); + init_winISteamClient_rtti( base ); + init_winISteamController_rtti( base ); + init_winISteamFriends_rtti( base ); + init_winISteamGameCoordinator_rtti( base ); + init_winISteamGameSearch_rtti( base ); + init_winISteamGameServer_rtti( base ); + init_winISteamGameServerStats_rtti( base ); + init_winISteamGameStats_rtti( base ); + init_winISteamHTMLSurface_rtti( base ); + init_winISteamHTTP_rtti( base ); + init_winISteamInput_rtti( base ); + init_winISteamInventory_rtti( base ); + init_winISteamMasterServerUpdater_rtti( base ); + init_winISteamMatchmaking_rtti( base ); + init_winISteamMatchmakingServers_rtti( base ); + init_winISteamMusic_rtti( base ); + init_winISteamMusicRemote_rtti( base ); + init_winISteamNetworking_rtti( base ); + init_winISteamNetworkingFakeUDPPort_rtti( base ); + init_winISteamNetworkingMessages_rtti( base ); + init_winISteamNetworkingSockets_rtti( base ); + init_winISteamNetworkingSocketsSerialized_rtti( base ); + init_winISteamNetworkingUtils_rtti( base ); + init_winISteamParentalSettings_rtti( base ); + init_winISteamParties_rtti( base ); + init_winISteamRemotePlay_rtti( base ); + init_winISteamRemoteStorage_rtti( base ); + init_winISteamScreenshots_rtti( base ); + init_winISteamUGC_rtti( base ); + init_winISteamUnifiedMessages_rtti( base ); + init_winISteamUser_rtti( base ); + init_winISteamUserStats_rtti( base ); + init_winISteamUtils_rtti( base ); + init_winISteamVideo_rtti( base ); +} diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index 241e4219..b02b682d 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -19,6 +19,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +CREATE_TYPE_INFO_VTABLE; + char g_tmppath[PATH_MAX]; static CRITICAL_SECTION steamclient_cs = { NULL, -1, 0, 0, 0, 0 }; @@ -33,6 +35,10 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) case DLL_PROCESS_ATTACH: DisableThreadLibraryCalls(instance); steam_overlay_event = CreateEventA(NULL, TRUE, FALSE, "__wine_steamclient_GameOverlayActivated"); +#ifdef __x86_64__ + init_type_info_rtti( (char *)instance ); + init_rtti( (char *)instance ); +#endif /* __x86_64__ */ break; case DLL_PROCESS_DETACH: CloseHandle(steam_overlay_event); diff --git a/lsteamclient/steamclient_private.h b/lsteamclient/steamclient_private.h index 34759e6f..230fef78 100644 --- a/lsteamclient/steamclient_private.h +++ b/lsteamclient/steamclient_private.h @@ -55,6 +55,8 @@ void *alloc_vtable(void *vtable, unsigned int method_count, const char *iface_ve extern void start_callback_thread(void) DECLSPEC_HIDDEN; extern void stop_callback_thread(void) DECLSPEC_HIDDEN; +void init_rtti( char *base ); + #include "steamclient_generated.h" #ifdef __cplusplus diff --git a/lsteamclient/winISteamAppList.c b/lsteamclient/winISteamAppList.c index 562e2897..c9fbfb7e 100644 --- a/lsteamclient/winISteamAppList.c +++ b/lsteamclient/winISteamAppList.c @@ -78,9 +78,9 @@ int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuil extern vtable_ptr winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001, 0, ".?AVISteamAppList@@") + +__ASM_BLOCK_BEGIN(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps) VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps) @@ -88,9 +88,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir) VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *u_iface) { @@ -101,3 +99,9 @@ struct w_steam_iface *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001( return r; } +void init_winISteamAppList_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamAppTicket.c b/lsteamclient/winISteamAppTicket.c index 9d7b2cfe..1a4bb3a6 100644 --- a/lsteamclient/winISteamAppTicket.c +++ b/lsteamclient/winISteamAppTicket.c @@ -27,15 +27,13 @@ uint32_t __thiscall winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAp extern vtable_ptr winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001, 0, ".?AVISteamAppTicket@@") + +__ASM_BLOCK_BEGIN(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001(void *u_iface) { @@ -46,3 +44,9 @@ struct w_steam_iface *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION return r; } +void init_winISteamAppTicket_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamApps.c b/lsteamclient/winISteamApps.c index 553736c7..bd58426f 100644 --- a/lsteamclient/winISteamApps.c +++ b/lsteamclient/winISteamApps.c @@ -24,15 +24,13 @@ int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(struc extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION001, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001(void *u_iface) { @@ -133,9 +131,9 @@ bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(st extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION002, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence) @@ -145,9 +143,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION002(void *u_iface) { @@ -261,9 +257,9 @@ bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(str extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION003, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION003, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence) @@ -274,9 +270,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION003(void *u_iface) { @@ -468,9 +462,9 @@ void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(struct extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION004, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION004, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence) @@ -487,9 +481,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004(void *u_iface) { @@ -763,9 +755,9 @@ bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(str extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION005, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION005, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence) @@ -788,9 +780,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION005(void *u_iface) { @@ -1091,9 +1081,9 @@ const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQu extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION006, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION006, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence) @@ -1118,9 +1108,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION006(void *u_iface) { @@ -1448,9 +1436,9 @@ int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(st extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION007, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION007, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence) @@ -1477,9 +1465,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION007(void *u_iface) { @@ -1886,9 +1872,9 @@ bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(struc extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION008, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION008, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence) @@ -1921,9 +1907,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008(void *u_iface) { @@ -1934,3 +1918,16 @@ struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008(void * return r; } +void init_winISteamApps_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION001_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION002_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION003_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION004_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION005_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION006_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION007_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION008_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamClient.c b/lsteamclient/winISteamClient.c index c25c1396..6be163a4 100644 --- a/lsteamclient/winISteamClient.c +++ b/lsteamclient/winISteamClient.c @@ -305,9 +305,9 @@ uint32_t __thiscall winISteamClient_SteamClient006_GetIPCCallCount(struct w_stea extern vtable_ptr winISteamClient_SteamClient006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient006, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient006_vtables) __ASM_VTABLE(winISteamClient_SteamClient006, VTABLE_ADD_FUNC(winISteamClient_SteamClient006_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient006_BReleaseSteamPipe) @@ -331,9 +331,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient006_RunFrame) VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetIPCCallCount) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient006(void *u_iface) { @@ -668,9 +666,9 @@ void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient007_GetISte extern vtable_ptr winISteamClient_SteamClient007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient007, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient007_vtables) __ASM_VTABLE(winISteamClient_SteamClient007, VTABLE_ADD_FUNC(winISteamClient_SteamClient007_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient007_BReleaseSteamPipe) @@ -695,9 +693,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient007_SetWarningMessageHook) VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamRemoteStorage) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient007(void *u_iface) { @@ -1017,9 +1013,9 @@ void __thiscall winISteamClient_SteamClient008_SetWarningMessageHook(struct w_st extern vtable_ptr winISteamClient_SteamClient008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient008, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient008_vtables) __ASM_VTABLE(winISteamClient_SteamClient008, VTABLE_ADD_FUNC(winISteamClient_SteamClient008_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient008_BReleaseSteamPipe) @@ -1043,9 +1039,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetIPCCallCount) VTABLE_ADD_FUNC(winISteamClient_SteamClient008_SetWarningMessageHook) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient008(void *u_iface) { @@ -1381,9 +1375,9 @@ void __thiscall winISteamClient_SteamClient009_SetWarningMessageHook(struct w_st extern vtable_ptr winISteamClient_SteamClient009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient009, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient009_vtables) __ASM_VTABLE(winISteamClient_SteamClient009, VTABLE_ADD_FUNC(winISteamClient_SteamClient009_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient009_BReleaseSteamPipe) @@ -1408,9 +1402,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetIPCCallCount) VTABLE_ADD_FUNC(winISteamClient_SteamClient009_SetWarningMessageHook) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient009(void *u_iface) { @@ -1774,9 +1766,9 @@ void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient010_GetISteamHTTP(st extern vtable_ptr winISteamClient_SteamClient010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient010, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient010_vtables) __ASM_VTABLE(winISteamClient_SteamClient010, VTABLE_ADD_FUNC(winISteamClient_SteamClient010_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient010_BReleaseSteamPipe) @@ -1803,9 +1795,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient010_BShutdownIfAllPipesClosed) VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamHTTP) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient010(void *u_iface) { @@ -2185,9 +2175,9 @@ void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient011_GetISteamHTTP(st extern vtable_ptr winISteamClient_SteamClient011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient011, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient011_vtables) __ASM_VTABLE(winISteamClient_SteamClient011, VTABLE_ADD_FUNC(winISteamClient_SteamClient011_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient011_BReleaseSteamPipe) @@ -2215,9 +2205,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient011_BShutdownIfAllPipesClosed) VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamHTTP) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient011(void *u_iface) { @@ -2629,9 +2617,9 @@ void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient012_GetISteamUGC(stru extern vtable_ptr winISteamClient_SteamClient012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient012, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient012_vtables) __ASM_VTABLE(winISteamClient_SteamClient012, VTABLE_ADD_FUNC(winISteamClient_SteamClient012_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient012_BReleaseSteamPipe) @@ -2661,9 +2649,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamController) VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUGC) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient012(void *u_iface) { @@ -3121,9 +3107,9 @@ void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient013_GetISteamAppL extern vtable_ptr winISteamClient_SteamClient013_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient013, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient013_vtables) __ASM_VTABLE(winISteamClient_SteamClient013, VTABLE_ADD_FUNC(winISteamClient_SteamClient013_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient013_BReleaseSteamPipe) @@ -3156,9 +3142,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamVideo) VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamAppList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient013(void *u_iface) { @@ -3602,9 +3586,9 @@ void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient014_GetISteamMusic( extern vtable_ptr winISteamClient_SteamClient014_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient014, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient014_vtables) __ASM_VTABLE(winISteamClient_SteamClient014, VTABLE_ADD_FUNC(winISteamClient_SteamClient014_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient014_BReleaseSteamPipe) @@ -3636,9 +3620,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient014_GetISteamAppList) VTABLE_ADD_FUNC(winISteamClient_SteamClient014_GetISteamMusic) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient014(void *u_iface) { @@ -4098,9 +4080,9 @@ void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient015_GetISteam extern vtable_ptr winISteamClient_SteamClient015_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient015, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient015_vtables) __ASM_VTABLE(winISteamClient_SteamClient015, VTABLE_ADD_FUNC(winISteamClient_SteamClient015_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient015_BReleaseSteamPipe) @@ -4133,9 +4115,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMusic) VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMusicRemote) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient015(void *u_iface) { @@ -4647,9 +4627,9 @@ void __thiscall winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegist extern vtable_ptr winISteamClient_SteamClient016_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient016, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient016_vtables) __ASM_VTABLE(winISteamClient_SteamClient016, VTABLE_ADD_FUNC(winISteamClient_SteamClient016_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient016_BReleaseSteamPipe) @@ -4686,9 +4666,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess) VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient016(void *u_iface) { @@ -5247,9 +5225,9 @@ void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient017_GetI extern vtable_ptr winISteamClient_SteamClient017_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient017, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient017_vtables) __ASM_VTABLE(winISteamClient_SteamClient017, VTABLE_ADD_FUNC(winISteamClient_SteamClient017_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient017_BReleaseSteamPipe) @@ -5289,9 +5267,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamVideo) VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamParentalSettings) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient017(void *u_iface) { @@ -5898,9 +5874,9 @@ void /*ISteamParties*/ * __thiscall winISteamClient_SteamClient018_GetISteamPart extern vtable_ptr winISteamClient_SteamClient018_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient018, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient018_vtables) __ASM_VTABLE(winISteamClient_SteamClient018, VTABLE_ADD_FUNC(winISteamClient_SteamClient018_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient018_BReleaseSteamPipe) @@ -5943,9 +5919,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamInput) VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamParties) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient018(void *u_iface) { @@ -6568,9 +6542,9 @@ void /*ISteamRemotePlay*/ * __thiscall winISteamClient_SteamClient019_GetISteamR extern vtable_ptr winISteamClient_SteamClient019_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient019, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient019_vtables) __ASM_VTABLE(winISteamClient_SteamClient019, VTABLE_ADD_FUNC(winISteamClient_SteamClient019_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient019_BReleaseSteamPipe) @@ -6614,9 +6588,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamParties) VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamRemotePlay) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient019(void *u_iface) { @@ -7250,9 +7222,9 @@ void __thiscall winISteamClient_SteamClient020_DestroyAllInterfaces(struct w_ste extern vtable_ptr winISteamClient_SteamClient020_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient020, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient020_vtables) __ASM_VTABLE(winISteamClient_SteamClient020, VTABLE_ADD_FUNC(winISteamClient_SteamClient020_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient020_BReleaseSteamPipe) @@ -7297,9 +7269,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamRemotePlay) VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DestroyAllInterfaces) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamClient_SteamClient020(void *u_iface) { @@ -7310,3 +7280,23 @@ struct w_steam_iface *create_winISteamClient_SteamClient020(void *u_iface) return r; } +void init_winISteamClient_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamClient_SteamClient006_rtti( base ); + init_winISteamClient_SteamClient007_rtti( base ); + init_winISteamClient_SteamClient008_rtti( base ); + init_winISteamClient_SteamClient009_rtti( base ); + init_winISteamClient_SteamClient010_rtti( base ); + init_winISteamClient_SteamClient011_rtti( base ); + init_winISteamClient_SteamClient012_rtti( base ); + init_winISteamClient_SteamClient013_rtti( base ); + init_winISteamClient_SteamClient014_rtti( base ); + init_winISteamClient_SteamClient015_rtti( base ); + init_winISteamClient_SteamClient016_rtti( base ); + init_winISteamClient_SteamClient017_rtti( base ); + init_winISteamClient_SteamClient018_rtti( base ); + init_winISteamClient_SteamClient019_rtti( base ); + init_winISteamClient_SteamClient020_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamController.c b/lsteamclient/winISteamController.c index b3f3972e..755586fe 100644 --- a/lsteamclient/winISteamController.c +++ b/lsteamclient/winISteamController.c @@ -86,9 +86,9 @@ void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrid extern vtable_ptr winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtables) __ASM_VTABLE(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION, VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init) VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown) @@ -97,9 +97,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse) VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION(void *u_iface) { @@ -347,9 +345,9 @@ void __thiscall winISteamController_SteamController003_TriggerRepeatedHapticPuls extern vtable_ptr winISteamController_SteamController003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_SteamController003, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController003_vtables) __ASM_VTABLE(winISteamController_SteamController003, VTABLE_ADD_FUNC(winISteamController_SteamController003_Init) VTABLE_ADD_FUNC(winISteamController_SteamController003_Shutdown) @@ -369,9 +367,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerHapticPulse) VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerRepeatedHapticPulse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamController_SteamController003(void *u_iface) { @@ -693,9 +689,9 @@ bool __thiscall winISteamController_SteamController004_ShowAnalogActionOrigins(s extern vtable_ptr winISteamController_SteamController004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_SteamController004, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController004_vtables) __ASM_VTABLE(winISteamController_SteamController004, VTABLE_ADD_FUNC(winISteamController_SteamController004_Init) VTABLE_ADD_FUNC(winISteamController_SteamController004_Shutdown) @@ -720,9 +716,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowDigitalActionOrigins) VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowAnalogActionOrigins) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamController_SteamController004(void *u_iface) { @@ -1088,9 +1082,9 @@ const char * __thiscall winISteamController_SteamController005_GetStringForActio extern vtable_ptr winISteamController_SteamController005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_SteamController005, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController005_vtables) __ASM_VTABLE(winISteamController_SteamController005, VTABLE_ADD_FUNC(winISteamController_SteamController005_Init) VTABLE_ADD_FUNC(winISteamController_SteamController005_Shutdown) @@ -1119,9 +1113,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController005_GetStringForActionOrigin) VTABLE_ADD_FUNC(winISteamController_SteamController005_GetGlyphForActionOrigin) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamController_SteamController005(void *u_iface) { @@ -1552,9 +1544,9 @@ uint32_t __thiscall winISteamController_SteamController006_GetInputTypeForHandle extern vtable_ptr winISteamController_SteamController006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_SteamController006, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController006_vtables) __ASM_VTABLE(winISteamController_SteamController006, VTABLE_ADD_FUNC(winISteamController_SteamController006_Init) VTABLE_ADD_FUNC(winISteamController_SteamController006_Shutdown) @@ -1588,9 +1580,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController006_GetGlyphForActionOrigin) VTABLE_ADD_FUNC(winISteamController_SteamController006_GetInputTypeForHandle) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamController_SteamController006(void *u_iface) { @@ -2044,9 +2034,9 @@ bool __thiscall winISteamController_SteamController007_GetControllerBindingRevis extern vtable_ptr winISteamController_SteamController007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_SteamController007, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController007_vtables) __ASM_VTABLE(winISteamController_SteamController007, VTABLE_ADD_FUNC(winISteamController_SteamController007_Init) VTABLE_ADD_FUNC(winISteamController_SteamController007_Shutdown) @@ -2083,9 +2073,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController007_TranslateActionOrigin) VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerBindingRevision) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamController_SteamController007(void *u_iface) { @@ -2539,9 +2527,9 @@ bool __thiscall winISteamController_SteamController008_GetControllerBindingRevis extern vtable_ptr winISteamController_SteamController008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_SteamController008, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController008_vtables) __ASM_VTABLE(winISteamController_SteamController008, VTABLE_ADD_FUNC(winISteamController_SteamController008_Init) VTABLE_ADD_FUNC(winISteamController_SteamController008_Shutdown) @@ -2578,9 +2566,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController008_TranslateActionOrigin) VTABLE_ADD_FUNC(winISteamController_SteamController008_GetControllerBindingRevision) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamController_SteamController008(void *u_iface) { @@ -2591,3 +2577,15 @@ struct w_steam_iface *create_winISteamController_SteamController008(void *u_ifac return r; } +void init_winISteamController_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_rtti( base ); + init_winISteamController_SteamController003_rtti( base ); + init_winISteamController_SteamController004_rtti( base ); + init_winISteamController_SteamController005_rtti( base ); + init_winISteamController_SteamController006_rtti( base ); + init_winISteamController_SteamController007_rtti( base ); + init_winISteamController_SteamController008_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamFriends.c b/lsteamclient/winISteamFriends.c index f7563177..8f9d0aca 100644 --- a/lsteamclient/winISteamFriends.c +++ b/lsteamclient/winISteamFriends.c @@ -374,9 +374,9 @@ bool __thiscall winISteamFriends_SteamFriends001_GetFriendGamePlayed2(struct w_s extern vtable_ptr winISteamFriends_SteamFriends001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends001, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends001_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends001, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetPersonaName) @@ -406,9 +406,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendGamePlayed) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendGamePlayed2) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends001(void *u_iface) { @@ -830,9 +828,9 @@ CSteamID * __thiscall winISteamFriends_SteamFriends002_GetFriendFromSourceByInde extern vtable_ptr winISteamFriends_SteamFriends002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends002, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends002_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends002, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetPersonaName) @@ -865,9 +863,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendCountFromSource) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends002(void *u_iface) { @@ -1150,9 +1146,9 @@ void __thiscall winISteamFriends_SteamFriends003_ActivateGameOverlay(struct w_st extern vtable_ptr winISteamFriends_SteamFriends003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends003, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends003_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends003, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_SetPersonaName) @@ -1175,9 +1171,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_ActivateGameOverlay) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends003(void *u_iface) { @@ -1461,9 +1455,9 @@ void __thiscall winISteamFriends_SteamFriends004_ActivateGameOverlay(struct w_st extern vtable_ptr winISteamFriends_SteamFriends004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends004, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends004_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends004, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_SetPersonaName) @@ -1486,9 +1480,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_ActivateGameOverlay) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends004(void *u_iface) { @@ -1818,9 +1810,9 @@ void __thiscall winISteamFriends_SteamFriends005_SetPlayedWith(struct w_steam_if extern vtable_ptr winISteamFriends_SteamFriends005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends005, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends005_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends005, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetPersonaName) @@ -1847,9 +1839,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlayToStore) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetPlayedWith) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends005(void *u_iface) { @@ -2204,9 +2194,9 @@ void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog extern vtable_ptr winISteamFriends_SteamFriends006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends006, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends006_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends006, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetPersonaName) @@ -2235,9 +2225,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetPlayedWith) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends006(void *u_iface) { @@ -2617,9 +2605,9 @@ int32_t __thiscall winISteamFriends_SteamFriends007_GetLargeFriendAvatar(struct extern vtable_ptr winISteamFriends_SteamFriends007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends007, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends007_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends007, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_SetPersonaName) @@ -2650,9 +2638,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetMediumFriendAvatar) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetLargeFriendAvatar) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends007(void *u_iface) { @@ -3113,9 +3099,9 @@ uint32_t __thiscall winISteamFriends_SteamFriends008_GetUserRestrictions(struct extern vtable_ptr winISteamFriends_SteamFriends008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends008, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends008_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends008, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_SetPersonaName) @@ -3152,9 +3138,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanOfficerByIndex) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetUserRestrictions) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends008(void *u_iface) { @@ -3747,9 +3731,9 @@ uint32_t __thiscall winISteamFriends_SteamFriends009_GetFriendCoplayGame(struct extern vtable_ptr winISteamFriends_SteamFriends009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends009, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends009_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends009, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetPersonaName) @@ -3796,9 +3780,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCoplayTime) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCoplayGame) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends009(void *u_iface) { @@ -4604,9 +4586,9 @@ int32_t __thiscall winISteamFriends_SteamFriends010_GetFriendMessage(struct w_st extern vtable_ptr winISteamFriends_SteamFriends010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends010, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends010_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends010, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetPersonaName) @@ -4668,9 +4650,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ReplyToFriendMessage) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendMessage) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends010(void *u_iface) { @@ -5527,9 +5507,9 @@ uint64_t __thiscall winISteamFriends_SteamFriends011_EnumerateFollowingList(stru extern vtable_ptr winISteamFriends_SteamFriends011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends011, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends011_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends011, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_SetPersonaName) @@ -5595,9 +5575,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_IsFollowing) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_EnumerateFollowingList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends011(void *u_iface) { @@ -6455,9 +6433,9 @@ uint64_t __thiscall winISteamFriends_SteamFriends012_EnumerateFollowingList(stru extern vtable_ptr winISteamFriends_SteamFriends012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends012, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends012_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends012, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetPersonaName) @@ -6523,9 +6501,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsFollowing) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_EnumerateFollowingList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends012(void *u_iface) { @@ -7384,9 +7360,9 @@ uint64_t __thiscall winISteamFriends_SteamFriends013_EnumerateFollowingList(stru extern vtable_ptr winISteamFriends_SteamFriends013_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends013, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends013_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends013, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetPersonaName) @@ -7452,9 +7428,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsFollowing) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_EnumerateFollowingList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends013(void *u_iface) { @@ -8326,9 +8300,9 @@ uint64_t __thiscall winISteamFriends_SteamFriends014_EnumerateFollowingList(stru extern vtable_ptr winISteamFriends_SteamFriends014_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends014, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends014_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends014, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetPersonaName) @@ -8395,9 +8369,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsFollowing) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_EnumerateFollowingList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends014(void *u_iface) { @@ -9373,9 +9345,9 @@ bool __thiscall winISteamFriends_SteamFriends015_IsClanOfficialGameGroup(struct extern vtable_ptr winISteamFriends_SteamFriends015_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends015, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends015_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends015, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetPersonaName) @@ -9450,9 +9422,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanPublic) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanOfficialGameGroup) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends015(void *u_iface) { @@ -10535,9 +10505,9 @@ uint32_t __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyUint( extern vtable_ptr winISteamFriends_SteamFriends017_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends017, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends017_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends017, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetPersonaName) @@ -10620,9 +10590,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetProfileItemPropertyString) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetProfileItemPropertyUint) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamFriends_SteamFriends017(void *u_iface) { @@ -10633,3 +10601,24 @@ struct w_steam_iface *create_winISteamFriends_SteamFriends017(void *u_iface) return r; } +void init_winISteamFriends_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamFriends_SteamFriends001_rtti( base ); + init_winISteamFriends_SteamFriends002_rtti( base ); + init_winISteamFriends_SteamFriends003_rtti( base ); + init_winISteamFriends_SteamFriends004_rtti( base ); + init_winISteamFriends_SteamFriends005_rtti( base ); + init_winISteamFriends_SteamFriends006_rtti( base ); + init_winISteamFriends_SteamFriends007_rtti( base ); + init_winISteamFriends_SteamFriends008_rtti( base ); + init_winISteamFriends_SteamFriends009_rtti( base ); + init_winISteamFriends_SteamFriends010_rtti( base ); + init_winISteamFriends_SteamFriends011_rtti( base ); + init_winISteamFriends_SteamFriends012_rtti( base ); + init_winISteamFriends_SteamFriends013_rtti( base ); + init_winISteamFriends_SteamFriends014_rtti( base ); + init_winISteamFriends_SteamFriends015_rtti( base ); + init_winISteamFriends_SteamFriends017_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameCoordinator.c b/lsteamclient/winISteamGameCoordinator.c index c6401ba6..89d0a70e 100644 --- a/lsteamclient/winISteamGameCoordinator.c +++ b/lsteamclient/winISteamGameCoordinator.c @@ -52,17 +52,15 @@ uint32_t __thiscall winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMes extern vtable_ptr winISteamGameCoordinator_SteamGameCoordinator001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameCoordinator_SteamGameCoordinator001, 0, ".?AVISteamGameCoordinator@@") + +__ASM_BLOCK_BEGIN(winISteamGameCoordinator_SteamGameCoordinator001_vtables) __ASM_VTABLE(winISteamGameCoordinator_SteamGameCoordinator001, VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_SendMessage) VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable) VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameCoordinator_SteamGameCoordinator001(void *u_iface) { @@ -73,3 +71,9 @@ struct w_steam_iface *create_winISteamGameCoordinator_SteamGameCoordinator001(vo return r; } +void init_winISteamGameCoordinator_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameCoordinator_SteamGameCoordinator001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameSearch.c b/lsteamclient/winISteamGameSearch.c index 6c7458fe..00e8215e 100644 --- a/lsteamclient/winISteamGameSearch.c +++ b/lsteamclient/winISteamGameSearch.c @@ -198,9 +198,9 @@ uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_EndGame(struct w extern vtable_ptr winISteamGameSearch_SteamMatchGameSearch001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameSearch_SteamMatchGameSearch001, 0, ".?AVISteamGameSearch@@") + +__ASM_BLOCK_BEGIN(winISteamGameSearch_SteamMatchGameSearch001_vtables) __ASM_VTABLE(winISteamGameSearch_SteamMatchGameSearch001, VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams) VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby) @@ -217,9 +217,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult) VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_EndGame) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameSearch_SteamMatchGameSearch001(void *u_iface) { @@ -230,3 +228,9 @@ struct w_steam_iface *create_winISteamGameSearch_SteamMatchGameSearch001(void *u return r; } +void init_winISteamGameSearch_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameSearch_SteamMatchGameSearch001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameServer.c b/lsteamclient/winISteamGameServer.c index 6de7fa5b..9cedb404 100644 --- a/lsteamclient/winISteamGameServer.c +++ b/lsteamclient/winISteamGameServer.c @@ -319,9 +319,9 @@ void __thiscall winISteamGameServer_SteamGameServer002_GSSetGameType(struct w_st extern vtable_ptr winISteamGameServer_SteamGameServer002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer002, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer002_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer002, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOn) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOff) @@ -345,9 +345,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetGameType) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer002(void *u_iface) { @@ -598,9 +596,9 @@ bool __thiscall winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatu extern vtable_ptr winISteamGameServer_SteamGameServer003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer003, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer003_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer003, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_LogOn) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_LogOff) @@ -620,9 +618,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetGameType) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer003(void *u_iface) { @@ -828,9 +824,9 @@ bool __thiscall winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus extern vtable_ptr winISteamGameServer_SteamGameServer004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer004, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer004_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer004, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_LogOn) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_LogOff) @@ -847,9 +843,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_SetGameType) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer004(void *u_iface) { @@ -1055,9 +1049,9 @@ bool __thiscall winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus extern vtable_ptr winISteamGameServer_SteamGameServer005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer005, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer005_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer005, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_LogOn) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_LogOff) @@ -1074,9 +1068,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_SetGameType) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer005(void *u_iface) { @@ -1319,9 +1311,9 @@ uint32_t __thiscall winISteamGameServer_SteamGameServer008_GetPublicIP(struct w_ extern vtable_ptr winISteamGameServer_SteamGameServer008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer008, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer008_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer008, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_LogOn) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_LogOff) @@ -1341,9 +1333,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_RequestUserGroupStatus) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_GetPublicIP) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer008(void *u_iface) { @@ -1612,9 +1602,9 @@ uint32_t __thiscall winISteamGameServer_SteamGameServer009_UserHasLicenseForApp( extern vtable_ptr winISteamGameServer_SteamGameServer009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer009, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer009_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer009, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_LogOn) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_LogOff) @@ -1636,9 +1626,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SetGameData) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_UserHasLicenseForApp) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer009(void *u_iface) { @@ -1959,9 +1947,9 @@ void __thiscall winISteamGameServer_SteamGameServer010_CancelAuthTicket(struct w extern vtable_ptr winISteamGameServer_SteamGameServer010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer010, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer010_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer010, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_LogOn) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_LogOff) @@ -1987,9 +1975,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_EndAuthSession) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_CancelAuthTicket) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer010(void *u_iface) { @@ -2565,9 +2551,9 @@ uint64_t __thiscall winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompa extern vtable_ptr winISteamGameServer_SteamGameServer011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer011, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer011_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer011, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_InitGameServer) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetProduct) @@ -2614,9 +2600,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_AssociateWithClan) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer011(void *u_iface) { @@ -3191,9 +3175,9 @@ uint64_t __thiscall winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompa extern vtable_ptr winISteamGameServer_SteamGameServer012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer012, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer012_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer012, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_InitGameServer) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetProduct) @@ -3240,9 +3224,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_AssociateWithClan) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer012(void *u_iface) { @@ -3818,9 +3800,9 @@ uint64_t __thiscall winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompa extern vtable_ptr winISteamGameServer_SteamGameServer013_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer013, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer013_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer013, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_InitGameServer) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetProduct) @@ -3867,9 +3849,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_AssociateWithClan) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer013(void *u_iface) { @@ -4445,9 +4425,9 @@ void __thiscall winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbea extern vtable_ptr winISteamGameServer_SteamGameServer014_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer014, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer014_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer014, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_InitGameServer) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetProduct) @@ -4494,9 +4474,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer014(void *u_iface) { @@ -5073,9 +5051,9 @@ void __thiscall winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbea extern vtable_ptr winISteamGameServer_SteamGameServer015_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer015, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer015_vtables) __ASM_VTABLE(winISteamGameServer_SteamGameServer015, VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_InitGameServer) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetProduct) @@ -5122,9 +5100,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED) VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServer_SteamGameServer015(void *u_iface) { @@ -5135,3 +5111,20 @@ struct w_steam_iface *create_winISteamGameServer_SteamGameServer015(void *u_ifac return r; } +void init_winISteamGameServer_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameServer_SteamGameServer002_rtti( base ); + init_winISteamGameServer_SteamGameServer003_rtti( base ); + init_winISteamGameServer_SteamGameServer004_rtti( base ); + init_winISteamGameServer_SteamGameServer005_rtti( base ); + init_winISteamGameServer_SteamGameServer008_rtti( base ); + init_winISteamGameServer_SteamGameServer009_rtti( base ); + init_winISteamGameServer_SteamGameServer010_rtti( base ); + init_winISteamGameServer_SteamGameServer011_rtti( base ); + init_winISteamGameServer_SteamGameServer012_rtti( base ); + init_winISteamGameServer_SteamGameServer013_rtti( base ); + init_winISteamGameServer_SteamGameServer014_rtti( base ); + init_winISteamGameServer_SteamGameServer015_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameServerStats.c b/lsteamclient/winISteamGameServerStats.c index bbae1a36..585e8567 100644 --- a/lsteamclient/winISteamGameServerStats.c +++ b/lsteamclient/winISteamGameServerStats.c @@ -153,9 +153,9 @@ uint64_t __thiscall winISteamGameServerStats_SteamGameServerStats001_StoreUserSt extern vtable_ptr winISteamGameServerStats_SteamGameServerStats001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServerStats_SteamGameServerStats001, 0, ".?AVISteamGameServerStats@@") + +__ASM_BLOCK_BEGIN(winISteamGameServerStats_SteamGameServerStats001_vtables) __ASM_VTABLE(winISteamGameServerStats_SteamGameServerStats001, VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_RequestUserStats) VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2) @@ -168,9 +168,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement) VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_StoreUserStats) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameServerStats_SteamGameServerStats001(void *u_iface) { @@ -181,3 +179,9 @@ struct w_steam_iface *create_winISteamGameServerStats_SteamGameServerStats001(vo return r; } +void init_winISteamGameServerStats_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameServerStats_SteamGameServerStats001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameStats.c b/lsteamclient/winISteamGameStats.c index 095cdeb2..8b27264a 100644 --- a/lsteamclient/winISteamGameStats.c +++ b/lsteamclient/winISteamGameStats.c @@ -200,9 +200,9 @@ uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt64(st extern vtable_ptr winISteamGameStats_SteamGameStats001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameStats_SteamGameStats001, 0, ".?AVISteamGameStats@@") + +__ASM_BLOCK_BEGIN(winISteamGameStats_SteamGameStats001_vtables) __ASM_VTABLE(winISteamGameStats_SteamGameStats001, VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_GetNewSession) VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_EndSession) @@ -218,9 +218,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64) VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddRowAttributeInt64) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamGameStats_SteamGameStats001(void *u_iface) { @@ -231,3 +229,9 @@ struct w_steam_iface *create_winISteamGameStats_SteamGameStats001(void *u_iface) return r; } +void init_winISteamGameStats_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameStats_SteamGameStats001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamHTMLSurface.c b/lsteamclient/winISteamHTMLSurface.c index b030c14d..a4bff316 100644 --- a/lsteamclient/winISteamHTMLSurface.c +++ b/lsteamclient/winISteamHTMLSurface.c @@ -432,9 +432,9 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_File extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtables) __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001, VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_destructor) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init) @@ -470,9 +470,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001(void *u_iface) { @@ -945,9 +943,9 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_File extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtables) __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002, VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_destructor) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init) @@ -985,9 +983,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002(void *u_iface) { @@ -1473,9 +1469,9 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_File extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_vtables) __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003, VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_destructor) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init) @@ -1514,9 +1510,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003(void *u_iface) { @@ -2015,9 +2009,9 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_File extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtables) __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004, VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_destructor) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init) @@ -2057,9 +2051,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004(void *u_iface) { @@ -2571,9 +2563,9 @@ void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_File extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtables) __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005, VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_destructor) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init) @@ -2614,9 +2606,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005(void *u_iface) { @@ -2627,3 +2617,13 @@ struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VER return r; } +void init_winISteamHTMLSurface_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamHTTP.c b/lsteamclient/winISteamHTTP.c index 078a2a47..2aa7e429 100644 --- a/lsteamclient/winISteamHTTP.c +++ b/lsteamclient/winISteamHTTP.c @@ -223,9 +223,9 @@ bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPo extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001, 0, ".?AVISteamHTTP@@") + +__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue) @@ -243,9 +243,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001(void *u_iface) { @@ -618,9 +616,9 @@ bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTi extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002, 0, ".?AVISteamHTTP@@") + +__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue) @@ -648,9 +646,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002(void *u_iface) { @@ -1023,9 +1019,9 @@ bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTi extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003, 0, ".?AVISteamHTTP@@") + +__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtables) __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003, VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue) @@ -1053,9 +1049,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *u_iface) { @@ -1066,3 +1060,11 @@ struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void * return r; } +void init_winISteamHTTP_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_rtti( base ); + init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_rtti( base ); + init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamInput.c b/lsteamclient/winISteamInput.c index 30cd2077..597d9ff8 100644 --- a/lsteamclient/winISteamInput.c +++ b/lsteamclient/winISteamInput.c @@ -459,9 +459,9 @@ uint32_t __thiscall winISteamInput_SteamInput001_GetRemotePlaySessionID(struct w extern vtable_ptr winISteamInput_SteamInput001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInput_SteamInput001, 0, ".?AVISteamInput@@") + +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput001_vtables) __ASM_VTABLE(winISteamInput_SteamInput001, VTABLE_ADD_FUNC(winISteamInput_SteamInput001_Init) VTABLE_ADD_FUNC(winISteamInput_SteamInput001_Shutdown) @@ -499,9 +499,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDeviceBindingRevision) VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetRemotePlaySessionID) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamInput_SteamInput001(void *u_iface) { @@ -968,9 +966,9 @@ uint32_t __thiscall winISteamInput_SteamInput002_GetRemotePlaySessionID(struct w extern vtable_ptr winISteamInput_SteamInput002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInput_SteamInput002, 0, ".?AVISteamInput@@") + +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput002_vtables) __ASM_VTABLE(winISteamInput_SteamInput002, VTABLE_ADD_FUNC(winISteamInput_SteamInput002_Init) VTABLE_ADD_FUNC(winISteamInput_SteamInput002_Shutdown) @@ -1008,9 +1006,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDeviceBindingRevision) VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetRemotePlaySessionID) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamInput_SteamInput002(void *u_iface) { @@ -1616,9 +1612,9 @@ uint16_t __thiscall winISteamInput_SteamInput005_GetSessionInputConfigurationSet extern vtable_ptr winISteamInput_SteamInput005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInput_SteamInput005, 0, ".?AVISteamInput@@") + +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput005_vtables) __ASM_VTABLE(winISteamInput_SteamInput005, VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Init) VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Shutdown) @@ -1668,9 +1664,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetRemotePlaySessionID) VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetSessionInputConfigurationSettings) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamInput_SteamInput005(void *u_iface) { @@ -2289,9 +2283,9 @@ void __thiscall winISteamInput_SteamInput006_SetDualSenseTriggerEffect(struct w_ extern vtable_ptr winISteamInput_SteamInput006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInput_SteamInput006, 0, ".?AVISteamInput@@") + +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput006_vtables) __ASM_VTABLE(winISteamInput_SteamInput006, VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Init) VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Shutdown) @@ -2342,9 +2336,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetSessionInputConfigurationSettings) VTABLE_ADD_FUNC(winISteamInput_SteamInput006_SetDualSenseTriggerEffect) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamInput_SteamInput006(void *u_iface) { @@ -2355,3 +2347,12 @@ struct w_steam_iface *create_winISteamInput_SteamInput006(void *u_iface) return r; } +void init_winISteamInput_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamInput_SteamInput001_rtti( base ); + init_winISteamInput_SteamInput002_rtti( base ); + init_winISteamInput_SteamInput005_rtti( base ); + init_winISteamInput_SteamInput006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamInventory.c b/lsteamclient/winISteamInventory.c index 8520ae76..00e10ec6 100644 --- a/lsteamclient/winISteamInventory.c +++ b/lsteamclient/winISteamInventory.c @@ -357,9 +357,9 @@ bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligibleProm extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInventory_STEAMINVENTORY_INTERFACE_V001, 0, ".?AVISteamInventory@@") + +__ASM_BLOCK_BEGIN(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtables) __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V001, VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems) @@ -386,9 +386,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V001(void *u_iface) { @@ -943,9 +941,9 @@ bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdatePro extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInventory_STEAMINVENTORY_INTERFACE_V002, 0, ".?AVISteamInventory@@") + +__ASM_BLOCK_BEGIN(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_vtables) __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V002, VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems) @@ -985,9 +983,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V002(void *u_iface) { @@ -1558,9 +1554,9 @@ bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(str extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInventory_STEAMINVENTORY_INTERFACE_V003, 0, ".?AVISteamInventory@@") + +__ASM_BLOCK_BEGIN(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtables) __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V003, VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems) @@ -1601,9 +1597,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *u_iface) { @@ -1614,3 +1608,11 @@ struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(vo return r; } +void init_winISteamInventory_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamInventory_STEAMINVENTORY_INTERFACE_V001_rtti( base ); + init_winISteamInventory_STEAMINVENTORY_INTERFACE_V002_rtti( base ); + init_winISteamInventory_STEAMINVENTORY_INTERFACE_V003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMasterServerUpdater.c b/lsteamclient/winISteamMasterServerUpdater.c index 136c90e8..b6fdf0b3 100644 --- a/lsteamclient/winISteamMasterServerUpdater.c +++ b/lsteamclient/winISteamMasterServerUpdater.c @@ -193,9 +193,9 @@ int32_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetM extern vtable_ptr winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMasterServerUpdater_SteamMasterServerUpdater001, 0, ".?AVISteamMasterServerUpdater@@") + +__ASM_BLOCK_BEGIN(winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtables) __ASM_VTABLE(winISteamMasterServerUpdater_SteamMasterServerUpdater001, VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive) VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval) @@ -212,9 +212,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers) VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMasterServerUpdater_SteamMasterServerUpdater001(void *u_iface) { @@ -225,3 +223,9 @@ struct w_steam_iface *create_winISteamMasterServerUpdater_SteamMasterServerUpdat return r; } +void init_winISteamMasterServerUpdater_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMasterServerUpdater_SteamMasterServerUpdater001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMatchmaking.c b/lsteamclient/winISteamMatchmaking.c index a658c4e6..e126fc33 100644 --- a/lsteamclient/winISteamMatchmaking.c +++ b/lsteamclient/winISteamMatchmaking.c @@ -337,9 +337,9 @@ bool __thiscall winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(struct extern vtable_ptr winISteamMatchmaking_SteamMatchMaking001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking001, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking001_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking001, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame) @@ -364,9 +364,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking001(void *u_iface) { @@ -670,9 +668,9 @@ void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(stru extern vtable_ptr winISteamMatchmaking_SteamMatchMaking002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking002, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking002_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking002, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame) @@ -695,9 +693,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking002(void *u_iface) { @@ -1107,9 +1103,9 @@ bool __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(s extern vtable_ptr winISteamMatchmaking_SteamMatchMaking003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking003, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking003_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking003, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame) @@ -1140,9 +1136,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking003(void *u_iface) { @@ -1539,9 +1533,9 @@ bool __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(s extern vtable_ptr winISteamMatchmaking_SteamMatchMaking004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking004, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking004_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking004, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame) @@ -1571,9 +1565,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking004(void *u_iface) { @@ -2024,9 +2016,9 @@ float __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(struc extern vtable_ptr winISteamMatchmaking_SteamMatchMaking005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking005, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking005_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking005, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame) @@ -2060,9 +2052,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking005(void *u_iface) { @@ -2480,9 +2470,9 @@ CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(str extern vtable_ptr winISteamMatchmaking_SteamMatchMaking006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking006, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking006_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking006, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame) @@ -2513,9 +2503,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyType) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking006(void *u_iface) { @@ -3020,9 +3008,9 @@ bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(struct w_ extern vtable_ptr winISteamMatchmaking_SteamMatchMaking007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking007, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking007_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking007, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame) @@ -3059,9 +3047,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking007(void *u_iface) { @@ -3590,9 +3576,9 @@ bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(struct w_ extern vtable_ptr winISteamMatchmaking_SteamMatchMaking008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking008, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking008_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking008, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame) @@ -3631,9 +3617,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking008(void *u_iface) { @@ -4188,9 +4172,9 @@ bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(struct w extern vtable_ptr winISteamMatchmaking_SteamMatchMaking009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking009, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking009_vtables) __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking009, VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame) @@ -4231,9 +4215,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner) VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking009(void *u_iface) { @@ -4244,3 +4226,17 @@ struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking009(void *u_if return r; } +void init_winISteamMatchmaking_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMatchmaking_SteamMatchMaking001_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking002_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking003_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking004_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking005_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking006_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking007_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking008_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking009_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMatchmakingServers.c b/lsteamclient/winISteamMatchmakingServers.c index bac6676e..b277a47b 100644 --- a/lsteamclient/winISteamMatchmakingServers.c +++ b/lsteamclient/winISteamMatchmakingServers.c @@ -230,9 +230,9 @@ void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelSer extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmakingServers_SteamMatchMakingServers001, 0, ".?AVISteamMatchmakingServers@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmakingServers_SteamMatchMakingServers001_vtables) __ASM_VTABLE(winISteamMatchmakingServers_SteamMatchMakingServers001, VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList) VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList) @@ -251,9 +251,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules) VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmakingServers_SteamMatchMakingServers001(void *u_iface) { @@ -509,9 +507,9 @@ void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelSer extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMatchmakingServers_SteamMatchMakingServers002, 0, ".?AVISteamMatchmakingServers@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmakingServers_SteamMatchMakingServers002_vtables) __ASM_VTABLE(winISteamMatchmakingServers_SteamMatchMakingServers002, VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList) VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList) @@ -531,9 +529,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules) VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMatchmakingServers_SteamMatchMakingServers002(void *u_iface) { @@ -544,3 +540,10 @@ struct w_steam_iface *create_winISteamMatchmakingServers_SteamMatchMakingServers return r; } +void init_winISteamMatchmakingServers_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMatchmakingServers_SteamMatchMakingServers001_rtti( base ); + init_winISteamMatchmakingServers_SteamMatchMakingServers002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMusic.c b/lsteamclient/winISteamMusic.c index ea61e9f7..1a8e071c 100644 --- a/lsteamclient/winISteamMusic.c +++ b/lsteamclient/winISteamMusic.c @@ -112,9 +112,9 @@ float __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(struct extern vtable_ptr winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001, 0, ".?AVISteamMusic@@") + +__ASM_BLOCK_BEGIN(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled) VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying) @@ -126,9 +126,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume) VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001(void *u_iface) { @@ -139,3 +137,9 @@ struct w_steam_iface *create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001(void return r; } +void init_winISteamMusic_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMusicRemote.c b/lsteamclient/winISteamMusicRemote.c index e3bf189f..dd194d60 100644 --- a/lsteamclient/winISteamMusicRemote.c +++ b/lsteamclient/winISteamMusicRemote.c @@ -420,9 +420,9 @@ bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_Playl extern vtable_ptr winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001, 0, ".?AVISteamMusicRemote@@") + +__ASM_BLOCK_BEGIN(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote) VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote) @@ -457,9 +457,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry) VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(void *u_iface) { @@ -470,3 +468,9 @@ struct w_steam_iface *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VER return r; } +void init_winISteamMusicRemote_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworking.c b/lsteamclient/winISteamNetworking.c index b06b666d..66ad49d9 100644 --- a/lsteamclient/winISteamNetworking.c +++ b/lsteamclient/winISteamNetworking.c @@ -191,9 +191,9 @@ bool __thiscall winISteamNetworking_SteamNetworking001_GetListenSocketInfo(struc extern vtable_ptr winISteamNetworking_SteamNetworking001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking001, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking001_vtables) __ASM_VTABLE(winISteamNetworking_SteamNetworking001, VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateListenSocket) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket) @@ -208,9 +208,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_GetSocketInfo) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_GetListenSocketInfo) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworking_SteamNetworking001(void *u_iface) { @@ -437,9 +435,9 @@ int32_t __thiscall winISteamNetworking_SteamNetworking002_GetMaxPacketSize(struc extern vtable_ptr winISteamNetworking_SteamNetworking002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking002, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking002_vtables) __ASM_VTABLE(winISteamNetworking_SteamNetworking002, VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateListenSocket) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket) @@ -456,9 +454,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetSocketConnectionType) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworking_SteamNetworking002(void *u_iface) { @@ -770,9 +766,9 @@ int32_t __thiscall winISteamNetworking_SteamNetworking003_GetMaxPacketSize(struc extern vtable_ptr winISteamNetworking_SteamNetworking003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking003, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking003_vtables) __ASM_VTABLE(winISteamNetworking_SteamNetworking003, VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_SendP2PPacket) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable) @@ -795,9 +791,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetSocketConnectionType) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworking_SteamNetworking003(void *u_iface) { @@ -1112,9 +1106,9 @@ int32_t __thiscall winISteamNetworking_SteamNetworking004_GetMaxPacketSize(struc extern vtable_ptr winISteamNetworking_SteamNetworking004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking004, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking004_vtables) __ASM_VTABLE(winISteamNetworking_SteamNetworking004, VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_SendP2PPacket) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_IsP2PPacketAvailable) @@ -1137,9 +1131,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_GetSocketConnectionType) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworking_SteamNetworking004(void *u_iface) { @@ -1481,9 +1473,9 @@ int32_t __thiscall winISteamNetworking_SteamNetworking005_GetMaxPacketSize(struc extern vtable_ptr winISteamNetworking_SteamNetworking005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking005, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking005_vtables) __ASM_VTABLE(winISteamNetworking_SteamNetworking005, VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_SendP2PPacket) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable) @@ -1508,9 +1500,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetSocketConnectionType) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworking_SteamNetworking005(void *u_iface) { @@ -1852,9 +1842,9 @@ int32_t __thiscall winISteamNetworking_SteamNetworking006_GetMaxPacketSize(struc extern vtable_ptr winISteamNetworking_SteamNetworking006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking006, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking006_vtables) __ASM_VTABLE(winISteamNetworking_SteamNetworking006, VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_SendP2PPacket) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable) @@ -1879,9 +1869,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetSocketConnectionType) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworking_SteamNetworking006(void *u_iface) { @@ -1892,3 +1880,14 @@ struct w_steam_iface *create_winISteamNetworking_SteamNetworking006(void *u_ifac return r; } +void init_winISteamNetworking_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworking_SteamNetworking001_rtti( base ); + init_winISteamNetworking_SteamNetworking002_rtti( base ); + init_winISteamNetworking_SteamNetworking003_rtti( base ); + init_winISteamNetworking_SteamNetworking004_rtti( base ); + init_winISteamNetworking_SteamNetworking005_rtti( base ); + init_winISteamNetworking_SteamNetworking006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingFakeUDPPort.c b/lsteamclient/winISteamNetworkingFakeUDPPort.c index 504462b4..8cff6640 100644 --- a/lsteamclient/winISteamNetworkingFakeUDPPort.c +++ b/lsteamclient/winISteamNetworkingFakeUDPPort.c @@ -38,18 +38,16 @@ void __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_Sch extern vtable_ptr winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001, 0, ".?AVISteamNetworkingFakeUDPPort@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_vtables) __ASM_VTABLE(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001, VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort) VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP) VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages) VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(void *u_iface) { @@ -60,3 +58,9 @@ struct w_steam_iface *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeU return r; } +void init_winISteamNetworkingFakeUDPPort_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingMessages.c b/lsteamclient/winISteamNetworkingMessages.c index 578f7d45..8bcea3c5 100644 --- a/lsteamclient/winISteamNetworkingMessages.c +++ b/lsteamclient/winISteamNetworkingMessages.c @@ -81,9 +81,9 @@ uint32_t __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_GetSe extern vtable_ptr winISteamNetworkingMessages_SteamNetworkingMessages002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingMessages_SteamNetworkingMessages002, 0, ".?AVISteamNetworkingMessages@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingMessages_SteamNetworkingMessages002_vtables) __ASM_VTABLE(winISteamNetworkingMessages_SteamNetworkingMessages002, VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser) VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel) @@ -92,9 +92,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser) VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingMessages_SteamNetworkingMessages002(void *u_iface) { @@ -105,3 +103,9 @@ struct w_steam_iface *create_winISteamNetworkingMessages_SteamNetworkingMessages return r; } +void init_winISteamNetworkingMessages_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingMessages_SteamNetworkingMessages002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingSockets.c b/lsteamclient/winISteamNetworkingSockets.c index 31c184e1..916757f1 100644 --- a/lsteamclient/winISteamNetworkingSockets.c +++ b/lsteamclient/winISteamNetworkingSockets.c @@ -374,9 +374,9 @@ void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_destructor( extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets002, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets002_vtables) __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets002, VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress) @@ -408,9 +408,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets002(void *u_iface) { @@ -832,9 +830,9 @@ void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_destructor( extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets004, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets004_vtables) __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets004, VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress) @@ -869,9 +867,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets004(void *u_iface) { @@ -1338,9 +1334,9 @@ void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_destructor( extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets006, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets006_vtables) __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets006, VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress) @@ -1378,9 +1374,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets006(void *u_iface) { @@ -1916,9 +1910,9 @@ void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_destructor( extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets008, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets008_vtables) __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets008, VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress) @@ -1961,9 +1955,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets008(void *u_iface) { @@ -2511,9 +2503,9 @@ void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_destructor( extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets009, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets009_vtables) __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets009, VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress) @@ -2557,9 +2549,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets009(void *u_iface) { @@ -3206,9 +3196,9 @@ void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_destructor( extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets012, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets012_vtables) __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets012, VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress) @@ -3259,9 +3249,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets012(void *u_iface) { @@ -3272,3 +3260,14 @@ struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets01 return r; } +void init_winISteamNetworkingSockets_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingSockets_SteamNetworkingSockets002_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets004_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets006_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets008_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets009_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets012_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingSocketsSerialized.c b/lsteamclient/winISteamNetworkingSocketsSerialized.c index e5856443..aa34e2c5 100644 --- a/lsteamclient/winISteamNetworkingSocketsSerialized.c +++ b/lsteamclient/winISteamNetworkingSocketsSerialized.c @@ -117,9 +117,9 @@ void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSeria extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002, 0, ".?AVISteamNetworkingSocketsSerialized@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtables) __ASM_VTABLE(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002, VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous) VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure) @@ -130,9 +130,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket) VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002(void *u_iface) { @@ -258,9 +256,9 @@ void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSeria extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003, 0, ".?AVISteamNetworkingSocketsSerialized@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtables) __ASM_VTABLE(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003, VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous) VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure) @@ -271,9 +269,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket) VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003(void *u_iface) { @@ -284,3 +280,10 @@ struct w_steam_iface *create_winISteamNetworkingSocketsSerialized_SteamNetworkin return r; } +void init_winISteamNetworkingSocketsSerialized_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_rtti( base ); + init_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingUtils.c b/lsteamclient/winISteamNetworkingUtils.c index 460cfa5c..a23aca08 100644 --- a/lsteamclient/winISteamNetworkingUtils.c +++ b/lsteamclient/winISteamNetworkingUtils.c @@ -304,9 +304,9 @@ void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_destructor(stru extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils001, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils001_vtables) __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils001, VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations) @@ -331,9 +331,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils001(void *u_iface) { @@ -646,9 +644,9 @@ void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_destructor(stru extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils002, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils002_vtables) __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils002, VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation) @@ -673,9 +671,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *u_iface) { @@ -989,9 +985,9 @@ void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_destructor(stru extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils003, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils003_vtables) __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils003, VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus) @@ -1017,9 +1013,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils003(void *u_iface) { @@ -1373,9 +1367,9 @@ void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_destructor(stru extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils004, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils004_vtables) __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils004, VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus) @@ -1404,9 +1398,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString) VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils004(void *u_iface) { @@ -1417,3 +1409,12 @@ struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils004(vo return r; } +void init_winISteamNetworkingUtils_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingUtils_SteamNetworkingUtils001_rtti( base ); + init_winISteamNetworkingUtils_SteamNetworkingUtils002_rtti( base ); + init_winISteamNetworkingUtils_SteamNetworkingUtils003_rtti( base ); + init_winISteamNetworkingUtils_SteamNetworkingUtils004_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamParentalSettings.c b/lsteamclient/winISteamParentalSettings.c index ab3f77b9..9fbb3aed 100644 --- a/lsteamclient/winISteamParentalSettings.c +++ b/lsteamclient/winISteamParentalSettings.c @@ -84,9 +84,9 @@ bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSIO extern vtable_ptr winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001, 0, ".?AVISteamParentalSettings@@") + +__ASM_BLOCK_BEGIN(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled) VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked) @@ -95,9 +95,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked) VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001(void *u_iface) { @@ -108,3 +106,9 @@ struct w_steam_iface *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INT return r; } +void init_winISteamParentalSettings_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamParties.c b/lsteamclient/winISteamParties.c index 7c7d543f..35d03f32 100644 --- a/lsteamclient/winISteamParties.c +++ b/lsteamclient/winISteamParties.c @@ -175,9 +175,9 @@ bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(struct w_ extern vtable_ptr winISteamParties_SteamParties002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamParties_SteamParties002, 0, ".?AVISteamParties@@") + +__ASM_BLOCK_BEGIN(winISteamParties_SteamParties002_vtables) __ASM_VTABLE(winISteamParties_SteamParties002, VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetNumActiveBeacons) VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconByIndex) @@ -192,9 +192,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamParties_SteamParties002_DestroyBeacon) VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconLocationData) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamParties_SteamParties002(void *u_iface) { @@ -205,3 +203,9 @@ struct w_steam_iface *create_winISteamParties_SteamParties002(void *u_iface) return r; } +void init_winISteamParties_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamParties_SteamParties002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamRemotePlay.c b/lsteamclient/winISteamRemotePlay.c index f77ea1c8..14ddccd8 100644 --- a/lsteamclient/winISteamRemotePlay.c +++ b/lsteamclient/winISteamRemotePlay.c @@ -101,9 +101,9 @@ bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRe extern vtable_ptr winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001, 0, ".?AVISteamRemotePlay@@") + +__ASM_BLOCK_BEGIN(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount) VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID) @@ -113,9 +113,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution) VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001(void *u_iface) { @@ -237,9 +235,9 @@ bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRe extern vtable_ptr winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002, 0, ".?AVISteamRemotePlay@@") + +__ASM_BLOCK_BEGIN(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount) VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID) @@ -250,9 +248,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether) VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002(void *u_iface) { @@ -263,3 +259,10 @@ struct w_steam_iface *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSI return r; } +void init_winISteamRemotePlay_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_rtti( base ); + init_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamRemoteStorage.c b/lsteamclient/winISteamRemoteStorage.c index 114eae2f..3ce57e64 100644 --- a/lsteamclient/winISteamRemoteStorage.c +++ b/lsteamclient/winISteamRemoteStorage.c @@ -117,9 +117,9 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_G extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize) @@ -130,9 +130,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001(void *u_iface) { @@ -244,9 +242,9 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_G extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize) @@ -256,9 +254,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002(void *u_iface) { @@ -541,9 +537,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead) @@ -566,9 +562,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003(void *u_iface) { @@ -878,9 +872,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead) @@ -905,9 +899,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004(void *u_iface) { @@ -1349,9 +1341,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead) @@ -1385,9 +1377,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005(void *u_iface) { @@ -2065,9 +2055,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead) @@ -2117,9 +2107,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006(void *u_iface) { @@ -2799,9 +2787,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead) @@ -2851,9 +2839,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007(void *u_iface) { @@ -3587,9 +3573,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead) @@ -3643,9 +3629,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008(void *u_iface) { @@ -4380,9 +4364,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead) @@ -4436,9 +4420,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009(void *u_iface) { @@ -5191,9 +5173,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead) @@ -5248,9 +5230,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010(void *u_iface) { @@ -6004,9 +5984,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead) @@ -6061,9 +6041,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011(void *u_iface) { @@ -6818,9 +6796,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead) @@ -6875,9 +6853,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012(void *u_iface) { @@ -7677,9 +7653,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead) @@ -7737,9 +7713,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013(void *u_iface) { @@ -8539,9 +8513,9 @@ uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION0 extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead) @@ -8599,9 +8573,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014(void *u_iface) { @@ -9452,9 +9424,9 @@ bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_E extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead) @@ -9516,9 +9488,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016(void *u_iface) { @@ -9529,3 +9499,23 @@ struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE return r; } +void init_winISteamRemoteStorage_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamScreenshots.c b/lsteamclient/winISteamScreenshots.c index 4d60386e..cfab97df 100644 --- a/lsteamclient/winISteamScreenshots.c +++ b/lsteamclient/winISteamScreenshots.c @@ -95,9 +95,9 @@ bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUs extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001, 0, ".?AVISteamScreenshots@@") + +__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary) @@ -106,9 +106,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001(void *u_iface) { @@ -225,9 +223,9 @@ bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPu extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002, 0, ".?AVISteamScreenshots@@") + +__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary) @@ -237,9 +235,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002(void *u_iface) { @@ -387,9 +383,9 @@ uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_A extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003, 0, ".?AVISteamScreenshots@@") + +__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtables) __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003, VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary) @@ -401,9 +397,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003(void *u_iface) { @@ -414,3 +408,11 @@ struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VER return r; } +void init_winISteamScreenshots_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_rtti( base ); + init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_rtti( base ); + init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUGC.c b/lsteamclient/winISteamUGC.c index f7419019..126c5e16 100644 --- a/lsteamclient/winISteamUGC.c +++ b/lsteamclient/winISteamUGC.c @@ -210,9 +210,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION001, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest) @@ -229,9 +229,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION001(void *u_iface) { @@ -695,9 +693,9 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(str extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION002, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest) @@ -731,9 +729,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION002(void *u_iface) { @@ -1198,9 +1194,9 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(str extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION003, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION003, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest) @@ -1234,9 +1230,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION003(void *u_iface) { @@ -1726,9 +1720,9 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(struct w extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION004, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION004, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest) @@ -1764,9 +1758,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION004(void *u_iface) { @@ -2451,9 +2443,9 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(struct w extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION005, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION005, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest) @@ -2502,9 +2494,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION005(void *u_iface) { @@ -3244,9 +3234,9 @@ bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(struct w extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION006, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION006, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest) @@ -3299,9 +3289,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION006(void *u_iface) { @@ -4160,9 +4148,9 @@ void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(stru extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION007, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION007, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest) @@ -4223,9 +4211,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION007(void *u_iface) { @@ -5163,9 +5149,9 @@ void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(stru extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION008, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION008, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest) @@ -5231,9 +5217,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION008(void *u_iface) { @@ -6225,9 +6209,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrack extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION009, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION009, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest) @@ -6297,9 +6281,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION009(void *u_iface) { @@ -7387,9 +7369,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(struct extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION010, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION010, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest) @@ -7466,9 +7448,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION010(void *u_iface) { @@ -8587,9 +8567,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(struct extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION012, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION012, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2) @@ -8668,9 +8648,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012(void *u_iface) { @@ -9819,9 +9797,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(struct extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION013, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION013, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2) @@ -9902,9 +9880,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013(void *u_iface) { @@ -11067,9 +11043,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(struct extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION014, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION014, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2) @@ -11151,9 +11127,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014(void *u_iface) { @@ -12388,9 +12362,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULASt extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION015, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION015, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2) @@ -12477,9 +12451,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015(void *u_iface) { @@ -13744,9 +13716,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULASt extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION016, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION016, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2) @@ -13835,9 +13807,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016(void *u_iface) { @@ -15146,9 +15116,9 @@ uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULASt extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION017, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION017, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2) @@ -15240,9 +15210,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017(void *u_iface) { @@ -16566,9 +16534,9 @@ uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDes extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION018_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION018, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_vtables) __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION018, VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2) @@ -16661,9 +16629,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus) VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION018(void *u_iface) { @@ -16674,3 +16640,25 @@ struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION018(void *u_ return r; } +void init_winISteamUGC_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION001_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION002_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION003_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION004_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION005_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION006_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION007_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION008_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION009_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION010_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION012_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION013_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION014_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION015_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION016_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION017_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION018_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUnifiedMessages.c b/lsteamclient/winISteamUnifiedMessages.c index 07ef4913..b1735a0e 100644 --- a/lsteamclient/winISteamUnifiedMessages.c +++ b/lsteamclient/winISteamUnifiedMessages.c @@ -83,9 +83,9 @@ bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION0 extern vtable_ptr winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001, 0, ".?AVISteamUnifiedMessages@@") + +__ASM_BLOCK_BEGIN(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod) VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo) @@ -93,9 +93,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod) VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001(void *u_iface) { @@ -106,3 +104,9 @@ struct w_steam_iface *create_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTER return r; } +void init_winISteamUnifiedMessages_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUser.c b/lsteamclient/winISteamUser.c index 70ab91fe..b1611d39 100644 --- a/lsteamclient/winISteamUser.c +++ b/lsteamclient/winISteamUser.c @@ -350,9 +350,9 @@ void __thiscall winISteamUser_SteamUser004_RequestLegacyCDKey(struct w_steam_ifa extern vtable_ptr winISteamUser_SteamUser004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser004, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser004_vtables) __ASM_VTABLE(winISteamUser_SteamUser004, VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser004_LogOn) @@ -381,9 +381,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser004_IsPrimaryChatDestination) VTABLE_ADD_FUNC(winISteamUser_SteamUser004_RequestLegacyCDKey) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser004(void *u_iface) { @@ -925,9 +923,9 @@ void __thiscall winISteamUser_SteamUser005_SetAccountCreationTime(struct w_steam extern vtable_ptr winISteamUser_SteamUser005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser005, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser005_vtables) __ASM_VTABLE(winISteamUser_SteamUser005, VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser005_LogOn) @@ -969,9 +967,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetPassword) VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetAccountCreationTime) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser005(void *u_iface) { @@ -1154,9 +1150,9 @@ void __thiscall winISteamUser_SteamUser006_TrackAppUsageEvent(struct w_steam_ifa extern vtable_ptr winISteamUser_SteamUser006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser006, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser006_vtables) __ASM_VTABLE(winISteamUser_SteamUser006, VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser006_LogOn) @@ -1171,9 +1167,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser006_TerminateGameConnection) VTABLE_ADD_FUNC(winISteamUser_SteamUser006_TrackAppUsageEvent) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser006(void *u_iface) { @@ -1369,9 +1363,9 @@ void __thiscall winISteamUser_SteamUser007_RefreshSteam2Login(struct w_steam_ifa extern vtable_ptr winISteamUser_SteamUser007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser007, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser007_vtables) __ASM_VTABLE(winISteamUser_SteamUser007, VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser007_LogOn) @@ -1387,9 +1381,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser007_TrackAppUsageEvent) VTABLE_ADD_FUNC(winISteamUser_SteamUser007_RefreshSteam2Login) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser007(void *u_iface) { @@ -1501,9 +1493,9 @@ void __thiscall winISteamUser_SteamUser008_RefreshSteam2Login(struct w_steam_ifa extern vtable_ptr winISteamUser_SteamUser008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser008, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser008_vtables) __ASM_VTABLE(winISteamUser_SteamUser008, VTABLE_ADD_FUNC(winISteamUser_SteamUser008_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser008_BLoggedOn) @@ -1513,9 +1505,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser008_TrackAppUsageEvent) VTABLE_ADD_FUNC(winISteamUser_SteamUser008_RefreshSteam2Login) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser008(void *u_iface) { @@ -1625,9 +1615,9 @@ void __thiscall winISteamUser_SteamUser009_RefreshSteam2Login(struct w_steam_ifa extern vtable_ptr winISteamUser_SteamUser009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser009, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser009_vtables) __ASM_VTABLE(winISteamUser_SteamUser009, VTABLE_ADD_FUNC(winISteamUser_SteamUser009_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser009_BLoggedOn) @@ -1637,9 +1627,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser009_TrackAppUsageEvent) VTABLE_ADD_FUNC(winISteamUser_SteamUser009_RefreshSteam2Login) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser009(void *u_iface) { @@ -1737,9 +1725,9 @@ void __thiscall winISteamUser_SteamUser010_TrackAppUsageEvent(struct w_steam_ifa extern vtable_ptr winISteamUser_SteamUser010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser010, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser010_vtables) __ASM_VTABLE(winISteamUser_SteamUser010, VTABLE_ADD_FUNC(winISteamUser_SteamUser010_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser010_BLoggedOn) @@ -1748,9 +1736,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser010_TerminateGameConnection) VTABLE_ADD_FUNC(winISteamUser_SteamUser010_TrackAppUsageEvent) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser010(void *u_iface) { @@ -1917,9 +1903,9 @@ uint32_t __thiscall winISteamUser_SteamUser011_DecompressVoice(struct w_steam_if extern vtable_ptr winISteamUser_SteamUser011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser011, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser011_vtables) __ASM_VTABLE(winISteamUser_SteamUser011, VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser011_BLoggedOn) @@ -1933,9 +1919,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetCompressedVoice) VTABLE_ADD_FUNC(winISteamUser_SteamUser011_DecompressVoice) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser011(void *u_iface) { @@ -2170,9 +2154,9 @@ uint32_t __thiscall winISteamUser_SteamUser012_UserHasLicenseForApp(struct w_ste extern vtable_ptr winISteamUser_SteamUser012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser012, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser012_vtables) __ASM_VTABLE(winISteamUser_SteamUser012, VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser012_BLoggedOn) @@ -2191,9 +2175,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser012_CancelAuthTicket) VTABLE_ADD_FUNC(winISteamUser_SteamUser012_UserHasLicenseForApp) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser012(void *u_iface) { @@ -2447,9 +2429,9 @@ uint32_t __thiscall winISteamUser_SteamUser013_UserHasLicenseForApp(struct w_ste extern vtable_ptr winISteamUser_SteamUser013_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser013, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser013_vtables) __ASM_VTABLE(winISteamUser_SteamUser013, VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser013_BLoggedOn) @@ -2469,9 +2451,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser013_CancelAuthTicket) VTABLE_ADD_FUNC(winISteamUser_SteamUser013_UserHasLicenseForApp) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser013(void *u_iface) { @@ -2780,9 +2760,9 @@ bool __thiscall winISteamUser_SteamUser014_GetEncryptedAppTicket(struct w_steam_ extern vtable_ptr winISteamUser_SteamUser014_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser014, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser014_vtables) __ASM_VTABLE(winISteamUser_SteamUser014, VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser014_BLoggedOn) @@ -2806,9 +2786,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser014_RequestEncryptedAppTicket) VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetEncryptedAppTicket) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser014(void *u_iface) { @@ -3130,9 +3108,9 @@ bool __thiscall winISteamUser_SteamUser015_GetEncryptedAppTicket(struct w_steam_ extern vtable_ptr winISteamUser_SteamUser015_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser015, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser015_vtables) __ASM_VTABLE(winISteamUser_SteamUser015, VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser015_BLoggedOn) @@ -3157,9 +3135,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser015_RequestEncryptedAppTicket) VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetEncryptedAppTicket) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser015(void *u_iface) { @@ -3483,9 +3459,9 @@ bool __thiscall winISteamUser_SteamUser016_GetEncryptedAppTicket(struct w_steam_ extern vtable_ptr winISteamUser_SteamUser016_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser016, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser016_vtables) __ASM_VTABLE(winISteamUser_SteamUser016, VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser016_BLoggedOn) @@ -3510,9 +3486,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser016_RequestEncryptedAppTicket) VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetEncryptedAppTicket) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser016(void *u_iface) { @@ -3862,9 +3836,9 @@ int32_t __thiscall winISteamUser_SteamUser017_GetPlayerSteamLevel(struct w_steam extern vtable_ptr winISteamUser_SteamUser017_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser017, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser017_vtables) __ASM_VTABLE(winISteamUser_SteamUser017, VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser017_BLoggedOn) @@ -3891,9 +3865,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetGameBadgeLevel) VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetPlayerSteamLevel) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser017(void *u_iface) { @@ -4256,9 +4228,9 @@ uint64_t __thiscall winISteamUser_SteamUser018_RequestStoreAuthURL(struct w_stea extern vtable_ptr winISteamUser_SteamUser018_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser018, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser018_vtables) __ASM_VTABLE(winISteamUser_SteamUser018, VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser018_BLoggedOn) @@ -4286,9 +4258,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetPlayerSteamLevel) VTABLE_ADD_FUNC(winISteamUser_SteamUser018_RequestStoreAuthURL) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser018(void *u_iface) { @@ -4699,9 +4669,9 @@ bool __thiscall winISteamUser_SteamUser019_BIsPhoneRequiringVerification(struct extern vtable_ptr winISteamUser_SteamUser019_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser019, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser019_vtables) __ASM_VTABLE(winISteamUser_SteamUser019, VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BLoggedOn) @@ -4733,9 +4703,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneIdentifying) VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneRequiringVerification) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser019(void *u_iface) { @@ -5170,9 +5138,9 @@ uint64_t __thiscall winISteamUser_SteamUser020_GetDurationControl(struct w_steam extern vtable_ptr winISteamUser_SteamUser020_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser020, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser020_vtables) __ASM_VTABLE(winISteamUser_SteamUser020, VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BLoggedOn) @@ -5206,9 +5174,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetMarketEligibility) VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetDurationControl) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser020(void *u_iface) { @@ -5656,9 +5622,9 @@ bool __thiscall winISteamUser_SteamUser021_BSetDurationControlOnlineState(struct extern vtable_ptr winISteamUser_SteamUser021_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser021, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser021_vtables) __ASM_VTABLE(winISteamUser_SteamUser021, VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BLoggedOn) @@ -5693,9 +5659,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetDurationControl) VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BSetDurationControlOnlineState) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser021(void *u_iface) { @@ -6144,9 +6108,9 @@ bool __thiscall winISteamUser_SteamUser022_BSetDurationControlOnlineState(struct extern vtable_ptr winISteamUser_SteamUser022_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser022, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser022_vtables) __ASM_VTABLE(winISteamUser_SteamUser022, VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BLoggedOn) @@ -6181,9 +6145,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetDurationControl) VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BSetDurationControlOnlineState) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser022(void *u_iface) { @@ -6645,9 +6607,9 @@ bool __thiscall winISteamUser_SteamUser023_BSetDurationControlOnlineState(struct extern vtable_ptr winISteamUser_SteamUser023_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser023, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser023_vtables) __ASM_VTABLE(winISteamUser_SteamUser023, VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetHSteamUser) VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BLoggedOn) @@ -6683,9 +6645,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetDurationControl) VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BSetDurationControlOnlineState) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUser_SteamUser023(void *u_iface) { @@ -6696,3 +6656,28 @@ struct w_steam_iface *create_winISteamUser_SteamUser023(void *u_iface) return r; } +void init_winISteamUser_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUser_SteamUser004_rtti( base ); + init_winISteamUser_SteamUser005_rtti( base ); + init_winISteamUser_SteamUser006_rtti( base ); + init_winISteamUser_SteamUser007_rtti( base ); + init_winISteamUser_SteamUser008_rtti( base ); + init_winISteamUser_SteamUser009_rtti( base ); + init_winISteamUser_SteamUser010_rtti( base ); + init_winISteamUser_SteamUser011_rtti( base ); + init_winISteamUser_SteamUser012_rtti( base ); + init_winISteamUser_SteamUser013_rtti( base ); + init_winISteamUser_SteamUser014_rtti( base ); + init_winISteamUser_SteamUser015_rtti( base ); + init_winISteamUser_SteamUser016_rtti( base ); + init_winISteamUser_SteamUser017_rtti( base ); + init_winISteamUser_SteamUser018_rtti( base ); + init_winISteamUser_SteamUser019_rtti( base ); + init_winISteamUser_SteamUser020_rtti( base ); + init_winISteamUser_SteamUser021_rtti( base ); + init_winISteamUser_SteamUser022_rtti( base ); + init_winISteamUser_SteamUser023_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUserStats.c b/lsteamclient/winISteamUserStats.c index eeb2ce13..ffa21fca 100644 --- a/lsteamclient/winISteamUserStats.c +++ b/lsteamclient/winISteamUserStats.c @@ -320,9 +320,9 @@ const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_G extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName) @@ -347,9 +347,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001(void *u_iface) { @@ -623,9 +621,9 @@ bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateA extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName) @@ -646,9 +644,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002(void *u_iface) { @@ -841,9 +837,9 @@ bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateA extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2) @@ -859,9 +855,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003(void *u_iface) { @@ -1112,9 +1106,9 @@ bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAc extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2) @@ -1134,9 +1128,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004(void *u_iface) { @@ -1529,9 +1521,9 @@ uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_Uploa extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2) @@ -1561,9 +1553,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005(void *u_iface) { @@ -1969,9 +1959,9 @@ uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNu extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2) @@ -2002,9 +1992,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006(void *u_iface) { @@ -2441,9 +2429,9 @@ uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNu extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2) @@ -2476,9 +2464,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007(void *u_iface) { @@ -2929,9 +2915,9 @@ uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNu extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2) @@ -2965,9 +2951,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008(void *u_iface) { @@ -3433,9 +3417,9 @@ uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNu extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2) @@ -3470,9 +3454,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009(void *u_iface) { @@ -4068,9 +4050,9 @@ int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlo extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2) @@ -4114,9 +4096,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010(void *u_iface) { @@ -4737,9 +4717,9 @@ int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlo extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2) @@ -4785,9 +4765,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011(void *u_iface) { @@ -5438,9 +5416,9 @@ bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchiev extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2) @@ -5488,9 +5466,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012(void *u_iface) { @@ -5501,3 +5477,20 @@ struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION return r; } +void init_winISteamUserStats_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUtils.c b/lsteamclient/winISteamUtils.c index ece281ab..bdfc01d9 100644 --- a/lsteamclient/winISteamUtils.c +++ b/lsteamclient/winISteamUtils.c @@ -192,9 +192,9 @@ bool __thiscall winISteamUtils_SteamUtils002_GetAPICallResult(struct w_steam_ifa extern vtable_ptr winISteamUtils_SteamUtils002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils002, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils002_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils002, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive) @@ -211,9 +211,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallFailureReason) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallResult) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils002(void *u_iface) { @@ -460,9 +458,9 @@ bool __thiscall winISteamUtils_SteamUtils004_IsOverlayEnabled(struct w_steam_ifa extern vtable_ptr winISteamUtils_SteamUtils004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils004, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils004_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils004, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive) @@ -483,9 +481,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_SetWarningMessageHook) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_IsOverlayEnabled) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils004(void *u_iface) { @@ -801,9 +797,9 @@ bool __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(struct w extern vtable_ptr winISteamUtils_SteamUtils005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils005, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils005_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils005, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive) @@ -829,9 +825,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils005(void *u_iface) { @@ -1171,9 +1165,9 @@ bool __thiscall winISteamUtils_SteamUtils006_IsSteamRunningInVR(struct w_steam_i extern vtable_ptr winISteamUtils_SteamUtils006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils006, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils006_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils006, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive) @@ -1201,9 +1195,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSteamUILanguage) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsSteamRunningInVR) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils006(void *u_iface) { @@ -1557,9 +1549,9 @@ void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationInset(struct extern vtable_ptr winISteamUtils_SteamUtils007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils007, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils007_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils007, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive) @@ -1588,9 +1580,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsSteamRunningInVR) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetOverlayNotificationInset) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils007(void *u_iface) { @@ -1967,9 +1957,9 @@ void __thiscall winISteamUtils_SteamUtils008_StartVRDashboard(struct w_steam_ifa extern vtable_ptr winISteamUtils_SteamUtils008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils008, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils008_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils008, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive) @@ -2000,9 +1990,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsSteamInBigPictureMode) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_StartVRDashboard) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils008(void *u_iface) { @@ -2456,9 +2444,9 @@ uint32_t __thiscall winISteamUtils_SteamUtils009_GetIPv6ConnectivityState(struct extern vtable_ptr winISteamUtils_SteamUtils009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils009, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils009_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils009, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive) @@ -2495,9 +2483,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_FilterText) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils009(void *u_iface) { @@ -3006,9 +2992,9 @@ bool __thiscall winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(str extern vtable_ptr winISteamUtils_SteamUtils010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils010, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils010_vtables) __ASM_VTABLE(winISteamUtils_SteamUtils010, VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceAppActive) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive) @@ -3049,9 +3035,7 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetGameLauncherMode) VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamUtils_SteamUtils010(void *u_iface) { @@ -3062,3 +3046,16 @@ struct w_steam_iface *create_winISteamUtils_SteamUtils010(void *u_iface) return r; } +void init_winISteamUtils_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUtils_SteamUtils002_rtti( base ); + init_winISteamUtils_SteamUtils004_rtti( base ); + init_winISteamUtils_SteamUtils005_rtti( base ); + init_winISteamUtils_SteamUtils006_rtti( base ); + init_winISteamUtils_SteamUtils007_rtti( base ); + init_winISteamUtils_SteamUtils008_rtti( base ); + init_winISteamUtils_SteamUtils009_rtti( base ); + init_winISteamUtils_SteamUtils010_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamVideo.c b/lsteamclient/winISteamVideo.c index bf89b5f6..c81f3b0e 100644 --- a/lsteamclient/winISteamVideo.c +++ b/lsteamclient/winISteamVideo.c @@ -33,16 +33,14 @@ bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(struct w extern vtable_ptr winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamVideo_STEAMVIDEO_INTERFACE_V001, 0, ".?AVISteamVideo@@") + +__ASM_BLOCK_BEGIN(winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtables) __ASM_VTABLE(winISteamVideo_STEAMVIDEO_INTERFACE_V001, VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL) VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamVideo_STEAMVIDEO_INTERFACE_V001(void *u_iface) { @@ -110,18 +108,16 @@ bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(stru extern vtable_ptr winISteamVideo_STEAMVIDEO_INTERFACE_V002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamVideo_STEAMVIDEO_INTERFACE_V002, 0, ".?AVISteamVideo@@") + +__ASM_BLOCK_BEGIN(winISteamVideo_STEAMVIDEO_INTERFACE_V002_vtables) __ASM_VTABLE(winISteamVideo_STEAMVIDEO_INTERFACE_V002, VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL) VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting) VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings) VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END struct w_steam_iface *create_winISteamVideo_STEAMVIDEO_INTERFACE_V002(void *u_iface) { @@ -132,3 +128,10 @@ struct w_steam_iface *create_winISteamVideo_STEAMVIDEO_INTERFACE_V002(void *u_if return r; } +void init_winISteamVideo_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamVideo_STEAMVIDEO_INTERFACE_V001_rtti( base ); + init_winISteamVideo_STEAMVIDEO_INTERFACE_V002_rtti( base ); +#endif /* __x86_64__ */ +}