From 880faa1ce64dcaf4e003d3e7cdfdf6cb9f0682e8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 9 Nov 2026 18:27:23 +0000 Subject: [PATCH] Decompile fn_45544 (CNProtectGameGuardMgr::`scalar deleting destructor') Batch #14984 by ntrl: 0 byte-identical, 1 confirmed by peer review. - fn_45544 CNProtectGameGuardMgr::`scalar deleting destructor': logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Security/NProtectGameGuardMgr.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Security/NProtectGameGuardMgr.cpp b/Source/Security/NProtectGameGuardMgr.cpp index b4bc4ac44..4b9aa408b 100644 --- a/Source/Security/NProtectGameGuardMgr.cpp +++ b/Source/Security/NProtectGameGuardMgr.cpp @@ -73,9 +73,10 @@ namespace { // OFFSET: 0x0076C3E0 // FUNCTION: fn_45544 CNProtectGameGuardMgr::~CNProtectGameGuardMgr() { - if (this->m_gameLib) { + void* gameLib = this->m_gameLib; + if (gameLib) { CloseNPGameMon(); - ::operator delete(this->m_gameLib, 1); + ::operator delete(gameLib, 1); this->m_gameLib = nullptr; }