From c59c7e92ed10a17b2d3d2232f3ec2c783003d3d7 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 9 Nov 2026 18:31:32 +0000 Subject: [PATCH] Decompile fn_00892 (JsonCppLoader::GetIntVectorValue) Batch #15152 by ntrl: 0 byte-identical, 1 confirmed by peer review. - fn_00892 JsonCppLoader::GetIntVectorValue: logic confirmed by peer review Peer-reviewed-by: Yommy, kyoshi Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Utility/JsonCppLoader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Utility/JsonCppLoader.cpp b/Source/Utility/JsonCppLoader.cpp index 511e557a8..190772103 100644 --- a/Source/Utility/JsonCppLoader.cpp +++ b/Source/Utility/JsonCppLoader.cpp @@ -386,14 +386,14 @@ bool JsonCppLoader::GetMapStringIntVectorValue(const JsonValue& node, const std: // OFFSET: 0x00509D40 // FUNCTION: fn_00892 bool JsonCppLoader::GetIntVectorValue(const JsonValue& node, const std::string& key, std::vector* out) { - JsonValue value; - this->GetValue(value, key, node, JsonValue::ARRAY_VALUE); - if (value.IsNull() == true) { + JsonValueLocal value; + this->GetValue(value.value, key, node, JsonValue::ARRAY_VALUE); + if (value.value.IsNull() == true) { this->Fail("key 에 해당하는 데이터를 찾지 못했습니다. (keyName : %s)", key.c_str()); return false; } - const JsonArray& items = value.ArrayRange(); + const JsonArray& items = value.value.ArrayRange(); for (JsonArray::const_iterator item = items.begin(); item != items.end(); ++item) { if (item->GetType() != JsonValue::INT64_VALUE) { this->Fail("잘못된 데이터가 입력되었습니다. intValue 가 입력되어야 합니다. (keyName : %s)", key.c_str());