rodecomp/Source/Utility/Async/AsyncDiagnostic.cpp
ragnarok-clanker 1f7809ae40 Decompile fn_03439 (AsyncDiagnostic::MoveFrom)
Batch #14098 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_03439 AsyncDiagnostic::MoveFrom: logic confirmed by peer review

Peer-reviewed-by: secret, KWDev, codeplay
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-07 07:09:52 +00:00

24 lines
688 B
C++

#include "Utility/Async/AsyncDiagnostic.h"
#include <utility>
// OFFSET: 0x005B9CB0
// FUNCTION: fn_03438
AsyncDiagnostic::AsyncDiagnostic(const bool* success, std::string* message, const char* file, const std::uint32_t* line)
: line(*line), file(file), message(std::move(*message)), success(*success) {
}
// OFFSET: 0x005B9D90
// FUNCTION: fn_03439
AsyncDiagnostic& AsyncDiagnostic::MoveFrom(AsyncDiagnostic& other) noexcept {
this->success = other.success;
this->message = std::move(other.message);
this->file = std::move(other.file);
this->line = other.line;
return *this;
}
// OFFSET: 0x005BA220
// FUNCTION: fn_03441
AsyncDiagnostic::~AsyncDiagnostic() = default;