From bc9fd19716219447f976c5362cc32912a3846220 Mon Sep 17 00:00:00 2001 From: Bugisoft <58910128+BugisoftRSG@users.noreply.github.com> Date: Sun, 19 May 2024 00:02:49 +0200 Subject: [PATCH] Update scrNativeCallContext (#171) --- script/scrNativeHandler.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/scrNativeHandler.hpp b/script/scrNativeHandler.hpp index cfda788..fcd447c 100644 --- a/script/scrNativeHandler.hpp +++ b/script/scrNativeHandler.hpp @@ -51,9 +51,10 @@ namespace rage std::uint32_t m_arg_count; void* m_args; std::int32_t m_data_count; - std::uint32_t m_data[48]; + rage::scrValue* m_orig[4]; + rage::fvector4 m_buffer[4]; }; - static_assert(sizeof(scrNativeCallContext) == 0xE0); + static_assert(sizeof(scrNativeCallContext) == 0x80); using scrNativeHash = std::uint64_t; using scrNativePair = std::pair;