From 011749571b83628772c5d8d8e6b4f8555f49890e Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 8 Sep 2026 16:54:04 -0400 Subject: [PATCH] point system_output at the surviving g_SpeciesDefTable name after the duplicate-address sweep --- src/shim/hooks/system_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shim/hooks/system_output.cpp b/src/shim/hooks/system_output.cpp index ab57e1f..59c9b25 100644 --- a/src/shim/hooks/system_output.cpp +++ b/src/shim/hooks/system_output.cpp @@ -202,7 +202,7 @@ TotalState g_total; const void* species_def(int species) { if (!g_env.exe_base || species < 0 || species > 6) return nullptr; - const void* p = reinterpret_cast(A::SpeciesDefTable_base + g_env.exe_base + + const void* p = reinterpret_cast(A::g_SpeciesDefTable + g_env.exe_base + std::uintptr_t(species) * 0x184); return readable(p, 0x54) ? p : nullptr; }