Decompile 2 functions in Source/Contents/UserData/NormalItemSlots.cpp, Source/Contents/UserData/NormalItemSlots.h
Batch #2788 by willerthal: 0 byte-identical, 2 confirmed by peer review. - fn_13665 ReplayRECControlWndInfo::IsValid: logic confirmed by peer review - fn_13666 SayDialogWndInfo::IsValid: logic confirmed by peer review Peer-reviewed-by: bigodeira, youko, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
c38c98066c
commit
e2008265c8
1 changed files with 10 additions and 0 deletions
|
|
@ -374,8 +374,18 @@ int QuickSlotWndInfo::IsValid() const {
|
|||
}
|
||||
|
||||
// OFFSET: 0x009A5F70
|
||||
// FUNCTION: fn_13665
|
||||
int ReplayRECControlWndInfo::IsValid() const {
|
||||
return this->width > 0 && this->height > 0 && this->x >= 0 && this->x <= g_renderer->viewport.width - this->width && this->y >= 0 &&
|
||||
this->y <= g_renderer->viewport.height - this->height;
|
||||
}
|
||||
|
||||
// OFFSET: 0x009A5FB0
|
||||
// FUNCTION: fn_13666
|
||||
int SayDialogWndInfo::IsValid() const {
|
||||
return this->width == 280 && this->height == 180 && this->x >= 0 && this->x <= g_renderer->viewport.width - 280 && this->y >= 0 &&
|
||||
this->y <= g_renderer->viewport.height - 180;
|
||||
}
|
||||
|
||||
// OFFSET: 0x009A6110
|
||||
// FUNCTION: fn_13668
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue