rodecomp/Source/Utility/Math/Int64Math.cpp
ragnarok-clanker 12700b181a Decompile fn_11017 (sub_86BF00)
Batch #6741 by Montyla: 0 byte-identical, 1 confirmed by peer review.

- fn_11017 sub_86BF00: logic confirmed by peer review

Peer-reviewed-by: eAthena, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 01:48:47 +00:00

21 lines
475 B
C++

#include "Utility/Math/Int64Math.h"
// OFFSET: 0x008C6AE0
// FUNCTION: fn_11919
std::int64_t MaxInt64(const std::int64_t& first, const int& second) {
const std::int64_t value = second;
if (first < value) {
return value;
}
return first;
}
// OFFSET: 0x0086BF00
// FUNCTION: fn_11017
std::int64_t sub_86BF00(const int& value, const std::int64_t& other) {
const std::int64_t extended = value;
if (other < extended) {
return extended;
}
return other;
}