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.
This commit is contained in:
parent
29daaf974a
commit
23a0f50213
1 changed files with 4 additions and 10 deletions
|
|
@ -1,21 +1,15 @@
|
|||
#include "Utility/Math/Int64Math.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
// 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;
|
||||
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) {
|
||||
const std::int64_t extended = value;
|
||||
if (other < extended) {
|
||||
return extended;
|
||||
}
|
||||
return other;
|
||||
return std::max(static_cast<std::int64_t>(value), other);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue