From 0e94db9d839a771bad6499b63e2ce97558cde8ad Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 19:42:35 +0000 Subject: [PATCH] Decompile fn_01730 (ModelKeyList3::Read) Batch #1597 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_01730 ModelKeyList3::Read: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker Reviewed-by: ragnarok-clanker --- Source/Contents/Models/ModelTextureAnimation.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/Contents/Models/ModelTextureAnimation.cpp b/Source/Contents/Models/ModelTextureAnimation.cpp index 746a41c..340ac8c 100644 --- a/Source/Contents/Models/ModelTextureAnimation.cpp +++ b/Source/Contents/Models/ModelTextureAnimation.cpp @@ -71,6 +71,16 @@ struct ModelKeyList3 : std::vector { }; // OFFSET: 0x00541250 +// FUNCTION: fn_01730 +void ModelKeyList3::Read(CFile& file) { + int count = 0; + file.Read(&count, sizeof(count)); + for (int i = 0; i < count; ++i) { + ModelRotationKey key{0, {0.0f, 0.0f, 0.0f, 1.0f}}; + file.Read(&key, sizeof(key)); + this->push_back(key); + } +} struct ModelKeyList4 : std::vector { void Read(CFile& file);