From a8cf557b2d05edf96155e8a486b7687c9c822e7d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 13:44:38 +0000 Subject: [PATCH] Decompile fn_20400 (CConnection::UpdateStatus) Batch #16084 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_20400 CConnection::UpdateStatus: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Network/Connection/Connection.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Network/Connection/Connection.cpp b/Source/Network/Connection/Connection.cpp index a3db661b9..c4bed8663 100644 --- a/Source/Network/Connection/Connection.cpp +++ b/Source/Network/Connection/Connection.cpp @@ -199,7 +199,11 @@ bool CConnection::Update() { // FUNCTION: fn_20400 void CConnection::UpdateStatus() { if (this->m_socket != INVALID_SOCKET) { - this->m_status = !this->Receive() || !this->Flush(); + if (this->Receive() && this->Flush()) { + this->m_status = 0; + } else { + this->m_status = 1; + } } }