[XAM] - Replacing Unk

- Replacing unk parameters
- Naming unk xmp calls
- Added missing xmp structs
- Added missing messenger structs
- Added missing XamProfileCreate related structs
This commit is contained in:
The-Little-Wolf
2025-06-18 08:27:00 -07:00
committed by Radosław Gliński
parent fd82727be6
commit 6314388c51
13 changed files with 198 additions and 55 deletions

View File

@@ -57,11 +57,12 @@ dword_result_t XamProfileOpen_entry(qword_t xuid, lpstring_t mount_path,
}
DECLARE_XAM_EXPORT1(XamProfileOpen, kNone, kImplemented);
dword_result_t XamProfileCreate_entry(dword_t flags, lpdword_t device_id,
qword_t xuid,
pointer_t<X_XAMACCOUNTINFO> account,
dword_t unk1, dword_t unk2, dword_t unk3,
dword_t unk4) {
dword_result_t XamProfileCreate_entry(
dword_t flags, lpdword_t device_id, qword_t xuid,
pointer_t<X_XAMACCOUNTINFO> account,
pointer_t<X_USER_PAYMENT_INFO> payment_info,
pointer_t<X_PASSPORT_SESSION_TOKEN> user_token,
pointer_t<X_PASSPORT_SESSION_TOKEN> owner_token, lpvoid_t unk1) {
if (device_id) {
*device_id = 0x1;
}
@@ -92,7 +93,8 @@ dword_result_t XamProfileClose_entry(lpstring_t mount_name) {
}
DECLARE_XAM_EXPORT1(XamProfileClose, kNone, kStub);
dword_result_t XamProfileGetCreationStatus_entry(lpdword_t r3, lpdword_t r4) {
dword_result_t XamProfileGetCreationStatus_entry(lpvoid_t unk1,
lpqword_t offline_xuid) {
return X_ERROR_SUCCESS;
}
DECLARE_XAM_EXPORT1(XamProfileGetCreationStatus, kNone, kStub);