From 5452e8f2f0bb0426d05504974cbe47834847f3de Mon Sep 17 00:00:00 2001 From: gggaa2152 <60614405+gggaa2152@users.noreply.github.com> Date: Sat, 25 Jul 2026 16:19:07 +0800 Subject: [PATCH] Update main.cpp --- main.cpp | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/main.cpp b/main.cpp index cb76378d6..6c72c74bf 100644 --- a/main.cpp +++ b/main.cpp @@ -653,21 +653,6 @@ std::atomic g_ReadIdx{0}; std::atomic g_is_in_match{false}; -uintptr_t g_il2cppBase = 0, g_debug_mgrObj = 0; -void* g_turnStartThisObj = nullptr; -void* g_hexCfgObj = nullptr; - -int g_debug_TurnStartCalled = 0, g_debug_hook_3Cd6058_count = 0, g_debug_hook_set_Money_count = 0, g_debug_hook_set_Level_count = 0; -int g_debug_UpdateTurnStart_count = 0, g_debug_set_IsGameEnd_count = 0, g_debug_SendWillRenderCanvases_count = 0; -int g_debug_collected_players_count = 0, g_debug_hook_InitTurnDropCfg_count = 0, g_debug_bg_thread_count = 0; -int g_debug_hook_6A67e48_count = 0; - -std::atomic g_collected_all_players{false}; -std::atomic g_matchFetchRequested{false}, g_matchFetchReady{false}; -std::chrono::steady_clock::time_point g_matchFetchTime; -std::atomic g_pool_entries1{0}; - - void PushSnapshot() { int write_idx = g_WriteIdx.load(std::memory_order_relaxed); int next_write = 1 - write_idx; @@ -681,6 +666,19 @@ const GameSnapshot* GetSnapshot() { return &g_Snapshots[read_idx]; } +uintptr_t g_il2cppBase = 0, g_debug_mgrObj = 0; +void* g_turnStartThisObj = nullptr; +void* g_hexCfgObj = nullptr; + +int g_debug_TurnStartCalled = 0, g_debug_hook_3Cd6058_count = 0, g_debug_hook_set_Money_count = 0, g_debug_hook_set_Level_count = 0; +int g_debug_UpdateTurnStart_count = 0, g_debug_set_IsGameEnd_count = 0, g_debug_SendWillRenderCanvases_count = 0; +int g_debug_collected_players_count = 0, g_debug_hook_InitTurnDropCfg_count = 0, g_debug_bg_thread_count = 0; +int g_debug_hook_6A67e48_count = 0; + +std::atomic g_collected_all_players{false}; +std::atomic g_matchFetchRequested{false}, g_matchFetchReady{false}; +std::chrono::steady_clock::time_point g_matchFetchTime; +std::atomic g_pool_entries1{0}; // ================================================================= // 极速数学解析引擎