From cd4be1b32f8bebc8ce2c6b523b59a5ac0dd19838 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 13:21:33 +0000 Subject: [PATCH] Decompile fn_03152 (CSkillAction_DamageWereRaptorForm::sub_5A4760) Batch #7984 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_03152 CSkillAction_DamageWereRaptorForm::sub_5A4760: logic confirmed by peer review Peer-reviewed-by: eAthena, pedrao Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Skills/SkillActionAlitea.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Source/Contents/Skills/SkillActionAlitea.cpp b/Source/Contents/Skills/SkillActionAlitea.cpp index 89c71ce66..4524bad3a 100644 --- a/Source/Contents/Skills/SkillActionAlitea.cpp +++ b/Source/Contents/Skills/SkillActionAlitea.cpp @@ -71,6 +71,7 @@ public: class CSkillAction_DamageWereRaptorForm : public CSkillAction_AnimalForm, public CSkillAction_Direction { public: + void sub_5A4760(int sourceActor, CGameActor* target); __declspec(noinline) void sub_5A4930(int level, CGameActor* source); __declspec(noinline) void sub_5A4B00(int level, CGameActor* source); void Slot16(int level, CGameActor* source, CGameActor* target) override; @@ -2016,6 +2017,18 @@ void CSkillAction_AT_FERAL_CLAW::Slot11(int level, CGameActor* source, CGameActo // GLOBAL: gl_25058 const float g_featherOffsets[3] = {0.0f, 0.1f, -0.1f}; +// OFFSET: 0x005A4760 +// FUNCTION: fn_03152 +void CSkillAction_DamageWereRaptorForm::sub_5A4760(int sourceActor, CGameActor* target) { + CGameActor* source = reinterpret_cast(sourceActor); + if (source && target) { + const std::uint8_t bytes[] = {0x46, 0x75, 0x73, 0x0C, 0x60, 0xAE, 0xAC, 0x1F, 0x17, 0x01}; + thread_local EncryptedName name(bytes); + const std::string effectName = name.Text(); + this->SpawnDirectionalEffect(source, target, effectName); + } +} + // OFFSET: 0x005A4930 // FUNCTION: fn_03153 void CSkillAction_DamageWereRaptorForm::sub_5A4930(int sourceActor, CGameActor* target) {