Skip to content

Commit

Permalink
Added missing exports
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Nov 1, 2021
1 parent 43c2eb4 commit 0eeddc0
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 64 deletions.
1 change: 1 addition & 0 deletions UplayR1Unlocker/LinkerExports.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
#pragma comment(linker, "/export:UPLAY_OVERLAY_Show=uplay_r1_o.UPLAY_OVERLAY_Show")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowBrowserUrl=uplay_r1_o.UPLAY_OVERLAY_ShowBrowserUrl")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowFacebookAuthentication=uplay_r1_o.UPLAY_OVERLAY_ShowFacebookAuthentication")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowMicroApp=uplay_r1_o.UPLAY_OVERLAY_ShowMicroApp")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowNotification=uplay_r1_o.UPLAY_OVERLAY_ShowNotification")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowShopUrl=uplay_r1_o.UPLAY_OVERLAY_ShowShopUrl")
#pragma comment(linker, "/export:UPLAY_PARTY_GetFullMemberList=uplay_r1_o.UPLAY_PARTY_GetFullMemberList")
Expand Down
1 change: 1 addition & 0 deletions UplayR1Unlocker/LinkerExports64.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
#pragma comment(linker, "/export:UPLAY_OVERLAY_Show=uplay_r164_o.UPLAY_OVERLAY_Show")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowBrowserUrl=uplay_r164_o.UPLAY_OVERLAY_ShowBrowserUrl")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowFacebookAuthentication=uplay_r164_o.UPLAY_OVERLAY_ShowFacebookAuthentication")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowMicroApp=uplay_r164_o.UPLAY_OVERLAY_ShowMicroApp")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowNotification=uplay_r164_o.UPLAY_OVERLAY_ShowNotification")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowShopUrl=uplay_r164_o.UPLAY_OVERLAY_ShowShopUrl")
#pragma comment(linker, "/export:UPLAY_PARTY_GetFullMemberList=uplay_r164_o.UPLAY_PARTY_GetFullMemberList")
Expand Down
30 changes: 5 additions & 25 deletions UplayR1Unlocker/LoaderLinkerExports.h
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
#pragma once

#pragma comment(linker, "/export:?UPLAY_FRIENDS_DisableFriendMenuItem@@YAHI@Z=uplay_r1_loader_o.?UPLAY_FRIENDS_DisableFriendMenuItem@@YAHI@Z")
#pragma comment(linker, "/export:?UPLAY_FRIENDS_EnableFriendMenuItem@@YAHIIPAI@Z=uplay_r1_loader_o.?UPLAY_FRIENDS_EnableFriendMenuItem@@YAHIIPAI@Z")
#pragma comment(linker, "/export:?UPLAY_PARTY_DisablePartyMemberMenuItem@@YAHXZ=uplay_r1_loader_o.?UPLAY_PARTY_DisablePartyMemberMenuItem@@YAHXZ")
#pragma comment(linker, "/export:?UPLAY_PARTY_EnablePartyMemberMenuItem@@YAHIIPAI@Z=uplay_r1_loader_o.?UPLAY_PARTY_EnablePartyMemberMenuItem@@YAHIIPAI@Z")
#pragma comment(linker, "/export:?UPLAY_PARTY_SetGuest@@YAHPBDPAUUPLAY_Overlapped_t@@@Z=uplay_r1_loader_o.?UPLAY_PARTY_SetGuest@@YAHPBDPAUUPLAY_Overlapped_t@@@Z")
#pragma comment(linker, "/export:UPLAY_ACH_EarnAchievement=uplay_r1_loader_o.UPLAY_ACH_EarnAchievement")
#pragma comment(linker, "/export:UPLAY_ACH_GetAchievementImage=uplay_r1_loader_o.UPLAY_ACH_GetAchievementImage")
#pragma comment(linker, "/export:UPLAY_ACH_GetAchievements=uplay_r1_loader_o.UPLAY_ACH_GetAchievements")
#pragma comment(linker, "/export:UPLAY_ACH_ReleaseAchievementImage=uplay_r1_loader_o.UPLAY_ACH_ReleaseAchievementImage")
#pragma comment(linker, "/export:UPLAY_ACH_ReleaseAchievementList=uplay_r1_loader_o.UPLAY_ACH_ReleaseAchievementList")
#pragma comment(linker, "/export:UPLAY_ACH_Write=uplay_r1_loader_o.UPLAY_ACH_Write")
#pragma comment(linker, "/export:UPLAY_AVATAR_Get=uplay_r1_loader_o.UPLAY_AVATAR_Get")
#pragma comment(linker, "/export:UPLAY_AVATAR_GetAvatarIdForCurrentUser=uplay_r1_loader_o.UPLAY_AVATAR_GetAvatarIdForCurrentUser")
#pragma comment(linker, "/export:UPLAY_AVATAR_GetBitmap=uplay_r1_loader_o.UPLAY_AVATAR_GetBitmap")
#pragma comment(linker, "/export:UPLAY_AVATAR_Relea`se=uplay_r1_loader_o.UPLAY_AVATAR_Release")
#pragma comment(linker, "/export:UPLAY_CHAT_GetHistory=uplay_r1_loader_o.UPLAY_CHAT_GetHistory")
#pragma comment(linker, "/export:UPLAY_CHAT_Init=uplay_r1_loader_o.UPLAY_CHAT_Init")
#pragma comment(linker, "/export:UPLAY_CHAT_ReleaseHistoryList=uplay_r1_loader_o.UPLAY_CHAT_ReleaseHistoryList")
#pragma comment(linker, "/export:UPLAY_CHAT_SendMessage=uplay_r1_loader_o.UPLAY_CHAT_SendMessage")
#pragma comment(linker, "/export:UPLAY_CHAT_SetMessagesRead=uplay_r1_loader_o.UPLAY_CHAT_SetMessagesRead")
#pragma comment(linker, "/export:UPLAY_ClearGameSession=uplay_r1_loader_o.UPLAY_ClearGameSession")
#pragma comment(linker, "/export:UPLAY_AVATAR_Release=uplay_r1_loader_o.UPLAY_AVATAR_Release")
#pragma comment(linker, "/export:UPLAY_FRIENDS_AddPlayedWith=uplay_r1_loader_o.UPLAY_FRIENDS_AddPlayedWith")
#pragma comment(linker, "/export:UPLAY_FRIENDS_AddToBlackList=uplay_r1_loader_o.UPLAY_FRIENDS_AddToBlackList")
#pragma comment(linker, "/export:UPLAY_FRIENDS_DisableFriendMenuItem=uplay_r1_loader_o.UPLAY_FRIENDS_DisableFriendMenuItem")
#pragma comment(linker, "/export:UPLAY_FRIENDS_EnableFriendMenuItem=uplay_r1_loader_o.UPLAY_FRIENDS_EnableFriendMenuItem")
#pragma comment(linker, "/export:UPLAY_FRIENDS_GetFriendList=uplay_r1_loader_o.UPLAY_FRIENDS_GetFriendList")
#pragma comment(linker, "/export:UPLAY_FRIENDS_Init=uplay_r1_loader_o.UPLAY_FRIENDS_Init")
#pragma comment(linker, "/export:UPLAY_FRIENDS_InviteToGame=uplay_r1_loader_o.UPLAY_FRIENDS_InviteToGame")
Expand All @@ -45,7 +34,6 @@
#pragma comment(linker, "/export:UPLAY_INSTALLER_Init=uplay_r1_loader_o.UPLAY_INSTALLER_Init")
#pragma comment(linker, "/export:UPLAY_INSTALLER_ReleaseChunkIdList=uplay_r1_loader_o.UPLAY_INSTALLER_ReleaseChunkIdList")
#pragma comment(linker, "/export:UPLAY_INSTALLER_UpdateInstallOrder=uplay_r1_loader_o.UPLAY_INSTALLER_UpdateInstallOrder")
#pragma comment(linker, "/export:UPLAY_Init=uplay_r1_loader_o.UPLAY_Init")
#pragma comment(linker, "/export:UPLAY_METADATA_ClearContinuousTag=uplay_r1_loader_o.UPLAY_METADATA_ClearContinuousTag")
#pragma comment(linker, "/export:UPLAY_METADATA_SetContinuousTag=uplay_r1_loader_o.UPLAY_METADATA_SetContinuousTag")
#pragma comment(linker, "/export:UPLAY_METADATA_SetSingleEventTag=uplay_r1_loader_o.UPLAY_METADATA_SetSingleEventTag")
Expand All @@ -60,7 +48,6 @@
#pragma comment(linker, "/export:UPLAY_OVERLAY_SetShopUrl=uplay_r1_loader_o.UPLAY_OVERLAY_SetShopUrl")
#pragma comment(linker, "/export:UPLAY_OVERLAY_Show=uplay_r1_loader_o.UPLAY_OVERLAY_Show")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowBrowserUrl=uplay_r1_loader_o.UPLAY_OVERLAY_ShowBrowserUrl")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowFacebookAuthentication=uplay_r1_loader_o.UPLAY_OVERLAY_ShowFacebookAuthentication")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowNotification=uplay_r1_loader_o.UPLAY_OVERLAY_ShowNotification")
#pragma comment(linker, "/export:UPLAY_OVERLAY_ShowShopUrl=uplay_r1_loader_o.UPLAY_OVERLAY_ShowShopUrl")
#pragma comment(linker, "/export:UPLAY_PARTY_GetFullMemberList=uplay_r1_loader_o.UPLAY_PARTY_GetFullMemberList")
Expand All @@ -73,6 +60,7 @@
#pragma comment(linker, "/export:UPLAY_PARTY_IsPartyLeader=uplay_r1_loader_o.UPLAY_PARTY_IsPartyLeader")
#pragma comment(linker, "/export:UPLAY_PARTY_PromoteToLeader=uplay_r1_loader_o.UPLAY_PARTY_PromoteToLeader")
#pragma comment(linker, "/export:UPLAY_PARTY_RespondToGameInvite=uplay_r1_loader_o.UPLAY_PARTY_RespondToGameInvite")
#pragma comment(linker, "/export:UPLAY_PARTY_SetGuest=uplay_r1_loader_o.UPLAY_PARTY_SetGuest")
#pragma comment(linker, "/export:UPLAY_PARTY_SetUserData=uplay_r1_loader_o.UPLAY_PARTY_SetUserData")
#pragma comment(linker, "/export:UPLAY_PARTY_ShowGameInviteOverlayUI=uplay_r1_loader_o.UPLAY_PARTY_ShowGameInviteOverlayUI")
#pragma comment(linker, "/export:UPLAY_PRESENCE_SetPresence=uplay_r1_loader_o.UPLAY_PRESENCE_SetPresence")
Expand All @@ -81,6 +69,7 @@
#pragma comment(linker, "/export:UPLAY_PeekNextEvent=uplay_r1_loader_o.UPLAY_PeekNextEvent")
#pragma comment(linker, "/export:UPLAY_Quit=uplay_r1_loader_o.UPLAY_Quit")
#pragma comment(linker, "/export:UPLAY_Release=uplay_r1_loader_o.UPLAY_Release")
#pragma comment(linker, "/export:UPLAY_Startup=uplay_r1_loader_o.UPLAY_Startup")
#pragma comment(linker, "/export:UPLAY_SAVE_Close=uplay_r1_loader_o.UPLAY_SAVE_Close")
#pragma comment(linker, "/export:UPLAY_SAVE_GetSavegames=uplay_r1_loader_o.UPLAY_SAVE_GetSavegames")
#pragma comment(linker, "/export:UPLAY_SAVE_Open=uplay_r1_loader_o.UPLAY_SAVE_Open")
Expand All @@ -96,30 +85,21 @@
#pragma comment(linker, "/export:UPLAY_STORE_ReleaseProductsList=uplay_r1_loader_o.UPLAY_STORE_ReleaseProductsList")
#pragma comment(linker, "/export:UPLAY_STORE_ShowProductDetails=uplay_r1_loader_o.UPLAY_STORE_ShowProductDetails")
#pragma comment(linker, "/export:UPLAY_STORE_ShowProducts=uplay_r1_loader_o.UPLAY_STORE_ShowProducts")
#pragma comment(linker, "/export:UPLAY_SetGameSession=uplay_r1_loader_o.UPLAY_SetGameSession")
#pragma comment(linker, "/export:UPLAY_SetLanguage=uplay_r1_loader_o.UPLAY_SetLanguage")
#pragma comment(linker, "/export:UPLAY_Start=uplay_r1_loader_o.UPLAY_Start")
#pragma comment(linker, "/export:UPLAY_Startup=uplay_r1_loader_o.UPLAY_Startup")
#pragma comment(linker, "/export:UPLAY_USER_ClearGameSession=uplay_r1_loader_o.UPLAY_USER_ClearGameSession")
#pragma comment(linker, "/export:UPLAY_USER_ConsumeItem=uplay_r1_loader_o.UPLAY_USER_ConsumeItem")
#pragma comment(linker, "/export:UPLAY_USER_GetAccountId=uplay_r1_loader_o.UPLAY_USER_GetAccountId")
#pragma comment(linker, "/export:UPLAY_USER_GetAccountIdUtf8=uplay_r1_loader_o.UPLAY_USER_GetAccountIdUtf8")
#pragma comment(linker, "/export:UPLAY_USER_GetCPUScore=uplay_r1_loader_o.UPLAY_USER_GetCPUScore")
#pragma comment(linker, "/export:UPLAY_USER_GetCdKeyUtf8=uplay_r1_loader_o.UPLAY_USER_GetCdKeyUtf8")
#pragma comment(linker, "/export:UPLAY_USER_GetCdKeys=uplay_r1_loader_o.UPLAY_USER_GetCdKeys")
#pragma comment(linker, "/export:UPLAY_USER_GetConsumableItems=uplay_r1_loader_o.UPLAY_USER_GetConsumableItems")
#pragma comment(linker, "/export:UPLAY_USER_GetCredentials=uplay_r1_loader_o.UPLAY_USER_GetCredentials")
#pragma comment(linker, "/export:UPLAY_USER_GetEmail=uplay_r1_loader_o.UPLAY_USER_GetEmail")
#pragma comment(linker, "/export:UPLAY_USER_GetEmailUtf8=uplay_r1_loader_o.UPLAY_USER_GetEmailUtf8")
#pragma comment(linker, "/export:UPLAY_USER_GetGPUScore=uplay_r1_loader_o.UPLAY_USER_GetGPUScore")
#pragma comment(linker, "/export:UPLAY_USER_GetGPUScoreConfidenceLevel=uplay_r1_loader_o.UPLAY_USER_GetGPUScoreConfidenceLevel")
#pragma comment(linker, "/export:UPLAY_USER_GetNameUtf8=uplay_r1_loader_o.UPLAY_USER_GetNameUtf8")
#pragma comment(linker, "/export:UPLAY_USER_GetPassword=uplay_r1_loader_o.UPLAY_USER_GetPassword")
#pragma comment(linker, "/export:UPLAY_USER_GetPasswordUtf8=uplay_r1_loader_o.UPLAY_USER_GetPasswordUtf8")
#pragma comment(linker, "/export:UPLAY_USER_GetProfile=uplay_r1_loader_o.UPLAY_USER_GetProfile")
#pragma comment(linker, "/export:UPLAY_USER_GetTicketUtf8=uplay_r1_loader_o.UPLAY_USER_GetTicketUtf8")
#pragma comment(linker, "/export:UPLAY_USER_GetUsername=uplay_r1_loader_o.UPLAY_USER_GetUsername")
#pragma comment(linker, "/export:UPLAY_USER_GetUsernameUtf8=uplay_r1_loader_o.UPLAY_USER_GetUsernameUtf8")
#pragma comment(linker, "/export:UPLAY_USER_IsConnected=uplay_r1_loader_o.UPLAY_USER_IsConnected")
#pragma comment(linker, "/export:UPLAY_USER_IsInOfflineMode=uplay_r1_loader_o.UPLAY_USER_IsInOfflineMode")
// #pragma comment(linker, "/export:UPLAY_USER_IsOwned=uplay_r1_loader_o.UPLAY_USER_IsOwned")
Expand Down
Loading

0 comments on commit 0eeddc0

Please sign in to comment.