Decompile fn_18141 (CMemMapPakFile::Open)

Batch #12822 by cremane: 1 byte-identical, 0 confirmed by peer review.

- fn_18141 CMemMapPakFile::Open: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 01:20:33 +00:00
commit b00812b788

View file

@ -36,12 +36,12 @@ bool CMemMapPakFile::Open(const char* filename) {
this->m_viewSize = 0;
this->m_mapping = CreateFileMappingA(this->m_handle, nullptr, PAGE_READONLY, 0, 0, nullptr);
if (this->m_mapping) {
return true;
if (!this->m_mapping) {
this->m_windowSize = 0;
return false;
}
this->m_windowSize = 0;
return false;
return true;
}
// OFFSET: 0x00AECA50