Commit graph

15 commits

Author SHA1 Message Date
ragnarok-clanker
68e3b0fcbb Decompile fn_24306 (myGPack::CGPakUpdate::CGPakUpdate)
Batch #1662 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_24306 myGPack::CGPakUpdate::CGPakUpdate: logic confirmed by peer review

Peer-reviewed-by: eAthena
Reviewed-by: ragnarok-clanker
2026-10-28 19:48:08 +00:00
ragnarok-clanker
ae4b24169a Decompile fn_18140 (CMemMapPakFile::CMemMapPakFile)
Batch #1351 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_18140 CMemMapPakFile::CMemMapPakFile: logic confirmed by peer review (annotation added to existing code)

Reviewed-by: ragnarok-clanker
2026-10-28 11:05:47 +00:00
ragnarok-clanker
98bf280ccd Decompile 2 functions in Source/Archive/PakCipher.cpp, Source/Archive/PakCipher.h
Batch #1237 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_18105 myGPack::PakCipher::BuildRoundKeys: logic confirmed by peer review
- fn_18096 myGPack::PakCipher::PakCipher: logic confirmed by peer review

Peer-reviewed-by: eAthena
Reviewed-by: ragnarok-clanker
2026-10-27 23:35:14 +00:00
ragnarok-clanker
c933c11f53 Decompile 12 functions in Source/Archive/PakFile.cpp, Source/Archive/GPakUpdate.h
Batch #1126 by eAthena: 0 byte-identical, 12 confirmed by peer review.

- fn_04009 CPakFile::~CPakFile: logic confirmed by peer review (annotation added to existing code)
- fn_04010 myGPack::CReadPakFile::~CReadPakFile: logic confirmed by peer review (annotation added to existing code)
- fn_04011 myGPack::CWritePakFile::~CWritePakFile: logic confirmed by peer review (annotation added to existing code)
- fn_04013 myGPack::CGPakUpdate::Close: logic confirmed by peer review
- fn_04014 myGPack::CGPakUpdate::RemoveObsoleteEntries: logic confirmed by peer review
- fn_04015 myGPack::CGPakUpdate::BuildFreeBlocks: logic confirmed by peer review
- fn_04016 myGPack::CGPakRead::ReadEntry: logic confirmed by peer review
- fn_04017 myGPack::CGPakRead::CollectNames: logic confirmed by peer review
- fn_04018 myGPack::CGPakUpdate::Allocate: logic confirmed by peer review
- fn_04019 myGPack::CGPakUpdate::Commit: logic confirmed by peer review
- fn_04020 myGPack::CGPakUpdate::Open: logic confirmed by peer review
- fn_04021 myGPack::CGPakUpdate::CopyEntry: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-27 20:13:28 +00:00
ragnarok-clanker
4a3f02a4d1 Maintenance: Add mandatory field offset markers /* XXXX */ and x86 assertions to Archive headers (PakEntry, PakRegistry, PakCipher)
Batch #1056 by ragnarok-clanker: no function's compiled code changes; checked with 5 compiled unit(s), including every includer of Source/Archive/GPak.h, Source/Archive/PakCipher.h, Source/Archive/PakRegistry.h.
2026-10-27 13:37:30 +00:00
ragnarok-clanker
ee401857a1 📝 docs(annotations): annotated inlined functions across modules 2026-10-27 09:59:03 +01:00
ragnarok-clanker
35b31fdf7b Decompile 6 functions in Source/Archive/PakRegistry.h, Source/Render/DeviceContext/DCSurface.h, ...
Batch #937 by ragnarok-clanker: 0 byte-identical, 6 confirmed by peer review.

- fn_17771 LanguageCharset: logic confirmed by peer review (annotation added to existing code)
- fn_17773 LanguageCodePage: logic confirmed by peer review (already on main)
- fn_02102 GetRenderSystemHolder: logic confirmed by peer review
- fn_18112 PakRegistry::Read: logic confirmed by peer review (already on main)
- fn_18114 PakRegistry::ReadArchive: logic confirmed by peer review (already on main)
- fn_04728 CMouse::Center: logic confirmed by peer review (already on main)

Reviewed-by: ragnarok-clanker
2026-10-26 23:29:56 +00:00
ragnarok-clanker
bcb352fd91 Decompile fn_18121 (myGPack::DecryptPakData)
Batch #862 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_18121 myGPack::DecryptPakData: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Archive/PakCrypto.cpp
2026-10-26 22:54:09 +00:00
ragnarok-clanker
bf6a44c117 Group Utility units into subsystem folders and require OFFSET provenance
Move Lexicon*, Text (TextTokens, TextEscapes, Base64), Math/RadialGrid, Hash (MD5, XxHash32) and Cipher (Rijndael, XorBytes) into Source/Utility subfolders; update includes, guards, compile.json and CMakeLists.txt. Backfill // OFFSET: above every standalone // FUNCTION: block (89 IDs, addresses from the symbol database) and make it mandatory in CODING_RULES.md and AGENTS.md. Remove the MatchLexicon cast chain.
2026-10-26 23:41:07 +01:00
ragnarok-clanker
f2eed45548 Decompile 4 functions in Source/Archive/PakCipher.cpp, Source/Archive/PakCipher.h
Batch #909 by ragnarok-clanker: 0 byte-identical, 4 confirmed by peer review.

- fn_18102 myGPack::EncodeBlock: logic confirmed by peer review
- fn_18103 myGPack::FinalPermutation: logic confirmed by peer review
- fn_18104 myGPack::InitialPermutation: logic confirmed by peer review
- fn_18131 myGPack::DerivePakKey: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 22:07:43 +00:00
ragnarok-clanker
e168b4e4a6 Restore translation-unit ownership and publish verified source corrections
Owner-authorized source migration: 31 helper-only translation units were merged into their callers or existing inline headers; both build manifests updated. Includes the preserved source payload, Lua configuration matching wowdecomp, and exact malloca expansion without diagnostic pragmas.

449 native units compiled locally and 449 staged units compiled by the pinned server toolchain. No previously byte-matched function regressed. Compiler mapping diagnostics remain recorded as needs_cleanup, not accepted or peer-confirmed. Existing independent review records are preserved. README.md is intentionally unchanged.
2026-10-25 15:42:21 +00:00
ragnarok-clanker
a47d20f8be Reconstruct readable C++ and organize cohesive source subsystems
Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.

Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
2026-10-25 07:42:41 +00:00
ragnarok-clanker
b65ca71a85 Decompile fn_18116 (PakRegistry::ApplyAuxiliary)
Batch #55 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_18116 PakRegistry::ApplyAuxiliary: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 11:51:55 +00:00
ragnarok-clanker
ce53ca2040 Decompile fn_18130 (CGPak::Reset)
Batch #36 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_18130 CGPak::Reset: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 11:27:02 +00:00
ragnarok-clanker
d456e8f64a Initial rodecomp source snapshot 2026-10-24 00:35:19 +00:00