Batch #14833 by kyoshi: 2 byte-identical, 1 confirmed by peer review. - fn_17120 UIWindowMgr::RegisterWindow: byte-identical (already on main) - fn_17219 UIWindowMgr::Schedule: byte-identical (already on main) - fn_17208 UIWindowMgr::CreateLayoutWindow: logic confirmed by peer review (already on main) 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).
12 lines
466 B
C++
12 lines
466 B
C++
#include "UI/Window/UIWindow.h"
|
|
#include "UI/Layout/WindowCoordinates.h"
|
|
|
|
#include <cstdint>
|
|
|
|
template std::_List_node<UIWindow*, void*>* std::list<UIWindow*>::_Emplace<UIWindow* const&>(std::_List_node<UIWindow*, void*>* const, UIWindow* const&);
|
|
|
|
// 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];
|
|
}
|