rodecomp/Source/Utility/Math/Int64Math.cpp
ragnarok-clanker 23a0f50213 Decompile 2 functions in Source/Utility/Math/Int64Math.cpp
Batch #11708 by cremane: 2 byte-identical, 0 confirmed by peer review.

- fn_11017 sub_86BF00: byte-identical
- fn_11919 MaxInt64: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-11-05 04:28:48 +00:00

15 lines
414 B
C++

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