Batch #6309 by gordaoprogramas: 0 byte-identical, 1 confirmed by peer review. - fn_11919 MaxInt64: logic confirmed by peer review Peer-reviewed-by: alisonrag, superintelligence, System4z Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/Utility/Math/Int64Math.cpp
11 lines
251 B
C++
11 lines
251 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;
|
|
}
|