From 2c2d7e42e6404402e6126515513a964d7e75fe38 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 17:25:47 +0000 Subject: [PATCH] Confirm 3 functions in Source/Client/Mode/CGameMode.h, Source/Client/Mode/GameMode.cpp Batch #12531 by StrawberrysherbetIX: 0 byte-identical, 3 confirmed by peer review. - fn_21319 CGameMode::End: logic confirmed by peer review (already on main) - fn_21320 CGameMode::Initialize: logic confirmed by peer review (already on main) - fn_21420 CGameMode::IsActiveSkillEffectId: logic confirmed by peer review (already on main) Peer-reviewed-by: Yommy, dori, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Client/Mode/CGameMode.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Client/Mode/CGameMode.h b/Source/Client/Mode/CGameMode.h index c30b4978..cd18403a 100644 --- a/Source/Client/Mode/CGameMode.h +++ b/Source/Client/Mode/CGameMode.h @@ -230,7 +230,7 @@ public: void InitializeCamera(); void ReloadScene(); void InitializeState(); - std::string GetUnknown0084(unsigned int index); + __declspec(noinline) std::string GetUnknown0084(unsigned int index); void RequestPlayerAction(int target, int argument); void UpdateLoopSounds(); void AddSceneObject(CRenderObject* object); @@ -405,12 +405,12 @@ public: void ShowHoverActorName(CGameActor* actor); const char* DragItemName(); void PushUnknown01A4(int value); - bool IsOverWeight(bool notify); + __declspec(noinline) bool IsOverWeight(bool notify); void CompleteUnknown0194(std::uint32_t id, const std::string& text); std::string GetActiveSkillEffectTimeText(int skillId, int* activeSkillId); void ProcessStatusIconTooltip(int x, int y); bool IsActiveSkillEffectId(std::uint32_t id); - bool IsExcludedSkillEffectId(std::uint32_t id); + __declspec(noinline) bool IsExcludedSkillEffectId(std::uint32_t id); int SubD07740(int id, int defaultResult); bool AppendGuildEmblem(std::vector& output, std::vector& names, int guildId, int unused); void ReceiveResultNotice(int result); @@ -571,7 +571,7 @@ public: void RequestAdminStatus(); void sub_CEB8E0(); unsigned sub_CEBBB0(const std::vector& data); - unsigned sub_CEBF30(const std::vector& data); + __declspec(noinline) unsigned sub_CEBF30(const std::vector& data); unsigned sub_CEC100(const std::vector& data); unsigned sub_CEC6A0(const std::vector& data); void sub_D2DB80(const unsigned char* record); @@ -720,7 +720,7 @@ public: void RemoveUnknown01A4(int value); bool RecordReplayMessage(int message, int value, int first, int second); void UpdateReplayActionSpeeds(); - struct ReplayTime StopReplayRecording(); + __declspec(noinline) struct ReplayTime StopReplayRecording(); std::vector WriteReplaySkillState(); void ReceivePacket0AB8(const unsigned char* packet); void ReceivePacket0A29(int value);