Decompile 2 functions in Source/Client/Session.cpp, Source/Client/Session.h, ...

Batch #2985 by eAthena: 2 byte-identical, 0 confirmed by peer review.

- fn_24180 CSession::IsEffectRenderEnabled: byte-identical
- fn_24194 CSession::ResetUnknownState: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-10-29 20:09:59 +00:00
commit 2ba833f291
4 changed files with 91 additions and 6 deletions

View file

@ -9,6 +9,7 @@
#include <cstdlib>
#include <cstring>
#include <windows.h>
#include <timeapi.h>
// STATIC: 0x01732638
// GLOBAL: gl_24474
@ -68,6 +69,37 @@ bool CSession::IsDoramJob(int job) const {
}
}
// OFFSET: 0x00E3D090
// FUNCTION: fn_24180
bool CSession::IsEffectRenderEnabled() const {
return true;
}
// OFFSET: 0x00E3D0A0
// OFFSET: 0x00E3D0F0
// OFFSET: 0x00E3D240
// OFFSET: 0x00E3D320
// OFFSET: 0x00E3DB20
// FUNCTION: fn_24194
bool CSession::ResetUnknownState() {
this->unknown_59C0 = 1;
this->unknown_59C4 = 1;
this->unknown_59C8 = 1;
this->unknown_59CC = 1;
this->unknown_59D4 = 1;
this->unknown_59BC = 1;
this->unknown_0E94 = 1;
this->unknown_103C = -1;
this->unknown_5450 = 0;
this->m_serverTimeOffset = 0;
this->m_serverTimeAdjustCount = 0;
return true;
}
// OFFSET: 0x00DFF1F0
// FUNCTION: fn_23614
char* CSession::ConvertTooltipText(const char* source, char* output) const {