slice_set_sample.h 551 B

12345678910111213141516171819
  1. #pragma once
  2. #include <cstdint>
  3. namespace sunrise::client::hooks::bootflow::spawn {
  4. /**
  5. * Finds the spawn gate and the four calls it reads the current slice set through.
  6. * @return True when every call decoded.
  7. */
  8. [[nodiscard]] bool install_targets() noexcept;
  9. /** Clears the calls it found. */
  10. void uninstall_targets() noexcept;
  11. /** @return The addressable local slice-set index, -1 while absent, or -2 when unresolved. */
  12. [[nodiscard]] std::int32_t sample_current_slice_set() noexcept;
  13. } // namespace sunrise::client::hooks::bootflow::spawn