From 4d979bf65957f05430ff50812a9892a4216f50be Mon Sep 17 00:00:00 2001 From: fed <58637860+fedddddd@users.noreply.github.com> Date: Wed, 13 Sep 2023 17:43:18 +0200 Subject: [PATCH] Fix for update --- src/component/signatures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/signatures.cpp b/src/component/signatures.cpp index 0b377e5..74c6c28 100644 --- a/src/component/signatures.cpp +++ b/src/component/signatures.cpp @@ -63,13 +63,13 @@ namespace signatures bool process_gsc_ctx() { - const auto string_ref = find_string_ref("in call to builtin %s \"%s\""); + const auto string_ref = find_string_ref("in call to builtin {} \"{}\""); if (!string_ref) { return false; } - const auto gsc_ctx_ptr = *reinterpret_cast(string_ref - 0xAD); + const auto gsc_ctx_ptr = *reinterpret_cast(string_ref - 0xED); game::plutonium::gsc_ctx.set(gsc_ctx_ptr); return true; }