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.
This commit is contained in:
ragnarok-clanker 2026-10-26 23:41:07 +01:00 • committed by ragnarok-clanker
commit bf6a44c117
58 changed files with 161 additions and 70 deletions

View file

@ -1,12 +1,15 @@
#include "Contents/GuildMgr.h"
// OFFSET: 0x0065C440
// FUNCTION: fn_05147
CGuild::CGuild() : m_emblemVersion(0) {
}
// OFFSET: 0x0065C450
// FUNCTION: fn_05148
CGuild::~CGuild() = default;
// OFFSET: 0x0065E640
// FUNCTION: fn_05175
int CGuildMgr::GetEmblemVersion(std::uint32_t guildId) const {
const auto it = this->m_guilds.find(guildId);
@ -16,6 +19,7 @@ int CGuildMgr::GetEmblemVersion(std::uint32_t guildId) const {
return 0;
}
// OFFSET: 0x0065EEA0
// FUNCTION: fn_05181
void CGuildMgr::SetEmblemVersion(std::uint32_t guildId, int version) {
this->m_guilds[guildId].m_emblemVersion = version;