Commit graph

62 commits

Author SHA1 Message Date
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
caea0f2937 Decompile fn_01842 (ApplyPixelFilter)
Batch #911 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01842 ApplyPixelFilter: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 22:07:53 +00:00
ragnarok-clanker
31bd9d1952 Decompile 2 functions in Source/Contents/Hotkeys/UserHotkeyScript.cpp, Source/Contents/Hotkeys/UserHotkeyScript.h
Batch #910 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_04064 ChangeUserHotkey: logic confirmed by peer review
- fn_03473 LoadUserHotkeyTab: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 22:07:49 +00: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
e5031b68a9 Decompile fn_17631 (MatchLexicon)
Batch #842 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_17631 MatchLexicon: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Utility/LexiconMatcher.cpp
2026-10-26 22:06:51 +00:00
ragnarok-clanker
3897c27241 Decompile 4 functions in Source/Contents/ActorGeometry.cpp, Source/Contents/Actors/RenderObject.h, ...
Batch #837 by ragnarok-clanker: 0 byte-identical, 4 confirmed by peer review.

- fn_21007 CRenderObject::Heading: logic confirmed by peer review
- fn_21008 CRenderObject::Face: logic confirmed by peer review
- fn_21009 CRenderObject::HorizontalDistance: logic confirmed by peer review
- fn_21010 CRenderObject::Distance: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Contents/ActorGeometry.cpp
2026-10-26 21:51:37 +00:00
ragnarok-clanker
9e8afe0df6 Decompile 2 functions in Source/Utility/LexiconSerializer.cpp, Source/Utility/LexiconSerializer.h
Batch #841 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_17630 LexiconSerializer::Destroy: logic confirmed by peer review
- fn_17633 LexiconSerializer::Serialize: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Utility/LexiconSerializer.cpp
2026-10-26 21:51:25 +00:00
ragnarok-clanker
c029673ec9 Decompile 3 functions in Source/Utility/TextTokens.cpp, Source/Utility/TextTokens.h
Batch #840 by ragnarok-clanker: 0 byte-identical, 3 confirmed by peer review.

- fn_01963 IsPipeColorToken: logic confirmed by peer review
- fn_01964 IsHexColorToken: logic confirmed by peer review
- fn_13883 StripColorTokens: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Utility/TextTokens.cpp
2026-10-26 21:50:40 +00:00
ragnarok-clanker
b2d178ac32 Decompile fn_17876 (MovementRouteInterpolation::Sample)
Batch #838 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_17876 MovementRouteInterpolation::Sample: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:50:25 +00:00
ragnarok-clanker
b3b7fd0281 Decompile 2 functions in Source/Render/ViewportProjection.cpp, Source/Render/Renderer.h
Batch #836 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_02104 CRenderer::ProjectViewport: logic confirmed by peer review
- fn_02105 CRenderer::ProjectViewportCentered: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Render/ViewportProjection.cpp
2026-10-26 21:50:07 +00:00
ragnarok-clanker
02d760984c Decompile fn_18244 (DecodeTextEscapes)
Batch #835 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_18244 DecodeTextEscapes: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Utility/TextEscapes.cpp
2026-10-26 21:49:45 +00:00
ragnarok-clanker
f66874c19f Decompile fn_17634 (LexiconBoundary::Matches)
Batch #834 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_17634 LexiconBoundary::Matches: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Utility/LexiconBoundary.cpp
2026-10-26 21:49:26 +00:00
ragnarok-clanker
e2351a9e3a Decompile fn_01845 (CDCBitmap::Create)
Batch #833 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_01845 CDCBitmap::Create: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:49:25 +00:00
ragnarok-clanker
5a761209d2 Decompile 2 functions in Source/Utility/XxHash32.cpp, Source/Utility/XxHash32.h
Batch #832 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_00162 XxHash32: logic confirmed by peer review
- fn_00163 FinalizeXxHash32: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Utility/XxHash32.cpp
2026-10-26 21:49:13 +00:00
ragnarok-clanker
740b67081d Decompile 10 functions in Source/Utility/Timestamp.cpp, Source/Utility/Timestamp.h
Batch #830 by ragnarok-clanker: 0 byte-identical, 10 confirmed by peer review.

- fn_18085 Timestamp::ToSqlTimestamp: logic confirmed by peer review
- fn_18086 Timestamp::IsBefore: logic confirmed by peer review
- fn_18087 Timestamp::IsBeforeNow: logic confirmed by peer review
- fn_18088 Timestamp::Day: logic confirmed by peer review
- fn_18089 Timestamp::Hour: logic confirmed by peer review
- fn_18090 Timestamp::Minute: logic confirmed by peer review
- fn_18091 Timestamp::Month: logic confirmed by peer review
- fn_18092 Timestamp::Second: logic confirmed by peer review
- fn_18093 Timestamp::Year: logic confirmed by peer review
- fn_18094 Timestamp::SetDate: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:48:54 +00:00
ragnarok-clanker
820df68d42 Decompile fn_18251 (GenerateRadialGrid)
Batch #829 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_18251 GenerateRadialGrid: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Utility/RadialGrid.cpp
2026-10-26 21:48:52 +00:00
ragnarok-clanker
5bd1a554b0 Decompile 3 functions in Source/Contents/Items/ItemDescription.cpp, Source/Contents/Items/ItemDescription.h
Batch #930 by ragnarok-clanker: 0 byte-identical, 3 confirmed by peer review.

- fn_06546 EnsureItemCardName: logic confirmed by peer review
- fn_06547 EnsureItemDescriptionLines: logic confirmed by peer review
- fn_06579 FindItemDescription: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:46:27 +00:00
ragnarok-clanker
7541fbec29 Decompile 6 functions in Source/Contents/GuildMgr.cpp, Source/Contents/GuildMgr.h, ...
Batch #889 by ragnarok-clanker: 0 byte-identical, 6 confirmed by peer review.

- fn_05147 CGuild::CGuild: logic confirmed by peer review
- fn_05148 CGuild::~CGuild: logic confirmed by peer review
- fn_05172 CGuildMgr::Create: logic confirmed by peer review
- fn_05173 CGuildMgr::Destroy: logic confirmed by peer review
- fn_05175 CGuildMgr::GetEmblemVersion: logic confirmed by peer review
- fn_05181 CGuildMgr::SetEmblemVersion: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Contents/GuildMgr.cpp, Source/Contents/GuildEmblemState.cpp
2026-10-26 21:46:02 +00:00
ragnarok-clanker
6f8a35191a Decompile 2 functions in Source/Contents/Jobs/JobNames.cpp
Batch #929 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review.

- fn_24165 JobNames::BaseJob: logic confirmed by peer review
- fn_23396 JobNames::Lookup: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:45:07 +00:00
ragnarok-clanker
1122aa7c98 Decompile 7 functions in Source/Contents/Jobs/JobId.h, Source/Contents/Jobs/JobInheritance.cpp, ...
Batch #921 by ragnarok-clanker: 0 byte-identical, 7 confirmed by peer review.

- fn_23461 GetRealWeaponId: logic confirmed by peer review
- fn_23585 ?IsTreeGroupTwo@?A0x66373c89@@YA_NH@Z: logic confirmed by peer review
- fn_23586 ?IsTreeGroupThree@?A0x66373c89@@YA_NH@Z: logic confirmed by peer review
- fn_23587 IsPlayerJob: logic confirmed by peer review
- fn_23907 JobInheritance::InitializeSkillTree: logic confirmed by peer review
- fn_23495 JobNames::Initialize: logic confirmed by peer review
- fn_23444 AttackMotionLength: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 21:33:33 +00:00
ragnarok-clanker
ab4f30f7b0 Maintenance: Remove unused cstdint and string includes from JobNames.h; types and declarations unchanged. Checked exact header payloa
Batch #912 by ragnarok-clanker: no function's compiled code changes; checked with 4 compiled unit(s), including every includer of Source/Contents/Jobs/JobNames.h.
2026-10-26 20:58:39 +00:00
ragnarok-clanker
21f8c520e3 Document implicit calling conventions except at fixed ABI boundaries 2026-10-26 20:40:28 +00:00
ragnarok-clanker
e792ccc6ea Maintenance: Preserve original non-null empty C-string initializer: slot 0x01348F80 contains 0x010D4EE8 and its target starts with NU
Batch #908 by ragnarok-clanker: no function's compiled code changes; checked with 1 compiled unit(s).
2026-10-26 19:23:28 +00:00
ragnarok-clanker
935383f431 Document and enable global storage ownership checks 2026-10-26 19:15:28 +00:00
ragnarok-clanker
f575258340 Maintenance: Define every global once in its owner unit; session members replace member globals
Batch #906 by ragnarok-clanker: no function's compiled code changes; checked with 9 compiled unit(s), including every includer of Source/Client/Session.h, Source/Client/Registry.h, Source/Client/Application/LaunchInfo.h, Source/Client/Application/Launcher.h, Source/Client/Mode/ActiveGameMode.h, Source/Render/DeviceSelection.h.
Adds to the build: Source/Client/Session.cpp, Source/Client/Registry.cpp, Source/Client/Application/LaunchInfo.cpp, Source/Render/DeviceSelection.cpp
2026-10-26 18:34:25 +00:00
ragnarok-clanker
1dccbfbae5 Maintenance: Annotate globals on their definitions only; drop annotations from header externs
Batch #904 by ragnarok-clanker: no function's compiled code changes; checked with 3 compiled unit(s), including every includer of Source/Contents/MessageTable.h, Source/Contents/Async/AsyncWorkMgr.h, Source/Contents/Emblems/EmblemDataMgr.h, Source/Contents/Hotkeys/UserHotkeyMgr.h, Source/Contents/Messenger/WhisperBlockMgr.h, Source/Contents/Party/AdventurerAgencyMgr.h, Source/Contents/UserData/AccountLinkedUserDataMgr.h, Source/Contents/UserData/CharacterLinkedUserDataMgr.h, Source/Network/TextEncoding.h, Source/Network/Http/CURLMgr.h, Source/Render/Textures/Texture.h, Source/UI/Layout/SnapMgr.h, Source/UI/Party/UIRequestJoinPartyMgr.h, Source/UI/Window/FrameFocus.h, Source/UI/Window/UIWindow.h, Source/Utility/Async/NMessageMgr.h.
2026-10-26 18:25:54 +00:00
ragnarok-clanker
75b61893f5 Decompile fn_17768 (TraditionalKeyInputNoop)
Batch #899 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_17768 TraditionalKeyInputNoop: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-26 15:13:41 +00:00
ragnarok-clanker
b2126aca53 Decompile fn_01907 (DeviceOwnerDX9Noop)
Batch #897 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_01907 DeviceOwnerDX9Noop: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-26 15:11:59 +00:00
ragnarok-clanker
9a18953cf1 Name checked and submitted files in shared checkouts, including modified headers 2026-10-26 14:52:34 +00:00
ragnarok-clanker
34aa1c7587 Clarify td CLI workflow and v142 matching guidance 2026-10-26 12:05:47 +00:00
ragnarok-clanker
710d01dd99 Decompile fn_03502 (CActorNameCardHolder::Clear)
Batch #891 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_03502 CActorNameCardHolder::Clear: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-26 12:02:11 +00:00
ragnarok-clanker
1deabc9a4d Decompile fn_03487 (CActorNameCard::Reset)
Batch #887 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_03487 CActorNameCard::Reset: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Contents/ActorNameCard.cpp, Source/Contents/ActorNameDirectory.cpp
2026-10-26 11:54:34 +00:00
ragnarok-clanker
ae8da74188 Enforce LF text checkouts across platforms 2026-10-25 21:09:55 +01:00
ragnarok-clanker
5fcef82f97 Decompile fn_00121 (MD5::MD5)
Batch #860 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_00121 MD5::MD5: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Utility/MD5.cpp
2026-10-25 19:41:16 +00:00
ragnarok-clanker
f770bd3ae2 Decompile fn_17877 (MovementRouteInterpolation::Segment)
Batch #839 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_17877 MovementRouteInterpolation::Segment: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Contents/MovementRouteInterpolation.cpp
2026-10-25 18:40:03 +00:00
ragnarok-clanker
a44bd0049b Decompile fn_18084 (Timestamp::~Timestamp)
Batch #831 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_18084 Timestamp::~Timestamp: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Utility/Timestamp.cpp
2026-10-25 18:13:13 +00:00
ragnarok-clanker
edec36d85f Record owner acceptance of verified source and no-decompile claims
Owner explicitly waived peer review for pending submissions. 1663 code candidates are already present on main with identical compiler code hashes and passed the pinned 449-unit build, lint, and reference checks. 47 no-decompilation claims are accepted by owner decision.

169 stale or unmapped candidates are returned for technical cleanup, not accepted. No source code is changed, no old file snapshot is merged, and no independent peer verdict is asserted or inserted.
2026-10-25 16:29:26 +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
3c939f1cdd Allow original data tables up to 65536 initializer values 2026-10-25 14:42:05 +00:00
ragnarok-clanker
ab898fbeab Use LF line endings in decomp.json 2026-10-25 14:08:59 +00:00
ragnarok-clanker
1d365a252d Align project policy with wowdecomp: default lint limits, ThirdParty as source 2026-10-25 14:08:13 +00:00
ragnarok-clanker
63cca8868e Configure clangd for the native Windows x86 toolchain 2026-10-25 09:13:18 +01: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
35d2a8cb36 Decompile fn_01906 (DeviceOwnerDX9::DeviceOwnerDX9)
Batch #155 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_01906 DeviceOwnerDX9::DeviceOwnerDX9: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 20:59:54 +00:00
ragnarok-clanker
d60b669197 Decompile fn_02472 (CTexture::Release)
Batch #140 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_02472 CTexture::Release: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 19:25:08 +00:00
ragnarok-clanker
bb8ac68b8e Decompile 11 functions in Source/Render/DCSurface.cpp, Source/Render/DCSurface.h
Batch #136 by ragnarok-clanker: 11 byte-identical, 0 confirmed by peer review.

- fn_02274 RenderSystemHolder::CreateRenderer: byte-identical
- fn_02278 RenderSystemHolder::Close: byte-identical
- fn_02280 RenderSystemHolder::UpdateOption: byte-identical
- fn_02281 RenderSystemHolder::RestoreDisplayMode: byte-identical
- fn_02282 RenderSystemHolder::PrepareErrorDialog: byte-identical
- fn_02285 RenderSystemHolder::Backend: byte-identical
- fn_02287 RenderSystemHolder::BackBufferTexture: byte-identical
- fn_02288 RenderSystemHolder::Height: byte-identical
- fn_02292 RenderSystemHolder::Width: byte-identical
- fn_02294 RenderSystemHolder::IsWindowed: byte-identical
- fn_02295 RenderSystemHolder::TestDevice: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 18:58:32 +00:00
ragnarok-clanker
9822c2fdf5 Decompile fn_18183 (CRes::AddRef)
Batch #125 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_18183 CRes::AddRef: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 18:10:11 +00:00
ragnarok-clanker
27d9194df4 Decompile 2 functions in Source/Contents/ModelNode.cpp, Source/Contents/ModelNode.h
Batch #119 by ragnarok-clanker: 2 byte-identical, 0 confirmed by peer review.

- fn_17481 C3dNode::Initialize: byte-identical
- fn_17506 C3dNode::Animate: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 18:02:31 +00:00
ragnarok-clanker
b31bc5ec1f Decompile 11 functions in Source/Render/SurfaceDX7.cpp, Source/Render/DeviceOwnerDX7.h
Batch #118 by ragnarok-clanker: 11 byte-identical, 0 confirmed by peer review.

- fn_01788 DeviceOwnerDX7::BlueMask: byte-identical
- fn_01789 DeviceOwnerDX7::BlueExpansion: byte-identical
- fn_01790 DeviceOwnerDX7::BlueShift: byte-identical
- fn_01792 DeviceOwnerDX7::DirectDraw: byte-identical
- fn_01793 DeviceOwnerDX7::GreenMask: byte-identical
- fn_01794 DeviceOwnerDX7::GreenExpansion: byte-identical
- fn_01795 DeviceOwnerDX7::GreenShift: byte-identical
- fn_01797 DeviceOwnerDX7::RedMask: byte-identical
- fn_01798 DeviceOwnerDX7::RedExpansion: byte-identical
- fn_01799 DeviceOwnerDX7::RedShift: byte-identical
- fn_01800 DeviceOwnerDX7::RenderTarget: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-24 17:53:08 +00:00
ragnarok-clanker
4628d7dfad Document clean sync and sequential checks in region workflow 2026-10-24 15:14:29 +00:00