internal.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #pragma once
  2. #include "../../../patterns/image_scan.h"
  3. namespace sunrise::client::hooks::network::investment {
  4. using patterns::resolve_relative;
  5. using patterns::scan_main_image_unique;
  6. using patterns::signature;
  7. using patterns::signature_length;
  8. /**
  9. * Attaches the family-five commit rearm.
  10. * @return True when the target is found and the detour attaches.
  11. */
  12. [[nodiscard]] bool install_family5_rearm() noexcept;
  13. /** @return True when the family-five commit rearm is absent. */
  14. [[nodiscard]] bool uninstall_family5_rearm() noexcept;
  15. /** @return True while the family-five commit rearm is attached. */
  16. [[nodiscard]] bool family5_rearm_is_installed() noexcept;
  17. /** Applies the armed set correction and services bounded category-readiness retries. */
  18. void apply_socket_menu_routing() noexcept;
  19. /** Reserves low-address storage before retail content occupies the compatible address domain. */
  20. void reserve_socket_menu_routing_storage() noexcept;
  21. /** Arms socket-menu correction at native content-table patch completion. */
  22. void arm_socket_menu_routing() noexcept;
  23. /** Restores owned category fields and plug-set descriptors without recycling published storage. */
  24. void restore_socket_menu_routing() noexcept;
  25. /** Reveals the specified lore entries without altering any account progress. */
  26. void apply_lore_visibility() noexcept;
  27. void restore_lore_visibility() noexcept;
  28. /**
  29. * Arms one derived-state rebuild after replicated investment state changes.
  30. */
  31. void arm_derived_rebuild() noexcept;
  32. } // namespace sunrise::client::hooks::network::investment