From 437cdd73444ae9da63cdae09c53404ed0732dc5a Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 01:19:13 +0000 Subject: [PATCH] Decompile fn_45461 (GreetFriends) Batch #6559 by System4z: 0 byte-identical, 1 confirmed by peer review. - fn_45461 GreetFriends: logic confirmed by peer review Peer-reviewed-by: eAthena, gordaoprogramas, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Client/Session.h | 1 + Source/Contents/Configuration/ServiceOptions.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Source/Client/Session.h b/Source/Client/Session.h index 8609565b..c65ccbfa 100644 --- a/Source/Client/Session.h +++ b/Source/Client/Session.h @@ -830,6 +830,7 @@ public: void SetItem1768Quantity(int index, int quantity); void SetUnknown5C1C(int value); void UpdateFriendName(std::uint32_t characterId, const char* name); + void sub_DE3D90(char* text); void SetNavigationPlayerMap(const char* name); int SetFriendOffline(std::uint32_t accountId, std::uint32_t characterId, unsigned char offline); void SetHomunSkillLevel(int skillId, int level); diff --git a/Source/Contents/Configuration/ServiceOptions.cpp b/Source/Contents/Configuration/ServiceOptions.cpp index 6ea5bcdc..3b357065 100644 --- a/Source/Contents/Configuration/ServiceOptions.cpp +++ b/Source/Contents/Configuration/ServiceOptions.cpp @@ -99,6 +99,13 @@ float g_serviceOptionJitterScale = 400.0f; void ApplyServiceOption(int id, unsigned char value, bool notify, int enabledMessage, int disabledMessage); +// OFFSET: 0x006C48C0 +// FUNCTION: fn_45461 +void GreetFriends() { + g_session.sub_DE3D90(nullptr); + g_windowMgr.SendNotice(1, reinterpret_cast("[ To Friends ] : (Hi) *^_^*"), 0x1EFFFF, 0, 0, 0); +} + // OFFSET: 0x006BFE60 // FUNCTION: fn_06299 CGameSettingsMgr::CGameSettingsMgr() {