Batch #12861 by KWDev: 25 byte-identical, 0 confirmed by peer review. - fn_01999 DeviceStateDX9::SetFVF: byte-identical - fn_03738 CBarterMarketItemMgr::GetAmountById: byte-identical - fn_03765 CExpandedBarterMarketItemMgr::GetItemValueById: byte-identical - fn_03768 CExpandedBarterMarketItemMgr::GetItemFactorById: byte-identical - fn_03771 CExpandedBarterMarketItemMgr::GetValueById: byte-identical - fn_04794 CSession::AddItem1784: byte-identical - fn_08113 CTagData::UpdateActiveCount: byte-identical - fn_08269 CPlayerSkillBundle::UpdatePending: byte-identical - fn_08277 CPlayerSkillBundle::FindExtra: byte-identical - fn_09851 UIMacroReporterWnd::Slot31: byte-identical - fn_10062 UIRodexInboxWnd::RemoveInboxMail: byte-identical - fn_11524 UIChatHisBox::Resize: byte-identical - fn_16039 GameSettingsUI::CUIGroupSkin::Refresh: byte-identical - fn_16979 UIWindow::FindUid: byte-identical - fn_17144 UIWindowMgr::RemoveOrder: byte-identical - fn_17165 UIWindowMgr::FindSnapExcludedWindow: byte-identical - fn_17414 CWebBrowser::Normalize: byte-identical - fn_18045 GuildInfo::UpdateMemberStatus: byte-identical - fn_18046 GuildInfo::SetMemberOnline: byte-identical - fn_18309 TELEXInputMode::IsModifierKey: byte-identical - fn_21008 CRenderObject::Face: byte-identical - fn_23740 CSession::UpdateAdditionalSkill: byte-identical - fn_23741 CSession::UpdateHomunSkill: byte-identical - fn_23742 CSession::UpdateMercSkill: byte-identical - fn_23777 CSession::FindUnknown0778: byte-identical Merged automatically: every function is byte-identical to the original.
36 lines
964 B
C++
36 lines
964 B
C++
#include "Client/Browser/WebBrowser.h"
|
|
|
|
// OFFSET: 0x00AB2610
|
|
// FUNCTION: fn_17414
|
|
void CWebBrowser::Normalize() {
|
|
if (!this->externalEvents) {
|
|
return;
|
|
}
|
|
|
|
RECT rectangle;
|
|
GetWindowRect(this->browserWindow, &rectangle);
|
|
if (this->screenWidth != rectangle.right - rectangle.left || this->screenHeight != rectangle.bottom - rectangle.top) {
|
|
return;
|
|
}
|
|
|
|
this->browser->put_Visible(VARIANT_FALSE);
|
|
SetWindowLongA(this->browserWindow, GWL_STYLE, WS_CHILD);
|
|
SetParent(this->browserWindow, this->host);
|
|
this->browser->put_FullScreen(VARIANT_FALSE);
|
|
this->browser->put_AddressBar(VARIANT_FALSE);
|
|
SetParent(this->browserWindow, this->host);
|
|
SetWindowLongA(this->browserWindow, GWL_STYLE, WS_CHILD);
|
|
this->browser->put_Visible(VARIANT_TRUE);
|
|
}
|
|
|
|
// OFFSET: 0x00AB2E70
|
|
// FUNCTION: fn_17419
|
|
void CWebBrowser::Poll() {
|
|
if (!IsWindowVisible(this->host)) {
|
|
return;
|
|
}
|
|
|
|
this->Normalize();
|
|
this->RefreshSize();
|
|
this->PollCursor();
|
|
}
|