Batch #14635 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_17222 UIWindowMgr::ProcessMouse: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
10 lines
311 B
C++
10 lines
311 B
C++
#include "UI/Window/UIWindow.h"
|
|
#include "UI/Layout/WindowCoordinates.h"
|
|
|
|
#include <cstdint>
|
|
|
|
// OFFSET: 0x00AF64A0
|
|
// FUNCTION: fn_18253
|
|
bool WindowBoundsOverlap(const int first[4], const int second[4]) {
|
|
return first[2] > second[0] && first[0] < second[2] && first[3] > second[1] && first[1] < second[3];
|
|
}
|