Decompile fn_24251 (CEffectMaker::CEffectMaker)

Batch #1563 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_24251 CEffectMaker::CEffectMaker: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/Contents/Effects/EffectMaker.cpp
This commit is contained in:
ragnarok-clanker 2026-10-28 19:10:23 +00:00
commit 6ffc82d2d0
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#include "Contents/Effects/EffectMaker.h"
// OFFSET: 0x00E4A2B0
// FUNCTION: fn_24251
CEffectMaker::CEffectMaker(ResourceMgr& resources, JobNames& names) : EffectActor(resources, names) {
this->unknown_0160 = -1;
this->unknown_015C = 360;
this->unknown_0158 = 360;
this->unknown_0164 = 0;
this->unknown_0168 = 0;
this->unknown_016C = 0;
this->unknown_0170 = 0;
}

View file

@ -0,0 +1,25 @@
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTMAKER_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTMAKER_H
#include "Contents/Effects/EffectActor.h"
#include <cstddef>
struct CEffectMaker : EffectActor {
CEffectMaker(ResourceMgr& resources, JobNames& names);
/* 0158 */ int unknown_0158;
/* 015C */ int unknown_015C;
/* 0160 */ int unknown_0160;
/* 0164 */ int unknown_0164;
/* 0168 */ int unknown_0168;
/* 016C */ int unknown_016C;
/* 0170 */ int unknown_0170;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CEffectMaker, unknown_0158) == 0x158);
static_assert(offsetof(CEffectMaker, unknown_0170) == 0x170);
#endif
#endif

View file

@ -295,6 +295,7 @@
"Source/Contents/Effects/EffectActor.cpp": 4,
"Source/Contents/Effects/EffectAttachments.cpp": 4,
"Source/Contents/Effects/EffectLists.cpp": 0,
"Source/Contents/Effects/EffectMaker.cpp": 4,
"Source/Contents/Effects/EffectParticle.cpp": 4,
"Source/Contents/Effects/EffectPrimitiveColor.cpp": 4,
"Source/Contents/Effects/EffectPrimitiveMotion.cpp": 4,