Decompile fn_23826 (CSession::SyncUnknown0E98)

Batch #1325 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review.

- fn_23826 CSession::SyncUnknown0E98: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-28 10:10:19 +00:00
commit 308cefc066
2 changed files with 18 additions and 1 deletions

View file

@ -3,3 +3,15 @@
// STATIC: 0x01732638
// GLOBAL: gl_24474
CSession g_session;
// OFFSET: 0x00DDE860
// OFFSET: 0x00E13B00
// FUNCTION: fn_23826
int CSession::SyncUnknown0E98() {
if (this->unknown_0E98 != this->unknown_5558) {
this->unknown_0E98 = this->unknown_5558;
}
return this->unknown_0E98;
}

View file

@ -37,7 +37,9 @@ public:
/* 06A8 */ unsigned char unknown_06A8[0x43];
/* 06EB */ NormalItemSlot unknown_06EB;
/* 06F2 */ NormalItemSlot unknown_06F2;
/* 06F9 */ unsigned char unknown_06F9[0x7F];
/* 06F9 */ unsigned char unknown_06F9[0x2F];
/* 0728 */ std::vector<int> m_mercSkillLevels;
/* 0734 */ unsigned char unknown_0734[0x44];
/* 0778 */ std::vector<std::pair<int, int>> unknown_0778;
/* 0784 */ std::map<std::int64_t, std::int64_t> unknown_0784;
/* 078C */ std::map<std::int64_t, std::int64_t> unknown_078C;
@ -109,6 +111,8 @@ public:
void GetPetFriendlyStateString(int friendly, char* buffer);
int GetPetHungryState(int hunger);
int GetPetEmotionNumber(int job, int action, int hungerLevel);
int MercSkillLevel(int skillId) const;
int SyncUnknown0E98();
};
extern CSession g_session;
@ -126,6 +130,7 @@ static_assert(offsetof(CSession, m_shortcutSlots) == 0x4B0);
static_assert(offsetof(CSession, m_secondaryShortcutSlots) == 0x5AC);
static_assert(offsetof(CSession, unknown_06EB) == 0x6EB);
static_assert(offsetof(CSession, unknown_06F2) == 0x6F2);
static_assert(offsetof(CSession, m_mercSkillLevels) == 0x728);
static_assert(offsetof(CSession, unknown_0778) == 0x778);
static_assert(offsetof(CSession, unknown_0784) == 0x784);
static_assert(offsetof(CSession, unknown_078C) == 0x78C);