From 60829bdc23956d1140243f7c2f110fba06ccea3e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 04:27:38 +0000 Subject: [PATCH] Decompile 2 functions in Source/Resource/Models/ModelResourceV2.cpp Batch #14022 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_08020 C3dModelResV2::ReadVersion1: logic confirmed by peer review - fn_08021 C3dModelResV2::ReadVersion2: logic confirmed by peer review Peer-reviewed-by: Yommy, aDw, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Resource/Models/ModelResourceV2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Resource/Models/ModelResourceV2.cpp b/Source/Resource/Models/ModelResourceV2.cpp index b9d01f8e1..745b7f194 100644 --- a/Source/Resource/Models/ModelResourceV2.cpp +++ b/Source/Resource/Models/ModelResourceV2.cpp @@ -106,7 +106,7 @@ void C3dModelResV2::ReadVersion1(CFile& input) { input.Read(&bytes, 4); char name[40]{}; input.Read(name, bytes); - textureNames.emplace_back(name); + textureNames.push_back(name); } int rootCount = 0; @@ -117,7 +117,7 @@ void C3dModelResV2::ReadVersion1(CFile& input) { input.Read(&bytes, 4); char name[40]{}; input.Read(name, bytes); - this->rootNames.emplace_back(name); + this->rootNames.push_back(name); } int nodeCount = 0; @@ -235,7 +235,7 @@ void C3dModelResV2::ReadVersion2(CFile& input) { input.Read(&bytes, 4); char name[40]{}; input.Read(name, bytes); - textureNames.emplace_back(name); + textureNames.push_back(name); } int rootCount = 0; @@ -246,7 +246,7 @@ void C3dModelResV2::ReadVersion2(CFile& input) { input.Read(&bytes, 4); char name[40]{}; input.Read(name, bytes); - this->rootNames.emplace_back(name); + this->rootNames.push_back(name); } int nodeCount = 0;