Decompile 2 functions in Source/Contents/Skills/ClientSkills.cpp

Batch #11963 by Yommy: 0 byte-identical, 2 confirmed by peer review.

- fn_23738 CSession::UpdateRecord6144: logic confirmed by peer review (already on main)
- fn_23775 CSession::SplitDate: logic confirmed by peer review

Peer-reviewed-by: SapitoSucio, Tanke, cremane
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-05 12:41:49 +00:00
commit 5f8e29ac3d

View file

@ -655,9 +655,7 @@ int CSession::CountItems5C68() const {
// OFFSET: 0x00E09080
// FUNCTION: fn_23775
void CSession::SplitDate(__time32_t time, std::uint16_t& year, std::uint16_t& month, std::uint16_t& day) const {
if (time < 0) {
time = 0;
}
time = time > 0 ? time : 0;
const std::tm local = *_localtime32(&time);
year = static_cast<std::uint16_t>(local.tm_year + 1900);