Decompile fn_04021 (myGPack::CGPakUpdate::CopyEntry)

Batch #18628 by eAthena: 1 byte-identical, 0 confirmed by peer review.

- fn_04021 myGPack::CGPakUpdate::CopyEntry: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-12 17:05:55 +00:00
commit 47de505484

View file

@ -745,8 +745,9 @@ namespace myGPack {
return false;
}
const std::uint8_t* data = buffer.data();
const std::uint64_t offset = this->Allocate(entry.alignedSize);
if (!this->m_output.Write(offset, buffer.data(), entry.alignedSize)) {
if (!this->m_output.Write(offset, data, entry.alignedSize)) {
return false;
}