From 98f18d9f79c49aa22079e9f7a004821bb4fcab07 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 24 Oct 2026 14:50:53 +0000 Subject: [PATCH] Decompile fn_21063 (EffectActor::EffectVisible) Batch #99 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review. - fn_21063 EffectActor::EffectVisible: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/EffectActor.h | 1 + Source/Contents/EffectAttachments.cpp | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Source/Contents/EffectActor.h b/Source/Contents/EffectActor.h index 4a57c12f..42999b34 100644 --- a/Source/Contents/EffectActor.h +++ b/Source/Contents/EffectActor.h @@ -20,6 +20,7 @@ struct EffectActorState { // Recovered CAbleToMakeEffect lifecycle, not the larger CGameActor dispatcher. struct EffectActor : CRenderObject { EffectActor(ResourceMgr& resources, JobNames& names); + bool EffectVisible() const; EffectActorState state; }; diff --git a/Source/Contents/EffectAttachments.cpp b/Source/Contents/EffectAttachments.cpp index 0d8fc39c..c442d9f2 100644 --- a/Source/Contents/EffectAttachments.cpp +++ b/Source/Contents/EffectAttachments.cpp @@ -1,4 +1,5 @@ #include "Contents/EffectAttachments.h" +#include "Contents/EffectActor.h" #include "Contents/RagEffectState.h" // OFFSET: 0x00CADBE0 @@ -59,3 +60,8 @@ void EffectAttachments::DetachAll() { this->first = nullptr; this->second = nullptr; } + +// FUNCTION: fn_21063 +bool EffectActor::EffectVisible() const { + return this->render.visible != 0 && this->render.enabled != 0; +}