"Template" for 0xFE message: 0x22005

This commit is contained in:
Rados??aw Gli??ski 2019-08-16 20:41:43 +02:00 committed by Radosław Gliński
parent 803fa0cba9
commit a8978db8f9
1 changed files with 12 additions and 0 deletions

View File

@ -41,6 +41,18 @@ X_RESULT UnknownFEApp::DispatchMessageSync(uint32_t message,
(uint32_t)data->unk_48);
return X_ERROR_SUCCESS;
}
case 0x00022005: {
struct message_data {
xe::be<uint32_t> unk_00; // ? output_ptr ?
xe::be<uint32_t> unk_04; // ? value/jump to? ?
}* data = reinterpret_cast<message_data*>(buffer);
assert_true(buffer_length == sizeof(message_data));
auto unk = memory_->TranslateVirtual<xe::be<uint32_t>*>(data->unk_00);
auto adr = *unk;
XELOGD("UnknownFEApp(0x00022005)(%.8X, %.8X)", (uint32_t)data->unk_00,
(uint32_t)data->unk_04);
return X_ERROR_SUCCESS;
}
}
XELOGE(
"Unimplemented 0xFE message app=%.8X, msg=%.8X, arg1=%.8X, "