Basic working file writing

This commit is contained in:
momo5502
2024-10-22 20:09:33 +02:00
parent 4b2adb0d63
commit af529a62d7
5 changed files with 197 additions and 73 deletions

View File

@@ -91,6 +91,15 @@ T resolve_argument(x64_emulator& emu, const size_t index)
return static_cast<T>(arg);
}
template <typename T>
requires(std::is_same_v<std::remove_cvref_t<T>, handle>)
handle resolve_argument(x64_emulator& emu, const size_t index)
{
handle h{};
h.bits = resolve_argument<uint64_t>(emu, index);
return h;
}
template <typename T>
requires(std::is_same_v<T, emulator_object<typename T::value_type>>)
T resolve_argument(x64_emulator& emu, const size_t index)