From 344f57c8a8ca8d690fd1015385dabd583a6b3486 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 00:52:58 +0000 Subject: [PATCH] Decompile 3 functions in Source/Contents/Models/ModelTextureAnimation.cpp Batch #11500 by cremane: 0 byte-identical, 3 confirmed by peer review. - fn_01728 ModelKeyList1::Read: logic confirmed by peer review - fn_01729 ModelKeyList2::Read: logic confirmed by peer review - fn_01731 ModelKeyList4::Read: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, dori Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Models/ModelTextureAnimation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Contents/Models/ModelTextureAnimation.cpp b/Source/Contents/Models/ModelTextureAnimation.cpp index 340ac8c8..997bec04 100644 --- a/Source/Contents/Models/ModelTextureAnimation.cpp +++ b/Source/Contents/Models/ModelTextureAnimation.cpp @@ -44,7 +44,7 @@ void ModelKeyList1::Read(CFile& file) { int count = 0; file.Read(&count, sizeof(count)); for (int i = 0; i < count; ++i) { - ModelRotationKey key{}; + ModelRotationKey key; file.Read(&key, sizeof(key)); this->push_back(key); } @@ -57,10 +57,10 @@ struct ModelKeyList2 : std::vector { // OFFSET: 0x005411E0 // FUNCTION: fn_01729 void ModelKeyList2::Read(CFile& file) { - int count = 0; + int count; file.Read(&count, sizeof(count)); for (int i = 0; i < count; ++i) { - ModelRotationKey key{}; + ModelRotationKey key; file.Read(&key, sizeof(key)); this->push_back(key); } @@ -92,7 +92,7 @@ void ModelKeyList4::Read(CFile& file) { int count = 0; file.Read(&count, sizeof(count)); for (int i = 0; i < count; ++i) { - ModelRotationKey key{}; + ModelRotationKey key; file.Read(&key, sizeof(key)); this->push_back(key); }